Skip to content

Models look reversed #1288

Closed
lonelydatum opened this Issue Feb 9, 2012 · 10 comments

3 participants

@lonelydatum

Hello,

I'm finding that all my models are reversed. Here is an example:
http://meru.ca/demo-flash/webgl/1Object_2textures/

I'm trying to figure out if this is an issue with Cinema4D or my code.

Regards,
Gar

@mrdoob
Owner
mrdoob commented Feb 9, 2012

Did you write a exporter for Cinema4D?
Maybe Cinema4D is left handed? Three.js is right-handed.

@brez
brez commented Feb 10, 2012

C4D is a left-handed coordinate system

@mrdoob
Owner
mrdoob commented Feb 10, 2012

So, I guess that's both #1282 and this issue problem. How are you guys exporting from C4D?

@brez
brez commented Feb 10, 2012

Yea I thought I was compensating for that looking at it now, I'm not.. I upgraded an old script - let me fork and I'll add it to the existing exporters

@mrdoob
Owner
mrdoob commented Feb 10, 2012

You should basically invert the x of each vertex position.

@brez
brez commented Feb 10, 2012

Oh wait I did x,y,z, -> x,z,y - you're saying I should be doing -(x) ?

@mrdoob
Owner
mrdoob commented Feb 10, 2012
@brez
brez commented Feb 10, 2012

Thanks for the help on this - was driving me insane..

@mrdoob
Owner
mrdoob commented Feb 10, 2012

No probs. We've all been through that ;)

@mrdoob mrdoob closed this Feb 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.