Hi,
I 'm having trouble mapping a texture2d to a quad. The texture looks correct
when the quad is rectangle/square shaped, but incorrect when it is trapezoid
shaped.
I'm using the following code to create the geometry:
http://pastebin.com/m47ba3f47
How can i fix it so that the texture looks
...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Can Hosgor
Sent: Friday, May 22, 2009 8:21 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] texture mapping to trapezoid
Hi,
I 'm having trouble mapping a texture2d to a quad. The texture
Hi Shayne,
Thank you for the quick response :)
A screen shot of quad is available here:
http://img36.imageshack.us/img36/5741/problem2009052217560820.jpg
I left my texture attributes as default. Also didn't change anything at a
parent stateset (in other words, i gave the node returned by
, 2009 9:04 AM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] texture mapping to trapezoid
Hi Shayne,
Thank you for the quick response :)
A screen shot of quad is available here:
http://img36.imageshack.us/img36/5741/problem2009052217560820.jpg
I left my texture attributes
] texture mapping to trapezoid
Hi Shayne,
Thank you for the quick response :)
A screen shot of quad is available here:
http://img36.imageshack.us/img36/5741/problem2009052217560820.jpg
I left my texture attributes as default. Also didn't change anything at a
parent stateset (in other words, i
5 matches
Mail list logo