RE: [Plib-devel] Double-sided material fix to 3DS loader for
Brought to you by:
sjbaker
From: Per L. <li...@ho...> - 2000-04-04 19:48:30
|
On Tue, 04 Apr 2000, Dave McClurg wrote: > in tux_example, if you load something without state then > you should get current color as last set by glColor since > lighting is disabled. current color is inconsistant because > it depends on the last call to glColor. > > if you have a simple test case that demonstrates the bug, > let's have it because we really need to nail this down. Just replace the tux model with the model 550.3ds supplied by Wolfram Kuss. Remove the ssgFlatten/ssgStripify (they somehow seem to break my models, not sure why). If you load the pedestal, the 550 model turns all white (no shading), without the pedestal it looks nice (many colours, shaded). I don't say this has to do with GL_COLOR_MATERIAL, I just don't really have a clue what the cause might be?! Anyway, in this case, it doesn't have to do with states not being defined - the loader creates states and works (at least under some conditions :-) Perhaps I have forgotten to enable/disable something that has an ok default setting, but is changed by the pedestal model? -- / Per Liedman / li...@ho... / www.mdstud.chalmers.se/~md6pl / 031-825659 / 0705-520455 |