forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 2
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
bhouston
merged 199 commits into
bhouston:sceneAnimations
from
jackcaron:sceneAnimations
Sep 17, 2015
Merged
animations on the root #4
bhouston
merged 199 commits into
bhouston:sceneAnimations
from
jackcaron:sceneAnimations
Sep 17, 2015
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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).
Faster checkEdge function
Renderer: Fixed WebGLPrograms factorization.
Optional amendmend to mrdoob#7159 - removing .info.memory.programs.
Unittests for Cameras
Improve HemisphereLight illumination model
Unit-tests for BufferAttribute, Fixes for Camera tests
Conflicts: build/three.min.js
TransformControls: Add rotation snapping support
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.