# Search:

Type: Posts; User: remedios79

Page 1 of 2 1

1. ## Thread: Problem with wglUseFontOutlines: state changes

by remedios79
Replies
2
Views
281

### Problem with wglUseFontOutlines: state changes

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...
2. ## Thread: Quaternion-based Camera; PointAt() function

by remedios79
Replies
8
Views
239

### Re: Quaternion-based Camera; PointAt() function

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...
3. ## Thread: Quaternion for camera, direction problem

by remedios79
Replies
1
Views
1,028

### Quaternion for camera, direction problem

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...
4. ## Thread: Gimbal lock while orbiting camera around interest point

by remedios79
Replies
7
Views
1,350

### Re: Gimbal lock while orbiting camera around interest 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...
5. ## Thread: Gimbal lock while orbiting camera around interest point

by remedios79
Replies
7
Views
1,350

### Re: Gimbal lock while orbiting camera around interest point

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...
6. ## Thread: Gimbal lock while orbiting camera around interest point

by remedios79
Replies
7
Views
1,350

### Gimbal lock while orbiting camera around interest point

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...

by remedios79
Replies
0
Views
529

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...

by remedios79
Replies
16
Views
5,889

### Re: Interpolation algorithm

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...
9. ## Thread: Is it possible to extract rotation,translation,scale given a matrix?

by remedios79
Replies
8
Views
3,001

### Re: Is it possible to extract rotation,translation,scale given a matrix?

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...
10. ## Thread: Is it possible to extract rotation,translation,scale given a matrix?

by remedios79
Replies
8
Views
3,001

### Re: Is it possible to extract rotation,translation,scale given a matrix?

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!
...
11. ## Thread: Is it possible to extract rotation,translation,scale given a matrix?

by remedios79
Replies
8
Views
3,001

### Re: Is it possible to extract rotation,translation,scale given a matrix?

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...
12. ## Thread: Is it possible to extract rotation,translation,scale given a matrix?

by remedios79
Replies
8
Views
3,001

### Re: Is it possible to extract rotation,translation,scale given a matrix?

I found the code of Graphic Gems... but I wonder if it works always, or just in some cases... what do you think?

Remedios
13. ## Thread: Is it possible to extract rotation,translation,scale given a matrix?

by remedios79
Replies
8
Views
3,001

### Is it possible to extract rotation,translation,scale given a matrix?

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...
14. ## Thread: Problem with direction constraint

by remedios79
Replies
5
Views
450

### Re: Problem with direction constraint

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...
15. ## Thread: Problem with direction constraint

by remedios79
Replies
5
Views
450

### Re: Problem with direction constraint

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...
16. ## Thread: Problem with direction constraint

by remedios79
Replies
5
Views
450

### Problem with direction constraint

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...
17. ## Thread: Problem with direction constraint

by remedios79
Replies
1
Views
152

### Problem with direction constraint

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...
18. ## Thread: Destroy Multiple GLUI Windows

by remedios79
Replies
1
Views
382

### Re: Destroy Multiple GLUI Windows

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...
19. ## Thread: Destroy Multiple GLUI Windows

by remedios79
Replies
1
Views
382

### Destroy Multiple GLUI Windows

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...

by remedios79
Replies
20
Views
3,349

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!
...

by remedios79
Replies
20
Views
3,349

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...

by remedios79
Replies
20
Views
3,349

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...

by remedios79
Replies
20
Views
3,349

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...
24. ## Thread: Nvidia GeForce3-4 driver problem!

by remedios79
Replies
8
Views
265

### Nvidia GeForce3-4 driver problem!

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...
25. ## Thread: Retrieve the center of a sphere

by remedios79
Replies
6
Views
447

### Retrieve the center of a sphere

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...
Results 1 to 25 of 36
Page 1 of 2 1