Horde3D
http://horde3d.org/forums/

multiple textured objects?
http://horde3d.org/forums/viewtopic.php?f=1&t=602
Page 1 of 1

Author:  ulao [ 08.01.2009, 07:07 ]
Post subject:  multiple textured objects?

I tried to put a few textures on my model and noticed the entire model is using the same texture. Must we bake all textures as one, like DX files?

Author:  AcidFaucet [ 08.01.2009, 08:00 ]
Post subject:  Re: multiple textured objects?

Can you explain in a bit more detail? Did you add multiple textures in your DCC app, in the material XML, where? If you did it in the material then you'd have to modify the shader accordingly.

Author:  PuG [ 08.01.2009, 09:29 ]
Post subject:  Re: multiple textured objects?

do you mean your trying to stack textures, or have a number of tiling texture on the one model? for latter you will need to define a new surface for each area the specific tiling texture is to applied (though it can still be on the same UV channel) - for stacking you will need to modify the shaders, and define which TexCords. to be used. (e.g. 2,3).

Author:  ulao [ 08.01.2009, 18:49 ]
Post subject:  Re: multiple textured objects?

Wow I had no idea that was to complicated LOL, thx for the help though guys..

Ok, I have a figure with separated parts. Arms, legs, head etc..

I use materials in maya to model with but I cant export them so I have no choice to texture it all. I figure since I have to do that why not put in some detail. Well If I texture all of my parts with separate texture files only one texture is chosen in horde edit, and all of my figure is that texture. I'm thinking I have to bake all of my textures to one like the X format.. It is not easy to do that in maya with multiple materials. So I'm hoping not.


PuG, I think its the later but you lost me with some terminology. I'm guessing stacking is what I'm doing. So a gather the conversion to geo is loosing the texture coordinates and I have to replying them? I thought that would come out of the export as it so explicitly says it does in the options.

So baking may be the best option then?

Author:  Volker [ 08.01.2009, 19:27 ]
Post subject:  Re: multiple textured objects?

I'm not so familiar with the modelling tools, but I thought, that every different texture will result in a separate submesh node and material file during the conversion process from Collada to Horde3D. So normally it shouldn't be a problem to use a model with several textures on it,... but I'm not really certain concerning my statement, although I looked into the ColladaConverter just one day ago :-)

Author:  ulao [ 08.01.2009, 23:31 ]
Post subject:  Re: multiple textured objects?

Ya I would have thought so to. Collada supports multiple textures so a amused the convert would. But if its as complicated as what Pug said I would consider that a no.

Author:  PuG [ 09.01.2009, 09:54 ]
Post subject:  Re: multiple textured objects?

from your first topic you where suggesting you wanted to apply more than one texture on the model :) otherwise just UV unwrap and texture accordingly - however if you say want the torso, arms, legs in one 512 x 512 image, and the head in a second then you will need to define the surfaces accordingly in Maya.

Author:  ulao [ 10.01.2009, 01:31 ]
Post subject:  Re: multiple textured objects?

I think the only thing I have learned in this thread, is that I have no idea what I'm try to say LOL..

I would much appreciate anyone that has the patience to help.


Quote:
from your first topic you where suggesting you wanted to apply more than one texture on the model :)
- So did I ?

Quote:
otherwise just UV unwrap and texture accordingly
- I'm pretty sure wrapping is just repeating the texture, no? If no, then that is not what i want.


Quote:
- however if you say want the torso, arms, legs in one 512 x 512 image, and the head in a second then you will need to define the surfaces accordingly in Maya.
- this sounds like ehat I'm doing. But you lost me on
Quote:
define the surfaces accordingly in Maya
. I know what a materiel is, and I know what a texture is, so whats a surfaces ? I have about 25 materials each with there own texture. All I want is to get that in to the editor.. The editor does not know where to put each texture.. It is using only one.


Thx for your help, PuG..

Author:  PuG [ 10.01.2009, 10:08 ]
Post subject:  Re: multiple textured objects?

Quote:
I know what a materiel is, and I know what a texture is, so whats a surfaces ? I have about 25 materials each with there own texture. All I want is to get that in to the editor.. The editor does not know where to put each texture.. It is using only one.


A surface is a grouping of defined polygons with a material attribute applied. At the moment you have 25 materials, and 25 textures, its unlikely their all within one material using say 25 UV coordinates, so you must have defined polygons accordingly to the texture you want tiled..

Unwrapping normally means taking you mesh and unfolding it to be displayed on a 2d area, e.g. U & V coordinates.

Horde will load your model with 25 textures without a problem assuming their in individual materials.

Your going to have to figure it out yourself , test it with some simple cubes first to get a better understanding of the pipeline. Apply a few textures and see what happens.

Author:  ulao [ 10.01.2009, 22:51 ]
Post subject:  Re: multiple textured objects?

That is good enough for me, as long as I know its my fault and not the editor. If it supports it i'll get it to work, thx.


Oh wait, how does the uv type ( plainer, box, cylinder etc... ) get pass over? Does Horde use only one type?

Author:  ulao [ 13.01.2009, 03:08 ]
Post subject:  Re: multiple textured objects?

Holly crap.....I dont believe what I'm seeing.. That was impressive. I just imported my new fully textured model with all kinds of mappings and they are there.. Like magic. Amazing.

Horde team.. amazing job, and PuG thx for your help.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/