Sign in to follow this  
tcige

why some edge of the rotating cube has color deviation

Recommended Posts

tcige    206
for example, the edge between face (0, 255, 0) and face (255, 0, 255) has clear color deviation

there is no color deviation if the cube is static

how can i do to remove the color deviation if the cube is rotating Edited by tcige

Share this post


Link to post
Share on other sites
Jason Z    6434

Can you post a screen shot to show what you are talking about?  It is hard to suggest anything, since we can't really see what the issue is!

Share this post


Link to post
Share on other sites
tcige    206

Can you post a screen shot to show what you are talking about?  It is hard to suggest anything, since we can't really see what the issue is!

 

i do not know how to get the screen shot because the cube is rotating, the color is correct when static

 

the code is simple, the rotating cube, one color on face, using fvf

Share this post


Link to post
Share on other sites
phil_t    8084

i do not know how to get the screen shot because the cube is rotating, the color is correct when static

 

Use PntScn, or the Snipping Tool.

 

If it looks fine in the screenshot, then there is nothing wrong and the "color deviation" is just some motion artifact with your monitor.

Share this post


Link to post
Share on other sites
VladR    722

Are you rotating the vertices using rotation matrix and the API (e.g. HW transformation) or are you doing it through CPU (SW transformation) ?

 

If it is the latter, you might want to double check if you are really duplicating all the colors/vertices in VB correctly.

Share this post


Link to post
Share on other sites
cdev1990    115

Can you post a screen shot to show what you are talking about?  It is hard to suggest anything, since we can't really see what the issue is!

 

i do not know how to get the screen shot because the cube is rotating, the color is correct when static

 

the code is simple, the rotating cube, one color on face, using fvf

You're going to have to show us some code or be more specific for us to help you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this