I tried to run the example from the tutorial "advanced geometry" in the users guide. With the IVF 0.6.6, the example with the TreeSet object did not work. Because the method CIvfTexture::load is no longer supportet, I used the following code:
CIvfSgiImage* image = new CIvfSgiImage("g:\\bmp\\strandkorb.rgb");
image->read();
CIvfTexture* texture = new CIvfTexture();
texture->setImage(image);
...
triSet->setTexture(texture);
But the TriSet Object stays yellow without texture. Can you help me?
Thanks
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to run the example from the tutorial "advanced geometry" in the users guide. With the IVF 0.6.6, the example with the TreeSet object did not work. Because the method CIvfTexture::load is no longer supportet, I used the following code:
CIvfSgiImage* image = new CIvfSgiImage("g:\\bmp\\strandkorb.rgb");
image->read();
CIvfTexture* texture = new CIvfTexture();
texture->setImage(image);
...
triSet->setTexture(texture);
But the TriSet Object stays yellow without texture. Can you help me?
Thanks
Thomas