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
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
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
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
4 matches
Mail list logo