Board index » delphi » "basic" .x 3d file loader in Delphi WITHOUT directx commands?

"basic" .x 3d file loader in Delphi WITHOUT directx commands?


2005-11-08 10:55:12 AM
delphi129
Hi all,
I wanted to find out if anyone has made a directx 3d ".x" file loader
using Delphi, but not using DirectX interface comands?
I wanted to make a simple loader using FreePascal so I can not use directX
commands to load and parse the file into my own format...
thanks in advance,
Cheers,
Paul.
"The plastic veneer of civilization is easily melted in the heat of the
moment" - Paul Nicholls.
XXXX@XXXXX.COM
Remove ".NOSPAM" to reply.
 
 

Re:"basic" .x 3d file loader in Delphi WITHOUT directx commands?

"Paul Nicholls" <XXXX@XXXXX.COM>writes
Quote
Hi all,
I wanted to find out if anyone has made a directx 3d ".x" file loader
using Delphi, but not using DirectX interface comands?

I wanted to make a simple loader using FreePascal so I can not use directX
commands to load and parse the file into my own format...

thanks in advance,
Cheers,
Paul.

Anyone have ANY info for me?
I think I know how to deal with loading vertices and faces, but I don't know
what bits mean what for materials like material indices, values, etc.
I can not find any info on the web about this :(
 

Re:"basic" .x 3d file loader in Delphi WITHOUT directx commands?

Quote
I think I know how to deal with loading vertices and faces, but I don't know
what bits mean what for materials like material indices, values, etc.
You could examine the DelphiX source code. Take a look at
turbo.gamedev.net/delphix.asp (or
www.yks.ne.jp/~hori/index-e.html which is the original Author's
home page, but it is from 2000). I have used it years ago and IIRC it can
read .x files, but of course I don't know how much of it is handled by
the DirectX API directly. www.wotsit.org/search.asp
might also be useful.
Jens
--
Jens Gruschel
www.pegtop.net
 

Re:"basic" .x 3d file loader in Delphi WITHOUT directx commands?

"Jens Gruschel" <XXXX@XXXXX.COM>writes
Quote
>I think I know how to deal with loading vertices and faces, but I don't
>know what bits mean what for materials like material indices, values,
>etc.

You could examine the DelphiX source code. Take a look at
turbo.gamedev.net/delphix.asp (or
www.yks.ne.jp/~hori/index-e.html which is the original Author's
home page, but it is from 2000). I have used it years ago and IIRC it can
read .x files, but of course I don't know how much of it is handled by the
DirectX API directly.
Thanks for the info :)
Quote
www.wotsit.org/search.asp might also be useful.

Interesting, I did try searching on wotsit previously but nothing turned
up!! I must have missed it somehow!
cheers,
Paul.