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...
Type: Posts; User: Clayton
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...
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)...
I'm not quite sure what you intend for me to do using the modelview matrix, perhaps you can explain?
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...
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...
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...
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...
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...
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...
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...
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....
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...
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.
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...
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"...
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...
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....
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...
hmm, not so much. But I just needed to know whether GL had a problem with it. Thanks.
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...
Actually I'm using cross platform QT, but I've decided to just keep around my member variables anyhow, thanks though.
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...
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...
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...
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...