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

createShape(GROUP) + textured child + non-textured child = P3D render problems #4176

Closed
mkmori opened this Issue Nov 29, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@mkmori

mkmori commented Nov 29, 2015

P3D: When texture is applied to one child in a PShape group, a second, non-textured child does not render as expected, (i.e., fill() does not work: In my case, depending on fill() values, it renders black, very dark...or a shade of one of the texture colors...?!)

Child shapes render as expected when drawn separately. (Issue disqualified for "Workaround too easy"???) Stroke color renders as expected either way.

Uv's are provided for the textured child and not for the non-textured child. Providing uv's for the non-textured child faces seems to help render a very dark version of something corresponding to the expected fill() value....

Winding is CCW for both child shapes; child shapes are of type TRIANGLES; textureMode(IMAGE); order of addChild() does not seem to matter; default lights; etc.

FWIW!

Processing 3.0.1, Win10

@codeanticode codeanticode added the opengl label Dec 8, 2015

@codeanticode codeanticode self-assigned this Dec 8, 2015

@codeanticode

This comment has been minimized.

Show comment
Hide comment
@codeanticode

codeanticode Dec 9, 2015

Member

I'm able to reproduce this issue, and currently working on it. Thanks for letting us know!

Member

codeanticode commented Dec 9, 2015

I'm able to reproduce this issue, and currently working on it. Thanks for letting us know!

@codeanticode

This comment has been minimized.

Show comment
Hide comment
@codeanticode

codeanticode Dec 9, 2015

Member

Fixed with 7e0a1d6 !

Member

codeanticode commented Dec 9, 2015

Fixed with 7e0a1d6 !

@mkmori

This comment has been minimized.

Show comment
Hide comment
@mkmori

mkmori commented Dec 15, 2015

Cool!

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