4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-13 18:17:38 -04:00
Commit Graph

1056 Commits

Author SHA1 Message Date
c21b90f83c Nuke old "autocolor" layers
Old autocolor layers appear to cause some very terrible problems during
export for some reason...
2015-06-23 16:05:59 -04:00
7e281616a9 Remove try...except from mesh conversion
This creates annoying "during the handling of the above exception"
messages in tracebacks that make things needlessly harder to debug
2015-06-23 15:32:23 -04:00
0bdc4cbaae Merge remote-tracking branch 'hoikas/envmaps' 2015-06-22 21:25:41 -04:00
476fb84b0d We're not actually going to support CEMs
After discussion in #writers IRC and observing how Blender's image
environment maps work, it makes more sense to rely on our superior
implementation of dynamic maps.
2015-06-22 21:24:41 -04:00
fc9407a332 Export dynamic environment maps
This means we now export BOTH plDyanmicEnvMap and plDynamicCamMap. The
latter will only be exported on MOUL+, sadly. The former is "cube" mapping
and the latter is "plane" mapping. Instead of manually specifying the
refresh rate, I decided that Blender's "static" option means that it only
refreshes once (and never again) and animated means we refresh every 0.01
second, which seems to be the Cyan standard for "update every frame, blast
it!" NOTE: when cameras are exporting, we need to support Camera based
DCMs.

Static image based CEMs coming soon...
2015-06-22 21:24:40 -04:00
290408847c Ensure alpha textures have transparency 2015-06-22 19:16:54 -04:00
91190926ce Enable material diffuse and specular panels 2015-06-22 18:31:50 -04:00
52741745c7 Merge pull request #7 from Hoikas/installer
NSIS Installer for Windows
2015-06-21 22:30:15 -04:00
17ef3498ad NSIS Installer for Windows 2015-06-21 18:53:12 -04:00
6c179cdaec Fix UnsupportedTextureError 2015-06-20 18:12:26 -04:00
d55d643efe Merge pull request #6 from Deledrius/marker
Add Maintainer's Marker mod.
2015-06-20 18:00:24 -04:00
73886e92da Add Maintainer's Marker mod. 2015-06-20 14:52:09 -07:00
cf9f5d33ef Fix idiot errors in RT Light exporter 2015-06-19 15:16:08 -04:00
eb323b30c3 Implement kBlendAlpha flag (and BlendSpans) 2015-06-18 19:40:39 -04:00
cd74bf6d27 Fix exporting objects with multiple materials
Previously, it appeared visually that only one material was applied to the
mesh. Appearances can be deceiving. We were actually exporting all
materials and such correctly. However, because we were using a dyanmic
type with class attributes to store per-material data... All materials
shared all data. So, all materials rendered all vertices. You saw visually
the one last material rendered. Fun, eh?
2015-06-18 14:08:06 -04:00
e5915d18c3 Allow the user to export only certain pages
This is done using the new checkboxes on the page list under the World
panel. Seemed like the best way to do it within our format. Perhaps the
rest of the exporter options should move to that panel at some point.
2015-06-15 19:54:21 -04:00
34672b9f19 Implement proper uncompressed textures (for LMs) 2015-06-15 17:43:14 -04:00
cce4533a25 Fix sharp lightmap edges
See this thread for more information:
http://forum.guildofwriters.org/viewtopic.php?f=7&t=6088
2015-06-15 16:53:03 -04:00
6318c3c40c Fix even more "no valid image" baking bugs... 2015-06-14 19:18:25 -04:00
dd0a60c5d1 Implement .sum files for non-MOUL Plasma versions 2015-06-14 17:18:09 -04:00
df59d613a6 Attempt #2 at addressing light group accumulation 2015-06-13 22:43:02 -04:00
7ab11ffa4f Revert "Remove user Lamps from autobake lightgroups"
This reverts commit 3f2a3928d1. A more
elegant solution is needed in light of user specified light map light
groups...
2015-06-13 22:39:27 -04:00
9626b22409 Allow user to specify a light group for light maps 2015-06-13 22:35:34 -04:00
3f2a3928d1 Remove user Lamps from autobake lightgroups 2015-06-13 22:07:26 -04:00
837c7f6693 Implement SDL exclude/volatile states 2015-06-13 21:22:16 -04:00
d303faced6 Fix many "no valid images found to bake to" bugs 2015-06-13 16:41:42 -04:00
d6664e25ae Better light operator settings 2015-06-13 16:14:38 -04:00
48b09e97c2 Partially revert physical tweak 2015-06-13 16:08:35 -04:00
bd6e21a22e Don't screw with the user's context... 2015-06-13 15:58:43 -04:00
7c96745555 Tweaks for physical exporting
- Applying scale to *all* objects in the scene is now a pre-export step.
- Make sure we always export the physical's coordinates--this matches
  Plasma's behavior.
2015-06-13 15:54:22 -04:00
4ae31de59d Don't export auto vertex light if there is an LM 2015-06-13 13:09:19 -04:00
dcf0b4840c More robust mipmap fix 2015-06-13 12:35:58 -04:00
92e2eddff6 Fix for lightmaps not being exoprted 2015-06-13 12:34:02 -04:00
63752d7882 Don't generate 1x1 mip levels due to bug in Plasma
Cyan calculates the level sizes wrongly such that a 1x1 DXT5 mip level
only has one block for alpha and therefore lacks the color block. This can
cause Blender to crash with an access violation.
2015-06-12 21:18:41 -04:00
b68a2a930a A few more layer flags... 2015-06-12 17:03:47 -04:00
54259c455f Register Plasma Modifiers in a more orthodox way.. 2015-06-11 22:35:07 -04:00
41b53a9c31 Merge remote-tracking branch 'hoikas/logic-nodes' 2015-06-11 22:31:56 -04:00
89dd050110 Add "Advanced Logic" Modifier
This modifier allows us to manually construct a Plasma logic node tree and
have it export.
2015-06-11 19:47:37 -04:00
af2229ec64 Expose some useful ResponderModifier flags 2015-06-11 19:47:37 -04:00
1b5b229a33 Export Region Sensors 2015-06-11 19:47:36 -04:00
53b1b66258 Responder nodes now export themselves!
Please note this does not address logic triggers or region sensors. Those
will be added in a future commit.
2015-06-11 19:47:36 -04:00
b9381e078e Replace RespStateList crazy with a nicer solution
Many thanks to Deledrius for pointing out an example of this hackery in
Blender's node groups!
2015-06-11 19:47:35 -04:00
4ecf262c61 Footstep Region Modifier: Logic Node test case
This commit adds a footstep region modifier that exports nothing at the
moment. This is just a test case for logic node generation. If you want to
bake footstep regions into logic nodes, select an object and execute
`bpy.ops.object.plasma_logicwiz()`. :)
2015-06-11 19:47:35 -04:00
5192be428e Begin work on Logic Nodes UI 2015-06-11 19:47:35 -04:00
2ae0c5f7f8 MAJICK: Save the export properties... 2015-06-11 19:46:56 -04:00
f2d4485515 Fix potential issue with export log creation 2015-06-11 18:54:36 -04:00
3dede084b5 Bump to Blender 2.74 because I can... 2015-06-07 16:45:53 -04:00
fdfd939640 Export lamps as RT lights :D
This includes changes to the light baking code to ensure that we don't
bake runtime lights. This code has several places it could be optimized in
the future when we have larger ages to test against.
2015-06-07 12:58:43 -04:00
8bb8683f7c Implement crappy vertex color light baking...
This should make the average age look a little bit better. I hope... If
you want to get rid of this crappy lighting, create a vertex color layer.
Or, better yet, add a stupid lightmap modifier!
2015-06-06 21:15:44 -04:00
65d1d71416 Rudimentary Lightmap Baking
Still lots of considerations:
- Need to make faux lightgroups to avoid baking Plasma RT lights
- Still need to bake vertex colors
- Still need to export Plasma RT lights (D'oh!)

But, this is definitely a step in the right direction!
2015-06-06 00:57:03 -04:00