Jump to content

  • Log In with Google      Sign In   
  • Create Account


why some edge of the rotating cube has color deviation


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 tcige   Members   -  Reputation: 206

Like
0Likes
Like

Posted 18 April 2013 - 02:35 AM

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, 18 April 2013 - 02:50 AM.


Sponsor:

#2 Jason Z   Crossbones+   -  Reputation: 4699

Like
0Likes
Like

Posted 18 April 2013 - 06:13 AM

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!



#3 tcige   Members   -  Reputation: 206

Like
0Likes
Like

Posted 18 April 2013 - 07:13 AM

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



#4 phil_t   Crossbones+   -  Reputation: 3204

Like
0Likes
Like

Posted 18 April 2013 - 11:06 AM

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.



#5 VladR   Members   -  Reputation: 722

Like
0Likes
Like

Posted 19 April 2013 - 05:17 PM

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.


VladR    My 3rd person action RPG on GreenLight:    http://steamcommunity.com/sharedfiles/filedetails/?id=92951596

 


#6 cdev1990   Members   -  Reputation: 115

Like
0Likes
Like

Posted 20 April 2013 - 12:43 AM

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.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS