- 30 3月, 2011 1 次提交
-
-
由 Mr.doob 提交于
Reverting Camera.update as how it was before (as it turned out that wasn't the problem). This needs more testing.
-
- 29 3月, 2011 4 次提交
- 28 3月, 2011 7 次提交
-
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
This is to see if it helps with shader validation complains that recently started to pop up in Chrome ANGLE (but curiously not in Firefox ANGLE).
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
There is checkbox for choosing whether Blender should recalculate vertex normals or whether to use normals from the data. Using vertex normals from the data can in some cases lead to artefacts. This is probably caused by sharing of vertices across several faces (I didn't find a way how to specify vertex normals per face use of vertex; there is just API for setting normals to vertices). If you select "recalculate vertex normals" (default), this sets faces to use smooth shading, which upon subsequent mesh update computes correct vertex normals (but it will lose eventual smoothing groups baked in vertex normals).
-
由 alteredq 提交于
It doesn't have effect there anyway as scene is rendered to FBO without multisampling. Turning antialiasing off here didn't have much effect on performance though (unlike for particles).
-
- 27 3月, 2011 5 次提交
- 26 3月, 2011 7 次提交
-
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
No wonder there were premultiplied-alpha-looking issues. We were doing it ourselves :P
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
NormalBlending is a bit better. But it's now producing some premultiplied-alpha-looking issues still :/ Created a couple of tools for making this process less painful: http://mrdoob.com/lab/javascript/webgl/blending/blendfunc.html http://mrdoob.com/lab/javascript/webgl/blending/blendfuncseparate.html
-
由 alteredq 提交于
-
由 alteredq 提交于
Single quote property names and hex numbers are not valid in JSON.
-
由 alteredq 提交于
For some reason Chrome canary 12.0.713.0 doesn't have "window.WebGLRenderingContext".
-
- 25 3月, 2011 14 次提交
-
-
由 alteredq 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
Also fixed multimaterial ids list.
-
由 alteredq 提交于
-
由 Mr.doob 提交于
Also changed AdditiveBlending.
-
由 alteredq 提交于
-
由 alteredq 提交于
Work-in-progress. So close yet so far. Test scene almost works, just two things are not rotated properly (which means maybe everything will need to be reworked :(
-
由 alteredq 提交于
- model loader now handles "wireframe" parameter - scene light colors are now specified via hex numbers - scene format now includes additional parameter "urlBaseType" specifying where loader will look for included files: - options are "relativeToHTML" (look for files under HTML url http://example.com/mydemo/index.html) and "relativeToScene" (look for files under url from where scene was loaded http://example.com/assets/myscene/scene.js)
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
Simplified JSONLoader.
-
由 Mr.doob 提交于
Updated build script.
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
WebGLRenderer: Made material program sharing a bit simpler/efficient. API still not good for this, but works.
-
- 24 3月, 2011 2 次提交
-
-
由 Mikael Emtinger 提交于
-
由 Mikael Emtinger 提交于
-