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.

Dark GDK / Question about dbSaveMesh

Author
Message
lesPaul456
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location:
Posted: 3rd Jan 2010 03:45 Edited at: 3rd Jan 2010 03:46
I just have a quick question about dbSaveMesh. I was trying to convert a DBO file to a X file by loading it, making a mesh from it, and then saving it as a X file.

When I tried this, though, no file was created.

Here's my code:



Any ideas? Thanks!
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 6th Jan 2010 20:14
In the dbSaveMesh command, give the dbo extension to the file name (test.dbo instead of test.x) and then it works. I don't know if the file format is correct DirectX format or not, but at least it saves a readable text file for you with the mesh data.
lesPaul456
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location:
Posted: 6th Jan 2010 20:39
Thanks, that did it.

It's weird, because the output is in the X format, just has the wrong extension.

Any way, thanks again for the help!

Login to post a reply

Server time is: 2024-10-01 20:17:56
Your offset time is: 2024-10-01 20:17:56