Re: [osg-users] Using different textures for the same geometry

2008-10-10 Thread Tomlinson, Gordon
PROTECTED] On Behalf Of GMD GammerMaxyandex.ru Sent: Friday, October 10, 2008 6:53 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Using different textures for the same geometry Shaders... Hi Robert, Thank you very much for your reply. I have a single geometry and I want

Re: [osg-users] Using different textures for the same geometry

2008-10-10 Thread Robert Osfield
Hi Aitor, The most efficient way to render such a character is to use a texture atlas and have the texcoords on the geometry pick out the appropriate parts of the character. A decent modelling problem should be able to do the texture atalas/geometry generation for you. Doing it as a post

Re: [osg-users] Using different textures for the same geometry

2008-10-10 Thread GMD GammerMaxyandex.ru
Shaders... Hi Robert, Thank you very much for your reply. I have a single geometry and I want to apply different textures for it. That is, imagine a figure of a woman which is a single geometry. However, I have a texture for the head, another one for the body, another one for the

Re: [osg-users] Using different textures for the same geometry

2008-10-10 Thread Aitor Arrieta
Hi Robert, Thank you very much for your reply. I have a single geometry and I want to apply different textures for it. That is, imagine a figure of a woman which is a single geometry. However, I have a texture for the head, another one for the body, another one for the shirt, etc... Do you

Re: [osg-users] Using different textures for the same geometry

2008-10-10 Thread Aitor Arrieta
Hi Paul Thank you very much for your reply. I think it will be easier to take the solution #2. For our application, the only restriction we have is that we must use a single vertex array. But if you say that this is possible to do even when using different geometries, I will investigate more

[osg-users] Using different textures for the same geometry

2008-10-09 Thread Aitor Arrieta
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

Re: [osg-users] Using different textures for the same geometry

2008-10-09 Thread Robert Osfield
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

Re: [osg-users] Using different textures for the same geometry

2008-10-09 Thread Paul Martz
that helps. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aitor Arrieta Sent: Thursday, October 09, 2008 9:57 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Using different textures for the same geometry Hi all First of all, this is my first time