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

GLTFExporter: Added TRS and onlyVisible options #11977

Merged
merged 4 commits into from
Aug 22, 2017

Conversation

fernandojsg
Copy link
Collaborator

Added two options to the exporter:

  • trs (Default: false): Export translation, rotation and scale instead of matrix.
  • onlyVisible (Default: true): Export only the nodes that are visible.

@@ -57,7 +57,12 @@ THREE.GLTFExporter.prototype = {
*/
parse: function ( input, onDone, options ) {

options = options || {};
var DEFAULT_OPTIONS = {
trs: false,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is trs implemented?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrdoob mrdoob merged commit 9ffe818 into mrdoob:dev Aug 22, 2017
@mrdoob
Copy link
Owner

mrdoob commented Aug 22, 2017

Thanks!

@fernandojsg fernandojsg deleted the exportVisible branch August 23, 2017 08:09
@fernandojsg fernandojsg restored the exportVisible branch August 23, 2017 19:26
@fernandojsg fernandojsg deleted the exportVisible branch August 23, 2017 19:33
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.

2 participants