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

Respect the up axis setting #20

Open
Herst opened this issue Jul 7, 2014 · 3 comments
Open

Respect the up axis setting #20

Herst opened this issue Jul 7, 2014 · 3 comments

Comments

@Herst
Copy link

Herst commented Jul 7, 2014

Sadly many exporters like the OpenCollada one fpr 3ds Max (the built-in doesn't work for other reasons for me) don't offer any setting for this.

So just like the original Collada loader a setting should be offered. Currently, the up_axis setting is currently being ignored, I don't know what the official three.js stance is but I would guess that the norm should be that the y axis is always up just like everywhere in real-time graphics so should this feature be implemented than the flipping should be done automatically depending on this setting.

@Herst
Copy link
Author

Herst commented Jul 8, 2014

I personally took now a totally different route and I am converting to the JSON format now. Conversion using https://github.com/mrdoob/three.js/tree/master/utils/converters/fbx works well, just like exporting from Blender using the three.js plugin (there a flipping flipping setting is offered).

@Herst Herst changed the title setting for flipping YZ would be great RFE: setting for flipping YZ Jul 8, 2014
@crobi
Copy link
Contributor

crobi commented Jul 8, 2014

Generally, I'm not a fan of doing any configurable preprocessing - if the modeling application can do some operation (in this case, rotate the scene), then there doesn't need to be a setting for it in the loader. In this case however, I think it would make sense to respect the up_axis as defined in the COLLADA file.

That being said, this loader is currently not maintained, so don't expect this being implemented any time soon.

@crobi crobi changed the title RFE: setting for flipping YZ Respect the up axis setting Jul 8, 2014
@Herst
Copy link
Author

Herst commented Jul 9, 2014

Yeah, I read about this and I also agree what you wrote in the three.js bug tracker; Collada should be especially avoided for three.js unless there are no alternatives.

(Sadly, from what I've seen it seems to be only format from which 3dsMax can export while retaining the names and then being usable in three.js [I need that for meta data since one can forget about userData even more].)

Still thanks for this loader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants