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.

Author
Message
the green scar
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 21st Sep 2006 02:38
I've tried to use some .x files that Dark Basic gives but they don't seem to work. The ones with textures with them are the only ones that show up. Do these others need textures? It seems like there are few useable files if I can't use these. I've tried them on the tank game and they don't come up.
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 21st Sep 2006 06:09
You have to have their texture/UV map in the same folder with the .x file for them to be textured .

Pirates of Port Royale
Live the life of a pirate.
the green scar
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 21st Sep 2006 17:52
There are three differet folders in the models section: animated, static, and textured. The static ones so not have bitmaps with them. Does this mean that they do not work?
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 21st Sep 2006 21:23 Edited at: 21st Sep 2006 21:29
Hello,

One thing to keep in mind, the models included tend to be scaled very small. Try scaling them up using the SCALE OBJECT command. The scale factor is in percentages so 200 would be 2 x the size where as 50 would be 1/2 the size. Just keep sizing them up until you see them.

As far as whether they work or not and how the texture relates, the non textured models work but they should contain a definition inside of them that is called Material. This is a color definition and can be applied to the whole mesh or individual faces. If there is a bitmap associated with the Material, it will be defined as a Texture. The Texture will override the color definition contained in the material - (but alpha blending can still be applied).

Here's an example of a Material definition:



This color is a sort of orangish in this example.

Here's a clip from the DBC manual:



Enjoy your day.
the green scar
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 27th Sep 2006 01:31
Thanks. Scaling the .x files up brings them into view.

Login to post a reply

Server time is: 2024-09-25 09:42:01
Your offset time is: 2024-09-25 09:42:01