From: Keith Parkins (kparkins++at++cs.rochester.edu)
Date: 01/11/2001 11:06:48
Marcin,
I turned of the enable texture bit on the objects and that fixed the
problem. I will try adding a GeoState to the channel and see if that works
later. We are still having the other problem which is that some inventor
files don't seem to be loading correctly. The apple.iv file loads but the
apple is gray, while ivview shows it as red. The banana.iv file, however,
does come out yellow within perfly.
This final problem occurs with our program and with the perfly program.
Thanks again for helping figure out the texture map problem. Do you still
want me to send you the suspect inventor file with texture map?
Keith
On Thu, 11 Jan 2001, Marcin Romaszewicz wrote:
>
> Before you do that, please send me one of these suspect files. I'll see if
> I can get anywhere with that.
>
> Since it's the textures causing the other objects color to flash, I'm
> guessing that the texture enable bit is being left enabled when the other
> objects in the scene are drawn. As a test, could you put a pfGeoState on
> your channel which disables textures and if that does not work, modify
> your object creation routine to explicitly disable texture on each of your
> objects?
>
> -- Marcin
>
> On Thu, 11 Jan 2001, Keith Parkins wrote:
>
> > Marcin,
> >
> > Upon further investigation, we determined that the invemtor files were not
> > necessarily causing the color change effect. It seems that the textures
> > associated with the inventor files were causing the problem. As soon as we
> > removed the textures from the inventor files, the problem went away. We
> > converted the inventor file to a performer file using the perfly -w *.pfb
> > command and tried loading it that way. With the texture, we encountered
> > the same problem. We are using simple rgb and bw textures. If this
> > doesn't spark any epiphanies with you, I can hack up the code I sent into
> > one file with a function that you can call before the main loop to set up
> > the scene graph.
> >
> > Thanks again!
> > Keith
Keith Parkins U of R Computer Science
kparkins++at++cs.rochester.edu Computer Science Building, Room 606
(716)275-1118
This archive was generated by hypermail 2b29 : Thu Jan 11 2001 - 11:07:21 PST