Best method of adding textures to models in DP

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
JasonX
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Best method of adding textures to models in DP

Post by JasonX »

I found that there are many ways of adding textures to my models in DarkPlaces, but i wanted to know which is the best method. Using Quake 3 shaders to point to the correct textures? Or just saving the textures with the model name + bump, diffuse, etc?
leileilol
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Best method of adding textures to models in DP

Post by leileilol »

Using a .skin file's also a good idea to point to textures instead of using .shader
i should not be here
toneddu2000
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: Best method of adding textures to models in DP

Post by toneddu2000 »

can you please add some link to a .skin tutorial? I didn't find so much explanation

thanks leilei
Meadow Fun!! - my first commercial game, made with FTEQW game engine
leileilol
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Best method of adding textures to models in DP

Post by leileilol »

This a .skin

Code: Select all

surfacename,path/to/your/texture.tga
surfacealso,path/to/that/texture.jpg
i should not be here
JasonX
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Re: Best method of adding textures to models in DP

Post by JasonX »

Does skin support other maps (bump, specular, etc)?
toneddu2000
Posts: 1395
Joined: Tue Feb 24, 2009 4:39 pm
Location: Italy

Re: Best method of adding textures to models in DP

Post by toneddu2000 »

Is that all?
It's very simple. I thought it was much more complicated!
thanks leilei

PS: with surfacename do you mean? name of the model? Geometry name of the model(for example a blah.iqm model file contains two geometry pieces with each piece named "sword" and "barrel")?
Meadow Fun!! - my first commercial game, made with FTEQW game engine
Post Reply