Recent

Author Topic: 3D model format parsing?  (Read 5726 times)

Laphicet

  • New member
  • *
  • Posts: 9
3D model format parsing?
« on: April 22, 2018, 12:44:38 pm »
I was wondering if the FCL provides a subpackage for 3D file format parsing, similar to what fcl-sound and fcl-image are? If not, I was hoping to code something like "fcl-3d" and possibly adapt some of the Assimp API for it. I would use its Delphi bindings, but Assimp isn't extendable post-compilation. I was hoping for units like, say, FPObjReader or something.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: 3D model format parsing?
« Reply #1 on: April 22, 2018, 12:58:13 pm »
I was wondering if the FCL provides a subpackage for 3D file format parsing, similar to what fcl-sound and fcl-image are? If not, I was hoping to code something like "fcl-3d" and possibly adapt some of the Assimp API for it. I would use its Delphi bindings, but Assimp isn't extendable post-compilation. I was hoping for units like, say, FPObjReader or something.
Not that I know, but there are 3d libraries writen in pascal that support various 3d formats one of them might help you on the top of my head there are 2 libraries
1) castle game engine which even provides an viewer you can try.
2)glscene which also has a viewer as an example for a number of formats.

Those might give you a good starting point.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

 

TinyPortal © 2005-2018