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

Mirror inverts geometry #438

Closed
Fabrice3D opened this issue Nov 21, 2012 · 5 comments
Closed

Mirror inverts geometry #438

Fabrice3D opened this issue Nov 21, 2012 · 5 comments
Assignees
Labels

Comments

@Fabrice3D
Copy link
Member

var mirror:Mirror = new Mirror(true, true);
mirror.apply(someMesh, Mirror.X_AXIS, Mirror.MIN_BOUND);

this combo leads to an inverted mesh for the mirrored part

@ghost ghost assigned richardolsson Nov 21, 2012
@richardolsson
Copy link
Member

What do you mean by inverted? The shape, the normals, or the winding (and hence backface culling of triangles)?

@Fabrice3D
Copy link
Member Author

The equivalent to mesh.scaleX = -1;

@richardolsson
Copy link
Member

So, just the shape then? How is that not the intended behavior of Mirror, i.e. to mirror the geometry along the X axis? Can you explain what kind of behavior you expect, and maybe provide screenshots of what you expect and what you see instead?

@Fabrice3D
Copy link
Member Author

http://www.closier.nl/picts/mirrorerror2.jpg

left:right
right:wrong

@richardolsson
Copy link
Member

Ok, so not the shape then, but the face winding. Thanks for clarifying.

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

No branches or pull requests

3 participants