Adam Johnson
5c4f167a29
Port better alpha blending from PyPRP
9 years ago
Adam Johnson
4a7f0eaea9
Expose kAlphaTestHigh for halos
9 years ago
Joseph Davies
d8e69fa09b
Fix typo in exception name so error reporting doesn't throw an error.
9 years ago
Adam Johnson
a36c922dce
Implement environment map Vis Regions
9 years ago
Adam Johnson
c57407573a
Implement VisRegions
9 years ago
Adam Johnson
d814d4343a
More lamp powah
10 years ago
Adam Johnson
2e07858ea8
Don't create lights for meshes O.o
10 years ago
Adam Johnson
08eaf47aec
Fix self-parenting child CoordinateInterfaces
10 years ago
Adam Johnson
dfc1b687ab
Don't unconditionally add DynTextMaps
...
They could be referenced in logic nodes, creating a race condition
10 years ago
Adam Johnson
209c65a95b
Actually use UV maps as specified
10 years ago
Adam Johnson
a24a14f090
Actually add DynTextMaps to the layer
...
I swear, one day...
10 years ago
Adam Johnson
338860cadf
Improve DynTextMap generation
10 years ago
Adam Johnson
cb00e75fd4
Don't post process objects with no SceneObject
10 years ago
Adam Johnson
644b22ecfd
Toss modifier display names
...
These would be copied along with entire objects, potentially resulting in
duplicate key names. Better to just toss the whole thing...
10 years ago
Adam Johnson
d27630f501
Delay manipulating the selection
...
We may not be baking anything, so this can be a collosal waste of time.
Observed speedups of several seconds in some ages.
10 years ago
Adam Johnson
314b2fc0d6
Separate out the image packing logic for optimization
10 years ago
Adam Johnson
2d7d58ee39
Move the slow part of alpha testing into korlib
10 years ago
Adam Johnson
d48fd9527f
Begin moving slow things into korlib
...
Korlib will have two components: a python implementation in Korman and a
C++ "_korlib" module that will be insanely fast. Users will apreciate it,
and devs will be glad they don't have to compile the C version.
10 years ago
Adam Johnson
8113be8da6
Remove utils.vector3
...
It's better use the built-in tuple unpacking
10 years ago
Adam Johnson
5baca5c493
WaveSet environment maps
10 years ago
Adam Johnson
73390e523f
Initial bits of waveset7 support
...
NOTE: this current exports a waveset, but it is impoperly colored. We
still need to export the environment map.
10 years ago
Adam Johnson
c32e1e6e45
Don't use the name of a temp object in an error
10 years ago
Adam Johnson
6dcab85c1d
Allow Advanced Logic to reference specific Nodes
...
This allows us to ensure that a given NodeTree is only ever exported once.
A node reference acts as a way to attach a plMultiModifier to a
plSceneObject without using those terms. Things will work just fine if the
node reference isn't used, so as long as the entire tree is only used
once.
Future work: ensuring the whole logic tree is only ever exported once.
10 years ago
Adam Johnson
4eaf2f5acc
Fix bug with exporting objects with mesh modifiers
10 years ago
Adam Johnson
953012de38
Fix a race condition in ExportManager.add_object
...
Bad things would happen if you tried to access a modifier before its
owning SceneObject was created... Whoops!
10 years ago
Adam Johnson
ca47e8569a
Fix clickables warping to origin in PotS
10 years ago
Adam Johnson
a3716a8c35
Fix CoordinateInterface race conditions
...
To ensure that there are really, really, REALLY no race conditions related
to coordinate interfaces, we now run through all modifiers before we
export and ask them if they need to make Coordinate Interfaces. I was
hearing some comments about clickables warping around. This sounds like
physical coordinate issues to me...
10 years ago
Adam Johnson
ca470a3e12
Fix traceback with shared DCMs
10 years ago
Adam Johnson
b255902b9e
Only apply mass = 1 to animated physicals
10 years ago
Adam Johnson
9a620fb2db
Physicals shouldn't have a mass of 0
10 years ago
Adam Johnson
a99728c241
Allow configuration of environment map colors
10 years ago
Adam Johnson
cf4d4c2c82
Fix issues with env maps and opacity
10 years ago
Adam Johnson
e7827e0c52
Don't truncate matrix44 controllers
10 years ago
Adam Johnson
62bf783990
Opacity animations require alpha blending
10 years ago
Adam Johnson
ec01efd8d8
Don't export empty matrix44 controllers
10 years ago
Adam Johnson
cc755bf072
Fix tracebacks where ImageTexture.image is None
10 years ago
Adam Johnson
aaf1395bb4
Fix bug in opacity anim cleverness
...
Just remove the cleverness anyway. That was kind of dense IMO.
10 years ago
Adam Johnson
916a621765
Add more find/create helpers
10 years ago
Adam Johnson
69c967f85f
Export layer transforms
10 years ago
Adam Johnson
47d67997b4
Implement layer transform animation
10 years ago
Adam Johnson
e14ac4f903
Implement layer opacity animations
10 years ago
Adam Johnson
b34308198b
Don't put outdated crap into non-scalar keyframes
10 years ago
Adam Johnson
ac00ed24f9
Fix typo preventing environment maps exporting
10 years ago
Adam Johnson
094c784dd2
Add last-chance export pass
...
This allows us to inspect our objects just before we blast them out,
preventing race conditions. Implement physical animations as an example.
10 years ago
Adam Johnson
a838d82c00
Move texture page setting to World panel
...
This makes sense because the pages to export checkboxes are here. The
export modal should be sort of a "last-chance" settings thing... not
actual core settings.
10 years ago
Adam Johnson
4ad72c879b
Nuke aggressive bezier squelching
10 years ago
Adam Johnson
4a8e0722f9
Implement scale animation controllers
10 years ago
Adam Johnson
0ceca75f0d
Be smarter about animation subcontrols
...
Plasma assumes that any non-root level plCompoundController cannot have
any null subcontrollers. So, we now attempt to export leaf controllers
where possible, instead of compounds. This is hindered by the fact that
Blender loves bezier interpolation.
10 years ago
Adam Johnson
5b5577f6f5
Implement rudimentary object animation
10 years ago
Joseph Davies
a208ee21d3
Add Plasma layer options panel to Texture context.
...
- Add an opacity value for exported layer.
- Add a conversion button in the toolbar for old PyPRP Ages
which used the diffuse color factor as the opacity value.
10 years ago