I tried to enable multithreading in a custom OpenGLView and failed (see code)
Processor is Quad-Core Intel Xeon.
kCGLCEMPEngine = 313 checked
I'm trying to use GLUT to create multiple windows, but I'm having problems getting more than one subwindow to display. Only the second of the two subwindows I create will display. And I don'...
how can i render half cylinder and half cone in OpenGL?
Please try to send the code also.
this is urgent for me.
i hope some one will help me and i thank all those contribute for me.
...
Hi All,
I am doing a 8 and 7 sided polygon using Openg.But i need all the sided to be of a same width.But when i draw using the GL_POLYGON i dont get all the sided of the polygon with the s...
I have (another) OpenGL question. If you don't know the answer to this question perhaps you can recommend a resource (website, book, other)?
Is it possible to calculate the area of interse...
Hi Experts,
I'll ask a vague question since I may be missing something simple here. I develop an OpenGL app on Windows, Xp specifically. I do lots of polygon drawing, even some NURBS. No prob...
I need to create a semi sphere to map a square texture in a special way:
It has to be literal mesh because I would like to map a texture on it (no glut please).
The goal is to create a sphe...
For a school project, I will be using C/C++ and OpenGL (as well as GLUT).
For an assignment, we were required to install the following software:
" Microsoft Visual C++ 2005 Express Edition...
I think this is done/asked millions of time but I couldnt find any useful information about it.
I am rendering some points scattered through the scene. I want to implement zoom to fit functi...
I'm trying to do some demo effects with dynamic textures. Only I'm really screwing up, somewhere. The code is nowhere near clean, but it's all in one little c file (god bless tetris clones, ...
Hi everyone,
I currently have an OpenGL program which draws objects in the center of my display area. I rotate my objects by setting up x and y rotating variables on the arrows key press c...
I have a rotation matrix and the code I have works almost as I want it to but there is some little thing missing and I can't figure out what it is.
here the relevant snippet from the code:
=...
Hi there,
I'm extremely new to OpenGL programming so hope that everyone can be patient with my questions.
I'm actually trying to write codes for the hemicube algorithm to solve the radio...
Hello,
I want to draw and rotate Parallelopiped in 3D arround its central axis. Question is how to set Clipping Planes and appropriate view port to maximize its size on the screen.
Thanks!
Hello,
I'm quite new to OpenGL, but I'd like to know how I would export the current OpenGL scene to a file that is a readable format for 3D Studio Max...
Hi,
I need to use gluunproject to convert 2D screen coordinates to 3D world coordinates in openGL.
If I need to convert the points of the viewport window itself, how would I do that?
...
The following code contains working implementation of marching cubes algorithm:
http://www.astronomy.swin.edu.au/~pbourke/modelling/polygonise/marchingsource.cpp
This is it's short descripti...
The projection matrix represents the 'camera's movements, correct? And the modelview matrix is that of the actual objects within the scene... Yeah?
What I'd like to know, is how they're bot...
I load a bitmap into an unsigned char buffer, then (after reversing the BGR to RGB bytes) send it to glDrawPixels in the classic call:
[Code]
glPixelStorei (GL_UNPACK_ALIGNMENT, 4);
glR...
Hi,
I'm trying to display polygons with antialiasing over a not-black background. At first, i've used
glBlendFunc(GL_SRC_ALPHA, GL_ONE);
And then everything goes well over a black backgr...
I have the following code:
void doSelect(int x, int y)
{
GLuint buff[64] = {0};
GLint hits, view[4];
int id;
int i;
GLuint *names = buff;
//set buffer
glSelectBuffer(64, buf...
I cannot get the texture working in my little bowling game. The BowlingScene is a box, like a room, but the texture in the wall was not displayed, why this could happen?
I've been doing research on various techniques and technologies used in modern game engines, however there is one such topic I'm not sure about.
In most FPS games, when you shoot a gun and...
I have created openGL window using GLUT in VC++ console win32 application, but I want to add panel and push buttons to it........ I have read about GLUI ...is there any other way to solve pro...