Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / load 3ds with two textures

Author
Message
helpme
19
Years of Service
User Offline
Joined: 28th Jan 2006
Location:
Posted: 29th May 2006 21:29
I have a 3ds model of a person. It has two textures: the head has one texture and the body has another. I loaded the object and the two bmp textures in darkbasic. When I texture the object with one of the images, the whole object is painted with that image. How can I only texture a part of an object?
Dark Eternity
20
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 29th May 2006 21:32
well if the object is prebuilt to load up the two textures then you dont need to texture it

only dark basic pro TRUELY supports multi texturing


hope that helps

Till then,

DarkEternity

I am DarkEternity (DE for short) OWNER OF ANIRE!!!
We are looking for a coder, modelers etc
helpme
19
Years of Service
User Offline
Joined: 28th Jan 2006
Location:
Posted: 29th May 2006 21:38
It is prebuilt with textures, but for some reason darkbasic loads it without them. I'm saving it as a 3ds model in Milkshape 3D. Do 3ds models save without textures? I guess I'll try .x

thank you.
Dark Eternity
20
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 29th May 2006 22:05
.x is miles better beause it is known as a "mesh"

I am DarkEternity (DE for short) OWNER OF ANIRE!!!
We are looking for a coder, modelers etc
Lukas W
21
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 30th May 2006 09:10
if you have 1 texture for the head, and one texture for the body, like you said, you can simply load both images, then use "texture object limb obj, limb, image".

if you have UV mapped the model, the limb will automatically find it's place in the texture file.

my forum - where everyone is an admin
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 30th May 2006 18:49
3DS files are saved with the texture. All you have to do is put the texture in the same folder as your program, and model. Then just Load Object "Head.3ds", Load Object "Body.3DS"

Dark Eternity
20
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 30th May 2006 21:51
but why would you want the same object to be split into two when you could just load it and the textures are linked to it?

I am DarkEternity (DE for short) OWNER OF ANIRE!!!
We are looking for a coder, modelers etc
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 30th May 2006 22:16
I suppose to turn the head to look around. Could be a limb, but still works this way.

Dark Eternity
20
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 30th May 2006 22:41
yeah true... but couldn't you rag doll or animate it?

I am DarkEternity (DE for short) OWNER OF ANIRE!!!
We are looking for a coder, modelers etc

Login to post a reply

Server time is: 2025-05-25 01:37:35
Your offset time is: 2025-05-25 01:37:35