Pcjoko / saitoobjloader

Automatically exported from code.google.com/p/saitoobjloader
0 stars 0 forks source link

objloader breaks fill color #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. Run the sketch, and look at the 3 rectangles that are supposed to be all 3 
red.   

What is the expected output? What do you see instead?
fill is white for everything that i draw after the drawing the model.
Stroke still works.

What version of the product are you using? On what operating system?
processing 1.5.1 on windows and mac.

Please provide any additional information below.
Model is exported from softimage 2013.

If you disable Ks 1.000000 1.000000 1.000000 in the material file then the 
problem is gone.
You can comment m_sea.draw(); to see that the problem is really related to 
objloader.

Original issue reported on code.google.com by clankil...@gmail.com on 29 Oct 2012 at 10:57

Attachments:

GoogleCodeExporter commented 8 years ago
update, if you disable Ks 1.000000 1.000000 1.000000 then the problem is note 
gone but the color comes a litle bit back.

Original comment by clankil...@gmail.com on 29 Oct 2012 at 11:16

GoogleCodeExporter commented 8 years ago
I know this post is two years old but I've just had this issue. You can fix 
this problem by not using the lights() function. It changes the lighting of 
your models but all the colours in your scene are returned to normal.

Original comment by lukesimm...@gmail.com on 25 Dec 2014 at 10:28