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

GLTFLoader: Implement KHR_draco_mesh_compression. #6

Closed
wants to merge 161 commits into from

Conversation

donmccurdy
Copy link
Owner

/cc @fanzhanggoogle @pjcozzi Expected three.js changes for KHR_draco_mesh_compression. Note this depends on google/draco#315.

ADRG1T and others added 2 commits October 14, 2017 21:55
In my case for example I have a listener to the mousedown event. In this listener I check for the current set axis. But of course it is ```null``` because it is set just after the event was triggered.
So my suggestion is to set the axis and AFTERWARDS trigger the event.
@pjcozzi
Copy link

pjcozzi commented Jan 5, 2018

Nice, thanks for the ping @donmccurdy!

cnspaha and others added 7 commits January 26, 2018 08:58
Simple case: 
1. Load GLTF File with Specular-Glosiness-Material so the ```refreshUnfiorms``` function is being set ```mesh.onBeforeRender = extensions[ EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS ].refreshUniforms;``` 
2. Use an override material for the scene to render, for example use the SAOPass.
3. Get error because u try to work with uniforms of a material which doesn't have any

Suggestion:
Simple check if the material has the property ```isGLTFSpecularGlossinessMaterial``` and it is true. Because the ```refreshUniforms``` function is only set if it is true.
Matrix4 - description for matrix and matrixWorld items in  mrdoob#13183
WebVR.js: Automatically enter VR on vrdisplayactivate event.
Update google-closure-compiler
Matrix4 - fix documentation on matrix and matrixWorld
Mugen87 and others added 21 commits February 7, 2018 17:06
webgl_materials_envmaps: Remove unused variable
Examples: Add demo for indexed BufferGeometry
* Updated DRACOLoader
* Changed to request attribute only by unique id
* Added support for skinning
* Added more sample models
@donmccurdy donmccurdy closed this Jul 17, 2018
@donmccurdy donmccurdy deleted the feat-gltf-draco-extension-v4 branch July 17, 2018 18:01
donmccurdy pushed a commit that referenced this pull request Apr 20, 2019
donmccurdy pushed a commit that referenced this pull request Sep 2, 2021
…terial (mrdoob#16912)

* Add feature to LineMaterial to support toggling screen-space line width

* Change lines parameter

* remove magic number scaling

* change if to use mix function

* build jsm

* rename variable to size attenuation, use defines

* Add perspective attenuation with width in world units

* Update comments

* Add jsm build

* revert statement position

* Change sizeAttenuation to worldUnits

* Fix endcaps not being perpendicular to line direction

* Update js examples version

* Make line look like a capsule (#6)

* update js file

* Update comments

* Add a tighter containment for capsule

* update module

* small adjustment
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.

None yet