15 Commits
Author SHA1 Message Date
alteredq 0dfb751e6d Added missing "formatVersion" in max exporter (thanks to @rogercodina). 2011-12-05 12:54:37 +01:00
alteredq e30107c8fe Removed workers from Max exporter. 2011-10-31 17:52:06 +01:00
alteredq bafa6ec100 Added worker closing to JSON template in 3ds max exporter. 2011-07-29 16:29:36 +02:00
alteredq f1a91c9fd5 Fixed bug in max exporter.
Vertex color parameter was undefined for dummy materials.
2011-03-26 20:49:52 +01:00
alteredq 812c6dff96 For some reason last commit didn't update everything. 2011-03-26 06:38:21 +01:00
alteredq bc8570fbe0 Fixed subtle tricky bug in JSONLoader.
This was messing models with mixed uv/non-uv faces.

Also bumped up version number for max exporter.
2011-03-23 06:29:31 +01:00
alteredq a069bbf966 Updated max exporter to use new JSON model format.
(also fixed vertex colors to use proper per-face-vertex colors)
2011-03-22 08:30:12 +01:00
alteredq 715f8c4f6e Max exporter can now export vertex colors. 2011-03-10 23:03:08 +01:00
alteredq 40bbe28c40 Fixed OBJ converter to handle edge case where MTL file has more materials than corresponding OBJ file.
Also half-baked broken vertex colors in Max exporter managed to sneak in this commit.
2011-03-10 13:20:16 +01:00
alteredq 4ae13ca087 Updated max exporter to handle also messed up multimaterials. 2011-03-09 23:41:03 +01:00
alteredq 13ccc02a8a Refactored shader and uniform snippets out of WebGLRenderer into WebGLShaders. 2011-03-09 21:44:11 +01:00
alteredq 91795a3510 Updated Max exporter.
Made face flipping heuristics optional, it messes up scenes that are ok.

For scenes that after exporting have objects with flipped normals, original assets can be fixed in Max in a following way:

1. find out problematic objects in Max
  1. select all objects
  2. set View -> xView to show "Face Orientation"
  3. select all object that are fully/mostly green
  4. in Utilities apply Reset XForm to selected objects (this will show messed normals also in Max, otherwise they are hidden)

2. fix problematic objects
  1. apply Normals => flipNormals modifier to selected object
2011-03-07 04:47:22 +01:00
alteredq 6151624e3a Max exporter now exports multiple selected objects.
Unfortunately with larger scenes with many different types of objects face flipping heuristics doesn't work all the time :(
2011-03-07 00:28:42 +01:00
alteredq 129fddfd57 Fixed flipped normals workaround in max exporter.
Hope so. At least now hacked face normals correspond to face normals computed from scratch in Geometry.

(If only max didn't have zillion ways how to achieve the same visual results :/. I tracked this flipped normals/faces business down to XForm modifier - it doesn't get collapsed properly when making TriMesh / Editable_mesh snapshots. At least Editable_mesh snapshot differs in way that is exploitable for workaround hack.)
2011-03-06 22:56:36 +01:00
alteredq a8b5c55d1c First very rough version of 3ds max exporter.
Very much work-in-progress. So far it exports only single selected object, if there are more in selection, it'll just break apart.
2011-03-05 08:47:34 +01:00