You are not logged in or registered. Please login or register to use the full functionality of this board...
SIGN IN Join Our Community For FREE


OpenGL OBJ Loader
08-27-2017, 06:57 AM (This post was last modified: 08-30-2017 05:52 AM by KingAshish.)
Post: #1
 (Print Post)
Rainbow OpenGL OBJ Loader
Hi Everyone!  Smile
I've created a program which loads/render OBJ files.
Download the package from the  attachment, run the code and enjoy.
There are many models in the models folder. So try them all out! Big Grin

Features -
1. Supports multiple object in single file.
2. Supports material files (.mtl) to give more realistic look to object.
3. Transparency is also allowed to objects
4. You can simple drag the model file to the executable and it will load for you.
5. Now, OBJ loader supports command-line arguments.
Syntax -
obj_loader [model_file_name] [optional_texture_image_file_name]


You can also see the screenshot.

I hope, you all will enjoy it. Smile

Download OBJ Loader


Attached File(s) Image(s)
   
Find all posts by this user
Like Post
08-29-2017, 12:30 PM (This post was last modified: 08-30-2017 04:57 AM by KingAshish.)
Post: #2
 (Print Post)
RE: OpenGL OBJ Loader
Hello Everyone! Smile
A quick update
The low frame rate of loader when rendering big OBJ file like taxi_2.obj and sculpture.obj has been fixed!
Now, it renders them comparatively faster than before by using _glCallList()

Download OBJ Loader
Find all posts by this user
Like Post
08-29-2017, 09:56 PM
Post: #3
 (Print Post)
RE: OpenGL OBJ Loader
@Ashish

I think there is an issue with the texture mapping.

Here are some sample screenshots:


   

   

   


Walter Whitman
The Joyful Programmer

My goal is to bring joy, excitement, fun and education to all computer programming hobbyists, tinkerers, and amateurs. I also enjoy helping and working with those who aspire at becoming masters of their craft.
Find all posts by this user
Like Post
08-30-2017, 06:13 AM
Post: #4
 (Print Post)
RE: OpenGL OBJ Loader
Hi @Waltersmind Smile
Thank you for reporting this issue. Smile
I've fixed this. For about the texture mapping of table, you should use table texture.
Here are some screenshot which shows that texture mapping had been fixed.


Attached File(s) Image(s)
           
Find all posts by this user
Like Post
09-03-2017, 04:07 AM
Post: #5
 (Print Post)
RE: OpenGL OBJ Loader
*A quick update*
Speed optimization has been implemented in the loader. (Also, some bugs are killed)
Download OBJ Models Loader
Find all posts by this user
Like Post



Forum Jump:


User(s) browsing this thread: 1 Guest(s)




QB64 Member Project - Rubix's Magic
QB64 Member Project - Blokus
QB64 Member Project - Foursight
QB64 Member Project - Quarto
QB64 Member Project - Line Thickness
QB64 Member Project - Martin Fractals version three
QB64 Member Project - Domain
QB64 Member Project - Spiro Roses
QB64 Member Project - Othello
QB64 Member Project - Color Rotating Text
QB64 Member Project - Dreamy Clock
QB64 Member Project - Kings Vallery version two
QB64 Member Project - Red Scrolling LED Sign
QB64 Member Project - Overboard
QB64 Member Project - Kobolts Monopoly
QB64 Member Project - Basic Dithering
QB64 Member Project - Bowditch curve
QB64 Member Project - Inside Moves
QB64 Member Project - Exit
QB64 Member Project - Martin Fractals version one
QB64 Member Project - Color Triangles
QB64 Member Project - Dakapo
QB64 Member Project - Input
QB64 Member Project - Spinning Color Wheel
QB64 Member Project - Algeria Weather
QB64 Member Project - Score 4
QB64 Member Project - 9 Board
QB64 Member Project - RGB Color Wheel
QB64 Member Project - Pivet version one
QB64 Member Project - Connect Four
QB64 Member Project - Point Blank
QB64 Member Project - STxAxTIC 3D World
QB64 Member Project - Rotating Background
QB64 Member Project - OpenGL Triangles
QB64 Member Project - Amazon
QB64 Member Project - Splatter
QB64 Member Project - Sabotage
QB64 Member Project - Pivot version two
QB64 Member Project - MAPTRIANGLE
QB64 Member Project - Full Color LED Sign
QB64 Member Project - ARB Checkers
QB64 Member Project - Qubic
QB64 Member Project - Swirl
QB64 Member Project - Isolation
QB64 Member Project - Touche
QB64 Member Project - Kings Valley verion one
QB64 Member Project - Martin Fractals version two
QB64 Member Project - Kings Court
QB64 Member Project - Martin Fractals version four