In response to my previous qeustion posted here:
http://stackoverflow.com/questions/2189494/what-is-a-good-code-structure-for-api-independant-vertex-processing
If I have say a vertex structure with an array of floating point values such as:
public struct Vertex
{
float[] array = new float[4];
public Vertex(float x, float, y, ...
I have an application written in QT4, that uses an openGL window. It has been running happily for months. Windows XP, service Pack 3,
Recently I was diddling with my screensaver, and happened to select the 3D text choice. When I previewed it, the QT4 application seg-faulted immediately. When I ran in the debugger,it is crashing in i...
Good afternoon,
The setup:
I've never done any gl programming.
I'm attempting to compile some opengl
driver code that compiles in other environments.
I'm using mingw on windows in the hope that using gcc on both linux and Windows would make my life easier...
The problem:
The second parameter of the following isn't defined anywhere:...
In /usr/include ,
I tried grepping for GL gl and OpenGL .. .but can't find it.
Where are these header files located?
...
How do I import Maya model to OpenGL with C#? If you have any sample, it would be very useful.
...
Various questions have been posted on the subject of off-screen rendering, especially as it concerns a Win32 service, such as the following questions in which Mesa3D has been suggested as an option...
http://stackoverflow.com/questions/513650/offscreen-rendering-to-a-texture-in-a-win32-service
http://stackoverflow.com/questions/883717/c...
I find this problem when I try to render multiple textures in a 3D model. I find the textures loaded later is overwriting the ones loaded earlier(say while doing a perspective projection ).Some of the textures are transparent. Is there any way one can get around this problem? Thanks.
...
I wonder since a long time what would be the best way to handle OpenGL FrameBuffer Objects (FBO).
Switching FBOs can be costly but defining new attachments too.
How do you do it fast ?
I hesitate between these 3:
1 FBO for everything, change attachment but don't switch between FBOs
1 FBO for each render target (size + format) in the ...
We are making an app whose primary purpose is to display data, but we want to do so in a rich way. Our design includes several custom controls.
For example, one control will be a wheel the user can spin to pick a time of day. You see an entire circle - a disk - that has time values going out like spokes from the center. It needs to spin...
Hello
I'm started getting interested in OpenGL so I decided that it would be fun to learn. So right now, i'm learning OpenGL 2.0 (Cause my has only full support the full speification until 2.1) So do any of you OpenGL guru guys can pointme to a good OpenGL cheact sheet?
Thanks in advance-
...
I'm trying to develop a 2D game to android using opengl.
I know how to print images on the screen and animate them. But in my game I have a map and a want to zoom in and out and scroll the map. But I can't figure out the best way of doing it.
Can anybody help me?
...
Hi
I wanted to know if their is any Glut (opengl) visual editor some thing like autocad.
...
I have as input an array of 3D points. And I need to draw a pipe that connects those points with each other so the first point is connected to the second one, the second to the third, ... The pipe has a square-shape (not a cilinder, but more a cuboid-shape like this figure) with a width of d. And the difference between two points goes al...
Hi, i would like to know some tips, articles or books about performance in OpenGL based simulations
...
I'm trying to figure out the best way to pick informations rendered using shaders.
A window manager buffer (the window) is used for outputting rendering. On user event I should pick the geometry rendered. Using gluPick is easy, but I'm trying to pick using only shaders.
Flexibility of shaders doesn'y aid me to find a correct solution. I...
It took me >1 day and I still haven't figured out why.
I'm using Ubuntu 9.10, trying to make a simple OpenGL to work in c++.
whenever I used GLUT_SINGLE parameter, it gives me a full black screen. I had to click mouse randomly on that screen in order to get out. This is so much annoying. Possibly a bug. Can anybody help?
Here is the ...
I'm interested in making an OpenGL visualizer for MP3's as a pet project.
I stumbled upon this youtube video which demonstrates someone showing off a visualizer being used in conjunction with Augmented Reality.
http://www.youtube.com/watch?v=SnshyLJSpnc#t=1m15s
Please watch that video, but ignore the augmented reality aspect of that v...
This is my code that i use to get my mouse position in the 3d scene:
void GetOGLPos(int x, int y, GLdouble &pX, GLdouble &pY, GLdouble &pZ){
GLint viewport[4];
GLdouble modelview[16];
GLdouble projection[16];
GLfloat winX, winY, winZ;
glGetDoublev(GL_MODELVIEW_MATRIX, modelview);
glGetDoublev(GL_PROJECTION_MATRIX, projection);
g...
Hello, I'm planning to create a tiled world with OpenGL, with slightly rotated tiles and houses and building in the world will be made of models.
Can anybody suggest me what projection(Orthogonal, Perspective) should I use, and how to setup the View matrix(using OpenGL)?
If you can't figure what style of world I'm planning to create, lo...
Hi. I'm new at OpenGL. Basically I want to know how to resize a rectangle. For example: I have a rectangle, height = 10, width = 20. I want the rectangle to grow 90 points up in 1 second for a new height of 100. Is there a function that can do this? Or I'll have to do it frame by frame?
Thanks
...