Hi Aitor, Do you want to render your geometry with both textures at the same time and using multi-texturing or have two different variants of your geometry, one with each texture?
Robert. On Thu, Oct 9, 2008 at 4:57 PM, Aitor Arrieta <[EMAIL PROTECTED]> wrote: > Hi all > > First of all, this is my first time writing here so sorry if I do something > wrong... > > Here is my question. I have an obj file, which I have exported from Poser. I > have modified this file in order to have only one geometry, that is, there > is only one osg::node. This new file works fine in my application and I can > see the figure with no problems. However, the problem comes when I try to > apply the original textures to this figure, because I have more than one > image files for the single osg::Node. > > As far as I know, there could be two different solutions for this problem: > > 1- Create a single texture combining all the textures I have and then apply > it to the node > 2- Apply a different texture to each vertex group > > For the first one, I have googled for some days and I am not able to find a > program which can do it. > For the second one, I know which vertex should be with any of the different > textures, but I do not know the way to do it from c++ using the osg > libraries. > > Can anyone please help me? I know that my explanation was not very good so > if you need further information just ask for it. > > Thank you very much in advance. > > Regards, > > Aitor > > _______________________________________________ > 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

