Re: [osg-users] Texture wrapping for a geometry object

2009-11-23 Thread Dominic Stalder
Hi Robert thanks a lot, I got it from this mailing list message: http://www.mail-archive.com/osg-us...@openscenegraph.net/msg11209.html I will try the texture coordinates scaling. But just for interesting, how would the texture matrix work, do you have some basic code snippet? Regards

Re: [osg-users] Texture wrapping for a geometry object

2009-11-23 Thread Ulrich Hertlein
On 23/11/09 10:09 AM, Dominic Stalder wrote: I will try the texture coordinates scaling. But just for interesting, how would the texture matrix work, do you have some basic code snippet? osg::TexMat provides a matrix and any texture coordinates you specify will be multiplied by that. The

Re: [osg-users] Texture wrapping for a geometry object

2009-11-23 Thread Dominic Stalder
Hi everybody thanks for the help. It's really that easy, but I didn't see the hint ;-) Sorry for that. Now I just set the value of the geometry width instead just 1.0. Cheers, Dominic -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20132#20132

Re: [osg-users] Texture wrapping for a geometry object

2009-11-22 Thread Robert Osfield
Hi Dominc, I don't know where you might have got the impression that you can't set up texture repeats with geometry - you just using texture coordinates beyond the 0.0 to 1.0 range and you'll get repeats. Another way is to use a texture matrix to up the tex coords from 0.0 to 1.0 range to what