Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: .obj example

  1. #1
    Newbie Newbie
    Join Date
    Oct 2017
    Posts
    3

    .obj example

    Hi, brand new to the forums and needing a bit of help with loading in an obj for an assignment.
    my obj : https://files.fm/u/42885yy5#_

    I need to view this object with objloader. I have no idea. please do it ..

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,421
    Just like the last time you posted, you didn't actually ask a question.

    What have you tried? What specifically is the problem? Are you talking about three.js objloader?
    Last edited by Dark Photon; 12-09-2017 at 06:32 PM.

  3. #3
    Junior Member Newbie
    Join Date
    Dec 2017
    Posts
    22
    For an .obj you will either have to dynamically link it to the project or add the .obj to the linker. Either way you must include the header file, create a pointer to the object , and define the storage inside the object constructor or at the creation of the object.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •