currently i'm doing a simple paint drawing coding. my knowledge in OpenGL is quite low
I don't really understand the glVertex2d
Like i've attached the code and when i do the checking of th...
I have done a c++ opengl program by installing GLUT libraries and GLE libraries in my computer , If I want to run the same application n program in some other computer where the libraries a...
I have a game that when I try to load it I get an erro message "cannot open open open gl susbsytem. I have a Nvidia GeForce 200 card. The game was working but now will not. what has happened?
Hi there,
i'd like to know how to load 3d object such *.obj or *.max file format to show in application program which created by c# and OpenGL. i have an example in C by Nate Robins. however,...
I'm working on an OpenGL program that spins a "square".
Below is the code thus far. Instead of the "void spinDisplay" function, I now want to use a "timer" function (included below the...
Hi Experts
I have a question regarding shadow casting in opengl. I am able to cast the shadow on the floor with y coordinate 0 using the code below
GLfloat lightpos2[] = {0.0, 100.0, ...
Is there any way using opengl (or glut) to get the colour (RGB) of a particular pixel?
I am porting a simple graphics library (which has setPixel and getPixel) to opengl/linux from windows...
Hi,
I've done a lot of research using the web but still can't find the right answer.
I need to install OpenGL 1.5 at least but 2.0 would be useful.
Basically I'm using an N6200 video ...
I'm taking a class on OpenGL that uses C/C++ for the initials programs.
I have a small program that compiles and builds successfully. When executing the EXE, however, a dialog box (see JP...
Hey people, I need help rendering a unit sphere to a 2d img. by using the setpixel f'n. It is a 256 x 256.
This below only helps by covering all pixels and shading it white...
for (int x...
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.
...
Hello
I have created a nice Maya tree model using NURBS. I want to transport it into openGL. I'm using 3d exploration tool to generate the openGL code. I tried exporting Maya model using .vr...
OpenGL images put (0,0) at the bottom left. Java images have (0,0) at the upper left, so as the y coordinates increase and move further from the axis, the row order makes the image look like i...
Compiling...
current.cpp
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/cs180prj.exe : fatal error LNK1120: 1 unresolved externals
Error executing ...
Ok, im playing about with Bezier Curves in DirectX
So I thought now would be as good a time as any to try and pick up some GL.
Im looking for sample code that I can relate to. Bezier Cur...
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...
How can use Gl Frustrum to display this house, i have no idea.. how to code it with GlFrustum to in display this house
(0, 10, 54) (8,16,54) (16,10,54) (16,0,54) (0,0,54)
(0,10,30) (8,16,3...
I'm making a 2d program using OpenGL, so I don't use gluPerspective, but glOrtho which allows easier positioning.
The problem is that the text routines I have ( bitmap fonts, see nehe's 13t...
Hi!
I have a piece of code which is generating a transformation matrix, based upon the position of a cube. I am trying to achieve the effect of a ball rolling around on the top of the cube ...
Hi.
I need to know how can i draw a sphere in a window and after rotate it on the x axis. I use Glut and Visual C++. Since now I'm thankful Gab
Hi everyone,
I am very new to OpenGL.
I have been trying all weekend to create rounded rectangles in OpenGL. The closest I got to was creating anti-aliased points for the vertices and ...
Hi guys,
I'm taking a computer graphics course, but am having trouble compiling the base assignment code (GLSL) under Visual Studio 2005. I cannot proceed until I get the GLSL portion compi...
Experts,
I've googled on the ongoing battle between OpenGL vs. Direct3D. Wow, there's are hundreds of websites that compare the details in great length... so, I'm a bit overwhelmed.
Co...
Hi Experts,
To cut a long story short i'm creating a custom model editor in opengl. The editor consists of 4 views (top, side, front and perspective - as normal). My question is that given...
Is there anyway i can use an OpenGL 3D to render to a pbuffer? Is it possible for me to use this engine to animate a 3D model, and then set the world matrix from my code? If so, how do i get...