Hi Vincent,

How to map new tex coords to a model is really something that you need
to decide upon, be it by doing it in a modeller, or be computing them
yourself, or use a tex gen model.  I can't personally offer you any
advice on what to use, the best I can suggest is go learn about tex
coord generation is done for various different model types by trawling
the web, the OSG doesn't do anything special, it just passes data to
OpenGL so general texts should suffice.

Robert.

On Mon, Apr 21, 2008 at 4:02 PM, Vincent Bourdier
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> This is my new dilemma :
>
> I got a geode. It can be a sphere, a cube, or a more complex geometry...
> I made a texture, and I need to put it on the node, as a second texture.
>
> The dilemma is  : how to configure texture (coords, wrapping,
> texturecubemap, TextureRectangle, ...) to get a good result on any geode
> (not how to put it but how to configure it to get a good mapping) ?
>
> (on a geometry representing something similar as a cube,
> osg::TextureRectangle give some good results, but on a more complicated
> geode, it does not do something fine.)
>
> Thanks
>
>
> _______________________________________________
>  osg-users mailing list
>  [email protected]
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to