[osg-users] RE : multitextureing coordinates
Peter Wraae Marino
osghelp at gmail.com
Wed Jul 9 22:43:28 PDT 2008
Hi Franclin,
Yea doing it using a shader is easier and more flexible, but is there a
reason why we don't get access to do multitexture coordinates?
Jasons suggestion: osg::Geometry::setTexCoordArray() is not for multitexture
coordinates, so I can't really use that.
regards,
Peter
On Thu, Jul 10, 2008 at 1:27 AM, Franclin Foping <fsfoping at yahoo.fr> wrote:
> Hi Peter,
> I have addressed this issue in my tutorial entitled "Tutorial 7:
> Texturing, multitexturing and positioning objects " (
> http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/Tuto7.zip
> ).
> For your information, please note that it is not possible to apply a
> multitexturing on built-in shape drawable objects as texture coordinates are
> not accessible to coders. The easiest way around this problem will be to use
> shaders. Again, I have achieved this in tutorial 14.
> All these tutorials are available in the official webpage in the Tutorial
> section. ''Yet Another Set of Beginner Tutorials'
> Hope to have answered your question.
> Regards,
> Franclin.
>
> *Peter Wraae Marino <osghelp at gmail.com>* a écrit :
>
> Hi users,
>
> I have create simple quad using osg::Geometry and I would like to apply
> multitextering to it.
> I'm missing a way to set "glMultiTexCoord" using OpenSceneGraph.
>
> Is there a way one can set glMultiTexCoord?
>
> regards,
> Peter
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> ------------------------------
> Envoyé avec Yahoo! Mail<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html>
> .
> Une boite mail plus intelligente.
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080710/77aa9374/attachment-0003.htm>
More information about the osg-users
mailing list