# Search:

Type: Posts; User: Clayton

Page 1 of 2 1

1. ## Thread: Opengl Perl Module

by Clayton
Replies
1
Views
129

### Opengl Perl Module

I am attempting to build the Opengl Perl module on Fedora core, and the build seems to be having trouble locating my Gl libraries. The install is definitely good for Opengl (all other apps that use...
2. ## Thread: Finding the 2D XY Coordinates for Cylinder Extrema

by Clayton
Replies
5
Views
482

### Re: Finding the 2D XY Coordinates for Cylinder Extrema

Unfortunately, I don't need to find where the Extrema have gone after translation, I need to find the new extrema, post translation. This may involve finding those points ahead of time (untranslated)...
3. ## Thread: Finding the 2D XY Coordinates for Cylinder Extrema

by Clayton
Replies
5
Views
482

### Re: Finding the 2D XY Coordinates for Cylinder Extrema

I'm not quite sure what you intend for me to do using the modelview matrix, perhaps you can explain?
4. ## Thread: Finding the 2D XY Coordinates for Cylinder Extrema

by Clayton
Replies
5
Views
482

### Finding the 2D XY Coordinates for Cylinder Extrema

I am attempting to find the top, bottom, left, and right extremes in two dimensional screen coordinates for a cylinder that has been rotated and possibly translated. I am assumming I should do some...
5. ## Thread: OpenGL representation of a plane

by Clayton
Replies
2
Views
354

### OpenGL representation of a plane

How would one render a representation of a plane, with the standard equation ax+by+cz+d=0, knowing say, just that plane and a general idea of the size of the quadrelateral that is to represent it, as...
6. ## Thread: Rotating to be parrallel to a plane

by Clayton
Replies
1
Views
371

### Rotating to be parrallel to a plane

Once I've defined my viewing, using glOrtho, I use glRotate to rotate around my origin in two aspects, around the x axis and around the y axis (y being the standard 2d mathmatically y axis). What I...
7. ## Thread: Defining rotations parallell to a plane

by Clayton
Replies
3
Views
189

### Re: Defining rotations parallell to a plane

Sorry, poor wording on my part, yeah you're right that would be a really simple ay to do it. Unfortunately what I need to be able to do is rotate not parrallell to the plane, but rotate my camera to...
8. ## Thread: Defining rotations parallell to a plane

by Clayton
Replies
3
Views
189

### Defining rotations parallell to a plane

If I have a plane equation, is there an easy way to have GL rotate parrallell to this plane, or must I do it mathematically? For instance, x+2z=30 is the plane, and I've got rotation in terms of...
9. ## Thread: Problems with Ortho2D

by Clayton
Replies
8
Views
263

### Re: Problems with Ortho2D

I do clear both the projection and modelview matricies before I attempt the Ortho2D projection, and when I switch modes to perspective and back all of those matricies are cleared, so I doubt the...
10. ## Thread: Problems with Ortho2D

by Clayton
Replies
8
Views
263

### Re: Problems with Ortho2D

First of all, I am not wishing to rotate the object in Ortho2D, I am switching to a perspective drawing when I rotate it and see this problem, I was wondering if this was a sign to why the render...
11. ## Thread: Problems with Ortho2D

by Clayton
Replies
8
Views
263

### Re: Problems with Ortho2D

I'd post code, but we'd be looking at code that's interweived with thousands of lines. I don't have a cull Enabled, I don't have lighting on, Here is a very basic picture of the draw Loop....
12. ## Thread: Problems with Ortho2D

by Clayton
Replies
8
Views
263

### Problems with Ortho2D

I'm having a few problems with using ortho2d. I made a quickie test program, barebones that is nothing but the draw and the settings, and it worked fine. The 2D image came out marvolously (I'm...
13. ## Thread: Drawing Cirlce with OpenGL without using GLUT

by Clayton
Replies
2
Views
165

### Re: Drawing Cirlce with OpenGL without using GLUT

I believe that you're going to want to use the gluDisk command. If you're not familiar with GLUquadricObj's you're going to want to read up on those as well as they are the framework for the Disk.
14. ## Thread: Density Maps in OpenGl

by Clayton
Replies
1
Views
191

### Density Maps in OpenGl

I'm trying to come up with the best way to to do a 2d density map of an opengl scene. It would be able to take rotation into account, and objects that have been clipped. Any just basic ideas on how...
15. ## Thread: Near Clipping Plane.

by Clayton
Replies
2
Views
185

### Re: Near Clipping Plane.

Well, It's not that I don't want GL to clip the objects, it's that the phsical aspect of there BEING a clipping plane where the camera is is tripping the capping. So when I move to a "Clipped"...
16. ## Thread: Near Clipping Plane.

by Clayton
Replies
2
Views
185

### Near Clipping Plane.

I am clipping certain objects in my program, then using the stencil buffer to cap the objects. (I have two clipping planes that I am drawing on different passes in order to clip two sides of an...
17. ## Thread: Depth buffer with read pixels

by Clayton
Replies
0
Views
106

### Depth buffer with read pixels

So I'm drawing a few sets of objects, each requires me to clear the depth buffer to draw, which works fine for each list, and the z orders are correct until all of the objects are drawn together....
18. ## Thread: Air Traffic Control Simulation Software

by Clayton
Replies
1
Views
388

### Re: Air Traffic Control Simulation Software

There are many ways to implement OpenGl apps, the most basic is "Glut", a programming library very commonly used for graphical tests/demonstrations/demos. For what you're using you need a full blown...
19. ## Thread: Global Variables in Render List

by Clayton
Replies
3
Views
183

### Re: Global Variables in Render List

hmm, not so much. But I just needed to know whether GL had a problem with it. Thanks.
20. ## Thread: Global Variables in Render List

by Clayton
Replies
3
Views
183

### Global Variables in Render List

I'm attempting to load my Depth buffer into a GLfloat* that has been initialized with malloc(WindowWidth*WindowHeight*sizeof(GL_FLOAT) with glReadPixels. When I place the Malloc inside of the render...
21. ## Thread: Really basic question

by Clayton
Replies
2
Views
117

### Re: Really basic question

Actually I'm using cross platform QT, but I've decided to just keep around my member variables anyhow, thanks though.
22. ## Thread: linux/windows/opengl

by Clayton
Replies
10
Views
859

### Re: linux/windows/opengl

If you're really interesting in having your code completely portable between Unix and Windows, you may want to consider using QT. There is a free liscense for QT, and it's code is completely cross...
23. ## Thread: Really basic question

by Clayton
Replies
2
Views
117

### Really basic question

How do I, or is it even possible, to recieve my screen size, width and height, outside of the resize function? I'm trying to nab my depth buffer deep inside of my draw function. Do I just need to...
24. ## Thread: Problems with Depth Buffer

by Clayton
Replies
2
Views
188

### Problems with Depth Buffer

I'm drawing a large amount of Spheres on the screen, and when I draw them in my standard manner, (Display list for each type, then calls for each of the spheres) everything works great. However, when...
25. ## Thread: The Dark Side Of The QUAD

by Clayton
Replies
4
Views
208

### Re: The Dark Side Of The QUAD

However, if you wish for the back of the quad to appear BLACK you cannot use Culling as the cull will simply not render the face, not draw it as Black. Two sided lighting however, will.

[This...
Results 1 to 25 of 42
Page 1 of 2 1