Hi Stephan,

I tried this and i didn't seem to make a difference. Does this work for you if you use:
%osgdistortion --dome cow.osg

Because this seems to be the only time i see problem..

Kind Regards,
Martin

On 12 Jun 2007, at 17:55, Stephan Maximilian Huber wrote:

martin.lavery schrieb:
Hi all,

I have been coming across a problem with using cub mapping. When using the cube under MacOS 10.4.9 we seem to the see the edges of the cube map, i have attached a screen shot showing the problem.
I added CLAMP_TO_EDGE in my own code and the cube maps worked on OSX and windows for me.

_cubetex->setWrap(osg::Texture::WRAP_S, osg::Texture::CLAMP_TO_EDGE);
_cubetex->setWrap(osg::Texture::WRAP_T, osg::Texture::CLAMP_TO_EDGE);
_cubetex->setWrap(osg::Texture::WRAP_R, osg::Texture::CLAMP_TO_EDGE);

perhaps that's the reason for your problem

HTH,
Stephan
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to