Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Rodrigo

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    12,980

    Re: Loading OBJ and MTL files

    Problem Solved!
    I was reading the obj too soon... =S
    Reading it a few lines deeper made it work.
    Thanks!!
  2. Replies
    7
    Views
    12,980

    Re: Loading OBJ and MTL files

    Damn it, I tried the example and it worked.

    But it still doesn't work in my project. My problem is that I started a little project to learn opengl and then, when I thought I had more knowledge to...
  3. Replies
    7
    Views
    12,980

    Re: Loading OBJ and MTL files

    My only problem is to load the texture.
    It's only drawing the polygons.

    Did it work at first time? I didn't work for me, I had to change parts of the code.
    But i'm running on windows. Would it...
  4. Replies
    7
    Views
    12,980

    Loading OBJ and MTL files

    Hi guys.
    I was searching for a way of loading an imagen with textures from an obj file and its mtl.
    I found the library GLM written in C that seems to do those things.
    I actually made it work to...
  5. Replies
    1
    Views
    1,262

    Re: Texture problem in GLM

    Nobody? =[
  6. Replies
    1
    Views
    1,262

    Texture problem in GLM

    Hi guys.

    I'm trying to load an obj model in my opengl project using the GLM library written in C.
    After some changes in the library (there were some undefined things that made the code not work...
  7. Replies
    2
    Views
    3,331

    Re: Problem linking in dev-cpp

    Thanks, I solved that too.
    The order of the links was wrong. =P
  8. Replies
    2
    Views
    3,331

    Problem linking in dev-cpp

    Hi guys.
    I'm trying to use GLM library to load obj files.
    I downloaded the files, created a project in dev-cpp with those files to generate a ".a" library.
    Everything worked, no errors.

    So I...
  9. Replies
    7
    Views
    5,701

    Re: Reading obj and raw files

    Thanks guys.
    I try do read some basic files first and then build a better version!
  10. Replies
    7
    Views
    5,701

    Re: Reading obj and raw files

    Yes, I understood it.
    But suppose I wanted to draw a cube and drawing one of the faces would be:
    glBegin(GL_QUADS);
    glNormal3f(0.0, 0.0, 1.0);
    glVertex3f(40.0, 40.0, 40.0);
    ...
  11. Replies
    7
    Views
    5,701

    Re: Reading obj and raw files

    Cool, I think I got it.
    Suppose a I have a obj file like:

    # Blender3D v249 OBJ File:
    # www.blender3d.org
    mtllib cone.mtl
    v 0.707107 -1.000000 -0.707107
    v 0.831470 -1.000000 -0.555570
    v...
  12. Replies
    7
    Views
    5,701

    Reading obj and raw files

    Hi guys.
    I saw a lot of people asking how to load a model from obj and raw files exported from blender, but I couldn't understand 100% the meaning of the information in these files.

    I exported a...
  13. Replies
    6
    Views
    1,803

    Re: 3D Animation Problem

    I think that glOrtho doesn't work for me, because I can't see if the object is getting far away from the camera.
    I want far objects to get smaller when they get far, but when they are close to the...
  14. Replies
    6
    Views
    1,803

    Re: 3D Animation Problem

    I commented those 2 lines and it's much better now.
    But it kept the deformation.
    So a put a smaller angle, 45 and it's even better.
    But I still don't get it. Why does this angle cause...
  15. Replies
    6
    Views
    1,803

    Re: 3D Animation Problem

    Thanks, I'll try it later.
    But why the cubes change their forms? Is it because of the angle?
    I'd like to eliminate these deformations.
  16. Replies
    6
    Views
    1,803

    3D Animation Problem

    Hi guys.
    I'm new in OpenGL and I'm having some trouble showing the scene that I'm drawing.
    My work is to create 20 cubes that affects each other by gravitional force, changing their speed and...
Results 1 to 16 of 16