Recent

Author Topic: OBJ file type loader  (Read 7483 times)

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
OBJ file type loader
« on: February 08, 2017, 02:59:27 pm »
Hi,

Has anybody implemented a OBJ (like what Blender and other programs can export) file type loader in Object Pascal? The OBJ format seems pretty simple and straightforward, so shouldn't be difficult to parse and load for OpenGL usage, but if somebody has already done the work (and willing to share it), it will save me an hour or two.  ;)

Cheers,
  G.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Handoko

  • Hero Member
  • *****
  • Posts: 5154
  • My goal: build my own game engine using Lazarus
Re: OBJ file type loader
« Reply #1 on: February 08, 2017, 03:02:45 pm »
Castle Game Engine support obj files import. You may want to have a look about it:

http://castle-engine.sourceforge.net/features.php

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: OBJ file type loader
« Reply #2 on: February 08, 2017, 05:56:01 pm »
There's also glModel, which is a dedicated model-loading library (written in Delphi, but it supports FPC)

https://github.com/mvdhoning/glmodel

ChrisR

  • Full Member
  • ***
  • Posts: 247
Re: OBJ file type loader
« Reply #3 on: March 24, 2017, 10:55:18 pm »

 

TinyPortal © 2005-2018