Hi There!
I have a 3D Model which is built up from quad elements. OGL makes with the depth buffer a culling of hidden faces. Can i speed up with my own hidden surface method and how?
Thanks
Juergen
Type: Posts; User: guju
Hi There!
I have a 3D Model which is built up from quad elements. OGL makes with the depth buffer a culling of hidden faces. Can i speed up with my own hidden surface method and how?
Thanks
Juergen
Thanks! That's it!
Juergen
Hi!
I want to copy my window into a file. It works fine to read the pixels, but now i do not know how to store them into a file. I do not care if it is a gif,ps or bmp file format. It should only be...
I just do like this:
glMatrixMode( GL_PROJECTION );
glPushMatrix();
glLoadIdentity();
glBegin(GL_QUADS)
//** Draw
glEnd();
glPopMatrix();
Hi there!
I want to display a quad at the right corner of my display. It should be not affected by any mouse movements. I made it already for perspective view like following:...
Hi There!
I want to draw some cubes. Each cube is defined by a quad_strip and two quads. Is it possible to draw all the quad_strips with one gldrawelements call?
Thanks
Juergen
My error was, that i used display lists. Now i use immediate mode, and it works!
thanks
the stripe image is ok, because i display a color bar from min. to max.???????????
Hi There!
I create a 1d texture as follows:
glGenTextures(1,&texResult);
glBindTexture( GL_TEXTURE_1D,texResult);
glTexImage1D(GL_TEXTURE_1D, 0, GL_RGBA, stripeImageWidth, 0, GL_RGBA,...
Is it possible to create my own cursor style from a bitmap?
Thanks
Juergen
I have done it with MSVC++, but it should be now problem!
I tried your progy on my Win XP prof.(no service pack) german and it did not work. Two warnings:
- MessageBox saying that "uninstaller setup failed to initialize. You may not be able to uninstall...
Why is it easier?
Hi!
I create my viewing volume with:
gluPerspective(angle, (GLfloat)w / (GLfloat)h, radius/100, 3*radius);
Then i wanted to create a quad at the near and at the far plane, which fill the whole...
Hi! I want to diplay all my 3d models, which i can rotate with the mouse. This works fine, but now i want to add a quad on the screen, which does not move during my mouse action. It should be static....
i want to display my 3d stuff and two fixed rectangles. therefore i wanted to use a bitmap, but how can i fix it on screen.
Thanks
Juergen
Hi!
I display textures on my nodes, which is calculated from a value on the node. I want now to display a color bar, which shows the values of the color. It is build up of 10 rectangulars with...
Ok,LordLornos. I have now defined center, corner1,corner2,corner3,corner4. Then i call
glDrawElements (GL_TRIANGLE_FAN, numQuads*4, GL_UNSIGNED_INT, elements_texture_tri);
But i see strange...
Hi!
I have splittet my quads into four tris. I stored the vertexindices an an array like:
v0,v1,v2,v0,v2,v3,v0,v3,v4,v0,v4,v1
Then i call:
glDrawElements (GL_TRIANGLE_FAN, numQuads*4,...
I divide my quads now into four tria-elements. The color interpolation works very good, but performance goes done! I use GL_TRIANGLE_FAN's for each quad. Can i use GL_TRIANGLE_FAN with vertex arrays?
I am reading in files, where fem-elements are defined. In some cases a quad can have very bad geometry. So that is the reason why i have to take these cases also into account!!
How do you split the quad into four trias? If i use the gravity point, in some cases it can bee outside of the quad!
Yes i did. It is 4096. But does it mean that i have to create about 100 arrays holding the vertices and the same for the elements? Then i have to create a call drawelements for each of these arrays....
I only have to split up the array of element indices, but not the array of vertex data. Is this right, or should i split my vertex array?
I also want to be independent of 3d Hardware. SO, i do not want to use extensions, which are from NV, or some one else. What do you think about the three methods ore other?? Are there better ones....