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
hmm
21
Years of Service
User Offline
Joined: 11th Oct 2003
Location:
Posted: 14th Aug 2004 02:40
Is it possible to export an object from DBPro to a textured/coloured .X/.3DS file? Wouls it require a special plugin? Is one available?

...just curious.

coincidence? how about pure cosmic convergence!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Aug 2004 02:48
It's quite simple to create a .X file from an object, although you do lose limb data and maybe animation data too - I've not experimented with that part.

MAKE MESH FROM OBJECT 1,1
SAVE MESH "Filename.x", 1

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
hmm
21
Years of Service
User Offline
Joined: 11th Oct 2003
Location:
Posted: 14th Aug 2004 03:25
But don't you lose texture/color with the save mesh command?

coincidence? how about pure cosmic convergence!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Aug 2004 03:54
That depends ...

I've used this method to rescale X objects before - if the original model contains a reference to a texture, then that reference is kept.

I've never tested to see what happens to any textures that you add using code within your program.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 14th Aug 2004 05:26
Something to remember, .X has a plain text format. In theory, you can write anything that .X supports using simple file IO. It just may not be as easy as you expect it to be since you have to learn about templates and such.
--
TAZ

"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1
The Real 87
21
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 14th Aug 2004 16:15
So in theory you could make a 3D model editing program out of DB?

Check out my RPG at
www.stickz.tk
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 14th Aug 2004 18:19
x binary however is one more step to prevent people adjusting your models.

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 14th Aug 2004 18:45
the x file comes in 3 flavours
1 - text
2 - binary
3 - binary compressed

and you can tell what it is by looking at the first line


Used to be Phoenix Insane : PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1
zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 15th Aug 2004 03:49
rogue the camper, yes, you can make an X editor/modeller out of DBP. You'd have to study the format, but you can get the info on that by downloading the DirectX SDK from Microsoft for free.

Binary is also possible since you can write memblocks, but for game dev purposes I think that would be overkill. If you need compression and better security, just use ZIP or some other archive format for your models.
--
TAZ

"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1
hmm
21
Years of Service
User Offline
Joined: 11th Oct 2003
Location:
Posted: 17th Aug 2004 02:45
Yeah, I've been just playing around with the plain text version. Now able to edit some stuff using notepad. Thanks for all your responses.

coincidence? how about pure cosmic convergence!

Login to post a reply

Server time is: 2025-06-04 17:59:03
Your offset time is: 2025-06-04 17:59:03