Thread: my first opengl program

  1. #1
    Registered User
    Join Date
    Apr 2004
    Posts
    5

    my first opengl program

    Hey I have finally got to a "decent" point in my little project.
    Its only a simple .0bj loader. I need some feedback how your fps's and what you would normally get with the amout of triangles that are been rendered. So i know if the program is lacking preformance.

    Please download it form here: here

    Things I will be adding after a little feedback:
    texture support
    vertex normals, so i can use lighting properly
    dialog window with options like render mode and any other little effects or what not.

    Thanks for any feedback

    Regards
    psirus

  2. #2
    i got ~430 fps. don't know if that's much cause no other program told me the number of triangles before. :-)

    it's a little black-and-white yet...

    HINT: animation speed is dependent on fps. i turned vertical sync on/off and the animation speed changed. if you need guidance on this see "Implementing Steady Motion" by Robert Dunlop (http://www.mvps.org/directx/articles...ady_motion.htm)

  3. #3
    Registered User
    Join Date
    Apr 2004
    Posts
    5
    I found a major bottleneck in the program slowing everything down which i have fixed and i am currently adding the vertex normals, so new version will use filled polys and some nice lighting .

    Thanks for your feed back and that article, will get reading it asap

    Regards,
    Psirus

  4. #4
    Registered User
    Join Date
    Apr 2004
    Posts
    5
    Okay i have updated my loader so now it supports the vertex normals form the obj file. please try it again for me and see what you think. Get the new version here:
    http://hosted.4k-gaming.net/~impulsive/obj_Loader1.zip

    regards,
    psirus

  5. #5
    i got flickering when the back is shown. front is fine.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why only 32x32? (OpenGL) [Please help]
    By Queatrix in forum Game Programming
    Replies: 2
    Last Post: 01-23-2006, 02:39 PM
  2. Replies: 5
    Last Post: 11-27-2005, 09:50 PM
  3. my server program auto shut down
    By hanhao in forum Networking/Device Communication
    Replies: 1
    Last Post: 03-13-2004, 10:49 PM
  4. opengl program as win API menu item
    By SAMSAM in forum Game Programming
    Replies: 1
    Last Post: 03-03-2003, 07:48 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM