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.

3 Dimensional Chat / exporting objects to x with internel textures

Author
Message
The thing
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location: Somewhere in the U.K
Posted: 30th Aug 2004 06:22
I need help exporting objects to direct x with internel textures.

C.M.M
zircher
23
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 31st Aug 2004 02:49
I need more information.

What format/program are you exporting from?

The .X format does not use internal textures. You define materials and can specify what image files to use. These image files can be absolute or relative paths. Relative is prefered, since the user can install the game just about anywhere, that's why you see most .X files and their texture images in the same directory.

When loaded into DB, the parser will automatically load the specified images in with the model and assign them.

Example of a white, full alpha material that uses an image:

--
TAZ

"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1
The thing
22
Years of Service
User Offline
Joined: 22nd Jan 2004
Location: Somewhere in the U.K
Posted: 31st Aug 2004 19:44
I am planing to make a terrain program when the new terrain commands are realised. I am going to make the terrain into an object with the new command set and export the terrain to x with a texture path.

I don't know much about exporting to 3d formats.
However I could export the terrain to a greyscale heightmap. but it would not be as good.

C.M.M
zircher
23
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 2nd Sep 2004 05:22
Download the DirectX SDK and read up on the .X format. You can use simple IO commands to write the file to disk once you know the format.
--
TAZ

"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1

Login to post a reply

Server time is: 2026-07-07 02:38:01
Your offset time is: 2026-07-07 02:38:01