Hello,
I'm rendering outlined polygons (just like in Nehe tutorial). When the application starts I create a bunch of fonts like this:
myFont = CreatFont(...)
SelectObject( myFont );
then I...
Type: Posts; User: remedios79
Hello,
I'm rendering outlined polygons (just like in Nehe tutorial). When the application starts I create a bunch of fonts like this:
myFont = CreatFont(...)
SelectObject( myFont );
then I...
Hi,
I'm doing something like you, given a quaternion I extract the information about roll (rotation around z axes) to remove it (applying a -Theta rotation).
To extract this kind of information...
Hello,
I'm trying to implement a camera that uses a quaternion to store the orientation.
When I init the camera I calculate the view vector subtracting the interest point from the position point...
Hi everybody!
I finally found a way to make it works. :)
Now I define the camera with position, interest point, a quaternion for the orientation and a roll.
Finally I combine the quaternion...
Thank you for your replies,
I checked some articles about quaternions, and I think I will represent my camera as a direction quaternion, position point, interest point, and up vector.
I can...
Hi,
I'm trying to make a camera orbit around the interest point.
I'm applying a rotation matrix to the inverse of the forward vector of camera, then multiplying it for the distance between camera...
Is it possible to add a new cursor to GLUT?
I'm implementing a renderer that allows you to move in the 3D space using mouse and metakeys (like any 3D modeller package).
I would like to make my...
Let's say you have three points with z values
P1 = (x1, y1, z1)
P2 = (x2, y2, z2)
P3 = (x3, y3, z3)
So, you have 3D points.
You want to interpolate the values of z in a grid, so you will have...
Searching in the net I found a couple of interesting things:
This is an algorithm to do exactly what I need, as you suggested it extract first the translation info and then decompose the scale and...
That sounds good! :)
I check the math website, but I found nothing useful to retrieve the rotation and scale transformation... I will go on checking.
However this is exactly what I need!
...
I'm not understanding...
This is what I need to do:
I'm displaying a hierarchy of objects, and to do this I push matrixes in the stack while I'm going down in the hierarchy, and pop then when I...
I found the code of Graphic Gems... but I wonder if it works always, or just in some cases... what do you think?
Remedios
Hi all,
I'm thinking about calculating the transformations I applied to my modelview matrix at a certain point of the elaboration... is there a clean way to find rotation, translation and scale...
Ok, I need to explain better.
The only thing I need to retrieve is the rotation of the second cube.
That means that the only information I need is about the translation (or position) of the first...
Sure I can! :)
I'm implementing a 3D Viewer, in fact I'm reading xsi files (exported by SoftImage) and trying to show all the things a 3D modeller can create.
I need to show two moving...
Hi all,
I'm trying to implement a direction constraint between two objects.
So, I have a series of translation vector for the object constraining the other, and I want to get the rotation along...
Hi all,
I'm trying to implement a direction constraint between two objects.
So, I have a series of translation vector for the object constraining the other, and I want to get the rotation along...
I'm sorry, I don't get a segmentation fault, but this strange (for me...) error:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 12...
Hi, I have a system that perform volume rendering and I want to display a slice of my volume.
I'm using a glut window with a GLUI subwindow inside the first one, to put the controls. Now I'd like...
The second option was right (and I put the SAME mutex! http://www.opengl.org/discussion_boards/ubb/smile.gif
Of course, the push_back function can't be atomic...
Now it works! Thank you all!
...
Thank you for the help.
I know how to use multithreading, but thanks to a dumb professor I never used them in practice before (only pseudocode).
I know how to use mutex, but I wonder why I need...
Really?
I'm finding thousands of problems in STL... gosh...
Ok, but I'm simply adding a new object to a vector with push_back, and displaying the current list of objects (triangles).
How can...
Hi, I'm using glut and GLUI windows and multithreading.
Basicly I'm calculating an isosurface (a list of triangles) and I display the list during its construction.
What do you mean when you say...
I apologize if I'm OT.
Recently was installed a new release of RedHat in my Linux machine, and the driver for the GeForce3 was updated to the newest one.
Now, when I run my program, I obtain...
Hi!
I apologize if this argument is not advanced...
I want to retrieve the center of a sphere after a rotation and a translation.
I know that if I use only a translation, the center is...