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.

Newcomers DBPro Corner / matrix to .x... how?

Author
Message
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 28th Mar 2005 04:14
in dbc, is there any way to save a matrix to a .x file? if there is, how?

thanks in advance
Baggers
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Yonder over dem dere hills
Posted: 28th Mar 2005 11:00
Yes, you would save the data into a memblock and then create mesh from the memblock, and finaly save the mesh.
Its a little to late at night for me to start on memblock code though, but im sure someone in a different time zone will help !
Cloggy
19
Years of Service
User Offline
Joined: 31st Oct 2004
Location: Rayleigh, Essex
Posted: 30th Mar 2005 08:14
Here is a function to create a mesh from a matrix. Doesn't texture it though.

The mwidth#,mheight#,mxseg and mzseg should be the same as your make matrix command.



Cheers,

Cloggy
BN2 Productions
20
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Mar 2005 09:03
how do you save the mesh? I thought that you could only do it with DBPro. I have DBC

Login to post a reply

Server time is: 2024-09-23 17:19:06
Your offset time is: 2024-09-23 17:19:06