Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

animations on the root #4

Merged
merged 199 commits into from
Sep 17, 2015
Merged

animations on the root #4

merged 199 commits into from
Sep 17, 2015

Conversation

jackcaron
Copy link

No description provided.

qwertzui11 and others added 30 commits June 29, 2015 19:46
Mesh.js raycast method is updated to calculate intersection point in uv
coordinates. The calculus is done in the new inner method
textureIntersection and added to the object returned as the uv property.

Texture.js has a new public method, transformUv, that convert the
coordinates from uv (range 0 to 1) to the real texture coordinates. The
input parameter is modified on output. Useful to have the intersection
point in texture coordinates.

There is no example in this commit because I only have example with
canvas, no with plain image.
Add a new variable to avoid instantiation of a Vector3 in each call to
THREE.Triangle.barycoordFromPoint().

Defer calculus after the near plane / far plane test. Need to do a copy
of intersectionPoint due to the applyMatrix4.

Test with a PlaneBufferGeometry and a BoxGeometry. Didn’t test with
indexed BufferGeometry (don’t have any in my program) but I’m quite
comfortable the uvA, uvB and uvC are the right one in that case.
The page tests the 3 intersection calculus possible.
The cube as a normal geometry, the plane a buffered geometry and the
circle a buffered geometry with index.
The example web page now allows the change of different properties of
the circle's texture:
- wrapS
- wrapT
- offset
- repeat

The change on the js files are only formatting ones (mrdoobapproves)
The web page code is organized as most of the other example web pages.
No more French.
Power-of-two warnings checked.
Default for the circle is now RepeatWrapping.
implemented serialization for THREE.LOD
@qwertzui11 do you mind double-check that I didn't break it?
DDSLoader: Verify all faces of cubemap
This one uses a double hash, though the second hash is just a list that is linearly scanned as it is expected to be very small (there are not many edges per vertex).
mrdoob and others added 27 commits September 15, 2015 23:35
Renderer: Fixed WebGLPrograms factorization.
Optional amendmend to mrdoob#7159 - removing .info.memory.programs.
Improve HemisphereLight illumination model
Unit-tests for BufferAttribute, Fixes for Camera tests
TransformControls: Add rotation snapping support
bhouston added a commit that referenced this pull request Sep 17, 2015
@bhouston bhouston merged commit aa6bf74 into bhouston:sceneAnimations Sep 17, 2015
bhouston added a commit that referenced this pull request Jul 12, 2017
Add InstanceScalarSize to base three.js as well as math.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.