- 09 4月, 2011 1 次提交
-
-
由 alteredq 提交于
Added remembering of Blender exporter settings between sessions. Also fixed Blender exporter crashing on scenes without world. Settings are remembered in JSON file "threejs_settings_export.js" stored in Blender's temp folder. It should survive restart of Blender.
-
- 08 4月, 2011 10 次提交
-
-
由 Mr.doob 提交于
Stencil and Sprite examples now using RequestAnimationFrame.
-
由 Mikael Emtinger 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 alteredq 提交于
Added handling of mesh colliders to scene loader. Changed Blender scene exporter to make mesh colliders invisible.
-
由 alteredq 提交于
-
由 alteredq 提交于
This makes lens flares work with postprocessing. Had to change lines color example to use clearAlpha = 1 to get back bloom.
-
由 Mikael Emtinger 提交于
-
由 Mikael Emtinger 提交于
-
由 Mikael Emtinger 提交于
Removed pink square method from lens flares in opengl (no partial screen occlusion)
-
- 07 4月, 2011 5 次提交
-
-
由 Mikael Emtinger 提交于
-
由 Mikael Emtinger 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
Problem was having too many concurrent workers opened at once. Garbage collection apparently works very slowly on workers. Solution was to close them manually, after model data is sent to main thread. Also some progress with Blender scene exporter. Some scenes now export correctly, though monkey test scene got worse, even with less hacky code.
-
由 Mr.doob 提交于
- Fixed TorusKnot face orientation. - Added UVs to Cylinder (Cylindrical Mapping) - Fixed Lathe UVs There is something wrong with texture mapping, u needs to be inverted all the time. Something to researching on.
-
- 06 4月, 2011 9 次提交
-
-
-
由 Mikael Emtinger 提交于
-
由 alteredq 提交于
-
由 Mikael Emtinger 提交于
-
由 alteredq 提交于
-
-
由 Mikael Emtinger 提交于
Rewrote lens flares to not use readPixels. There are different solutions based on availablity of vertex textures. If available, occlusion calculation is more exact and handles partial occlusion on screen edges. If not available, occlusion calculation is less exact (because it's made on each fragment so it has to be fast) and partial occlusion by screen edge is not possible (same reason). It's not possible for the lens flare to update on visibility any more, only its screen position. Potentially, we could add offset+factor for opacity/scale/rotation that is dependent on visibility in shader. Or just custom shaders. Anyway, it's way faster than readPixels :)
-
由 alteredq 提交于
Mainly trying to avoid creation of new object per frame and also some variable names clarifications and whitespace cleanups. Not finished yet.
-
由 alteredq 提交于
-
- 05 4月, 2011 11 次提交
-
-
由 alteredq 提交于
MarchingCubes.generateGeometry got forgotten when refactoring vertex normals.
-
由 alteredq 提交于
Also some whitespace and titles cleanup.
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 Bartek Drozdz 提交于
-
由 alteredq 提交于
Terrain still needs to reexport Blender model in new JSON format.
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
If you want to get edges, run converter like with "-e" flag: python convert_obj_three.py -i model.obj -o model.js -e Output seems to match Blender exporter.
-
由 alteredq 提交于
There is a new class Edge which stores vertices and faces for edge (I wasn't sure if indices or references would be better, so at least for the moment it contains both). Geometry now contains a list of such edges, created in JSONLoader, based on edge data exported from Blender. From Blender we get a list of vertex index pairs, from which in Geometry.computeEdgeFaces() we compute faces which share this particular edge and store them in the Edge object. Not sure if edges work properly till we don't have something using them. For now I just checked cube data exported from Blender and it seems fine. Also did some whitespace cleanup here and there.
-
由 Bartek Drozdz 提交于
-
- 04 4月, 2011 4 次提交