Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

why some edge of the rotating cube has color deviation

4: Adsense

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   

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.


#2 Jason Z   Members   

6430
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   

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   Members   

8001
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   

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   

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.