tejus

Members
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

100 Neutral

About tejus

  • Rank
    Newbie
  1. Simple OBJ loader

    [quote name='Starfox' timestamp='1207855351' post='490300'] something that'll simply hand me back pure arrays: position, indices, normals, etc; nothing too complex or tied to any API. Any recommendations? [/quote] Is this what you are looking for? http://www.gamedev.net/topic/346232-any-good-obj-loaders-out-there-for-opengl/ screen shots: [img]http://2.bp.blogspot.com/-3zE0iDTz9Rg/Td1EoiSMhMI/AAAAAAAAAbw/Cdrv5ZpayQM/s400/objload2.png[/img] [img]http://2.bp.blogspot.com/-tYetAhqr3CM/Td1FHjbA2qI/AAAAAAAAAb4/IiSmhKfPI1I/s400/objload3.png[/img] you can directly download the source code and explanation is available here: [url="www.objinopengl.blogspot.com"]www.objinopengl.blogspot.com[/url]
  2. Hi here is a code I wrote. There is also a ready made c program which is fully executable. The program can load any .obj file but is limited to reading only the vertices. I have tried many .obj like cars, elephants, buildings etc. It loads nicely. Maybe you can improve the program and keep us updated. [url="http://www.objinopengl.blogspot.com"] www.objinopengl.blogspot.com[/url] Here are screen shots. You can download the source code from the above site. [img]http://2.bp.blogspot.com/-3zE0iDTz9Rg/Td1EoiSMhMI/AAAAAAAAAbw/Cdrv5ZpayQM/s400/objload2.png[/img] [img]http://2.bp.blogspot.com/-tYetAhqr3CM/Td1FHjbA2qI/AAAAAAAAAb4/IiSmhKfPI1I/s400/objload3.png[/img] And this is also my first post here.