Problem Solved!
I was reading the obj too soon... =S
Reading it a few lines deeper made it work.
Thanks!!
Type: Posts; User: Rodrigo
Problem Solved!
I was reading the obj too soon... =S
Reading it a few lines deeper made it work.
Thanks!!
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...
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...
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...
Nobody? =[
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...
Thanks, I solved that too.
The order of the links was wrong. =P
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...
Thanks guys.
I try do read some basic files first and then build a better version!
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);
...
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...
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...
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...
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...
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.
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...