Added: 1 year ago
From: DusteDdekay
Views: 625
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Veree nais.

    I have an OBJ loader on an engine I'm working on, and I have decided to ween myself of the old and into the new. (built in uniforms, you will be missed).

    They way it is now is containers for normals, vertex and uvs. And indices sorted in groups -> faces.

    Offcourse, the buffer messes up the indices i heard, so I'm currently reading about making a second VBO for the indices. (Moving from 2.0 to =>3.1 is confusing but well due its time)

    How did you handle the datastructures?

  • @slitor I'm storing each object in a VBO as interlaced triangles

  • @DusteDdekay Is that, objects as groups/sections of a model or do you mean the entire mesh?

  • @slitor An entire obj file, my "engine" is very simple, and so, to make an "object" with movable parts, multiple .obj files would have to be loaded and attached together via the scene graph. To avoid myself loosing my breath, I chose to see objects with the same amount of simplicity as sprites, just in 3D, for now until I become better.

  • Very nice! Makes my object loader look like crap :-P

  • @jamwaffles Don't worry about that, 99% of the stuff I see around makes this look like it was done by a child in kindergarden with downs.. While sleep-typing.. In 30 minutes.. But well, coding is food for your soul, and about personal development and discovery, don't ever compare yourself with others, it'll only make you feel bad.

  • Neat! Is the source available somewhere?

  • Mmmmm delicious OpenGL.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more