Adam Johnson
deb80dfd17
Add render layer selection to lightmap modifier
9 years ago
Adam Johnson
17c26ac3f4
Lightmap/Autocolor garbage collection
9 years ago
Adam Johnson
2b3656af39
Refactor lighting code to limit bake_image calls
9 years ago
Adam Johnson
55566c908a
Convert os.path usage to pathlib. ++code_quality
...
This closes #26
9 years ago
Adam Johnson
9e66db01a0
Flip the flopped images
...
Export all images right-side up. OpenGL flips them because fail, so we
have to do a bit of work to correct that. Thankfully, this operation is
not as slow as I thought.
NOTE TO SELF: remember, texture page updating would be nice to have...
9 years ago
Adam Johnson
9cbb9b791a
kBlendAlpha is illegal with kBlendAlphaMult and kBlendAlphaAdd
9 years ago
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
9 years ago
Adam Johnson
2e07858ea8
Don't create lights for meshes O.o
9 years ago
Adam Johnson
08eaf47aec
Fix self-parenting child CoordinateInterfaces
9 years ago
Adam Johnson
dfc1b687ab
Don't unconditionally add DynTextMaps
...
They could be referenced in logic nodes, creating a race condition
9 years ago
Adam Johnson
209c65a95b
Actually use UV maps as specified
9 years ago
Adam Johnson
a24a14f090
Actually add DynTextMaps to the layer
...
I swear, one day...
9 years ago
Adam Johnson
338860cadf
Improve DynTextMap generation
9 years ago
Adam Johnson
cb00e75fd4
Don't post process objects with no SceneObject
9 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...
9 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.
9 years ago
Adam Johnson
314b2fc0d6
Separate out the image packing logic for optimization
9 years ago
Adam Johnson
2d7d58ee39
Move the slow part of alpha testing into korlib
9 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.
9 years ago
Adam Johnson
8113be8da6
Remove utils.vector3
...
It's better use the built-in tuple unpacking
9 years ago
Adam Johnson
5baca5c493
WaveSet environment maps
9 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.
9 years ago
Adam Johnson
c32e1e6e45
Don't use the name of a temp object in an error
9 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.
9 years ago
Adam Johnson
4eaf2f5acc
Fix bug with exporting objects with mesh modifiers
9 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!
9 years ago
Adam Johnson
ca47e8569a
Fix clickables warping to origin in PotS
9 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...
9 years ago
Adam Johnson
ca470a3e12
Fix traceback with shared DCMs
9 years ago
Adam Johnson
b255902b9e
Only apply mass = 1 to animated physicals
9 years ago
Adam Johnson
9a620fb2db
Physicals shouldn't have a mass of 0
9 years ago
Adam Johnson
a99728c241
Allow configuration of environment map colors
9 years ago
Adam Johnson
cf4d4c2c82
Fix issues with env maps and opacity
9 years ago
Adam Johnson
e7827e0c52
Don't truncate matrix44 controllers
9 years ago
Adam Johnson
62bf783990
Opacity animations require alpha blending
9 years ago
Adam Johnson
ec01efd8d8
Don't export empty matrix44 controllers
9 years ago
Adam Johnson
cc755bf072
Fix tracebacks where ImageTexture.image is None
9 years ago
Adam Johnson
aaf1395bb4
Fix bug in opacity anim cleverness
...
Just remove the cleverness anyway. That was kind of dense IMO.
9 years ago
Adam Johnson
916a621765
Add more find/create helpers
9 years ago
Adam Johnson
69c967f85f
Export layer transforms
9 years ago
Adam Johnson
47d67997b4
Implement layer transform animation
9 years ago
Adam Johnson
e14ac4f903
Implement layer opacity animations
9 years ago
Adam Johnson
b34308198b
Don't put outdated crap into non-scalar keyframes
9 years ago
Adam Johnson
ac00ed24f9
Fix typo preventing environment maps exporting
9 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.
9 years ago