- 15 3月, 2011 4 次提交
- 14 3月, 2011 2 次提交
-
-
由 alteredq 提交于
To be used like this: python convert_obj_threejs_slim.py -i model.obj -m morph*.obj -o model.js Morph filename strings can contain wildcards "*,?,[]". For including morphs from multiple folders, use quotes and separate filename patterns by space: python convert_obj_threejs_slim.py -i model.obj -m "folderA/morphA*.obj folderB/morphB*.obj ..." -o model.js
-
由 alteredq 提交于
PathCamera automatically follows path passing through waypoints (interpolated via Catmull-Rom spline). View angles can be constrained and controlled by mouse. Work in progress, there are still some issued to be solved (constant movement speed, broken automatic update, broken frustum culling).
-
- 13 3月, 2011 2 次提交
-
-
由 alteredq 提交于
Gah, that was painful. Obvious solution with object.lookAt doesn't work, forward facing direction (heading and attitude) is fine, but banking gets messed up:( Tried many fixes, none worked, so I just resorted to simple rotation around Y-axis based on direction vector.
-
由 alteredq 提交于
Spline control points shouldn't be cycled, this produces freaky behaviors near start and end of path. Instead they have to be capped. Also did some refactoring.
-
- 11 3月, 2011 5 次提交
- 10 3月, 2011 4 次提交
-
-
由 alteredq 提交于
It's now possible to create fog with zero density (which makes sense if you want to build shader with fog support, but not yet use fog, in contrast to not having fog in scene at all).
-
由 alteredq 提交于
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.
-
由 alteredq 提交于
-
由 alteredq 提交于
-
- 09 3月, 2011 8 次提交
-
-
由 alteredq 提交于
These are stored in "material.map.sourceFile".
-
由 alteredq 提交于
Also for the moment reverted autoupdate of canvas based textures. This breaks things and proper fix seems to require more efforts :(
-
由 alteredq 提交于
That's about maximum size of point primitives ANGLE can handle, at least on my ATI card :( It seems this max size can be GPU specific: http://www.pouet.net/topic.php?which=6092&page=1
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 alteredq 提交于
Particle size attenuation still need some work to fix differences between ANGLE and OpenGL.
-
由 Mr.doob 提交于
Texture sets needsUpdate to true for <canvas> elements by default (webgl_objconvert_test.html seems to be randomly affected by this).
-
由 alteredq 提交于
Also updated GUI-DAT (didn't help with recent Chrome compositing bugs, though this is Chrome Windows issue), added FileAPI to Detector and fixed aspect ratio bug in WebGLRenderer.
-
- 08 3月, 2011 5 次提交
-
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mikael Emtinger 提交于
-
由 Mikael Emtinger 提交于
Updated so all times now are in MS instead of seconds. Note that all animations need to be re-exported with an exporter that supports this.
-
-
- 07 3月, 2011 10 次提交
-
-
由 alteredq 提交于
Thanks to empaempa for spotting this ;)
-
由 Mikael Emtinger 提交于
-
由 Mikael Emtinger 提交于
-
由 alteredq 提交于
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
-
由 alteredq 提交于
If no object is passed to initMaterials (for example, if material is pre-built while loading, or shader program is intended for sharing), max limit of 50 bones is used (should be enough to leave space for other uniforms not to hit ANGLE limits).
-
由 alteredq 提交于
Unfortunately with larger scenes with many different types of objects face flipping heuristics doesn't work all the time :(
-
由 alteredq 提交于
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.)
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
-