Hi, quite new to the subject, and in college we were provided with the .dlls each time we needed them. But I never had any idea what actual version I was using, what extensions I was using...This is very confusing to be honest. I couldn't find any download link on the official khronos site. Clicking on the OpenGL SDK link, just presents ...
First some context, I'm using OpenGL/ES exclusively for 2d drawing (eg. glOrtho(0, width, 0, height, -1, 1);). I'm drawing arrays of vertices with glVertexPointer()/glDrawArrays() On OS X vertex coordinates using GLfloat represent exact pixel coordinate values. On iOS I have to "scale" those same GLfloats using the following function (re...
I'm not sure if its called a graphical artifact but see this:
http://img835.imageshack.us/img835/9785/anomoly.png
You will notice 6 pixels on the black outline that are out of place.
My application allows zooming in and when I render I do this:
RENDER:
// Set an orthogonal projection matrix
glMatrixMode(GL_PROJECTION);
glLoad...
I'm developing some C++ code that can do some fancy 3D transition effects between two images, for which I thought OpenGL would be the best option.
I start with a DIB section and set it up for OpenGL, and I create two textures from input images.
Then for each frame I draw just two OpenGL quads, with the corresponding image texture.
The ...
In specific I am working in linux environment. This is an opengl application. Upon a calculation of certain geometries, I want to be able to fire an event whenever a new geometry is created. Is there any .NET equivalent of events in C ??
Thanks,
Vishnu
...
I notice that drawing dashed lines with GL will not make them even apart unless each vertex is equidistant from the last. Is there a way to simply make the whole path dashed evenly regardless of the distance between each point?
Thanks
...
I am using Visual Studio 2010 to make a 3D model in C++ and OpenGL. I started a project on my home pc, and then decided to put it in a repository, so that I could get the code for development on my laptop and not have to keep transferring files between the two computers (and also just to get some practice at using source control).
The p...
hi everybody,
i just noticed, that glBufferData fails silently when i try to call it with size: 1085859108 and data: NULL.
Following calls to glBufferSubData fail with a OUT_OF_MEMORY 'Exception'. This is on Windows XP 32bit, NVIDIA Gforce 9500 GT (1024MB) and 195.62 Drivers.
Is there any way to determinate if a buffer was created suc...
I can't find a tutorial showing me how this works and I don't get it. I'd like to use it to draw dashed lines since I have an algorithm that generates triangles and would like it to skip some after a certain distance has been reach (a bit like glLineStipple)
Thanks
...
I am looking to learn open GL, I have a strong foundation of the maths behind graphics. What is the best route to take in learning the Open GL technology i'm open to using both Windows and Mac.
Thanks in advance
...
I know OpenGL is cross-platform and runs across Windows and Mac, but what other marketable products support it along with OpenGL ES? I'm just curious of its current market. Thanks!
...
Here is a quick and dirty GLUT based C++ program for windows that draws two rectangles, blue and green on a flat red background. Pressing 'a' or 'z' makes them orbit along the X axis in either direction. My problem is that if I enable GL_DEPTH_TEST, it sometimes draws one rectangle, sometimes two or sometimes just the background but ne...
Hi guys,
I've recently been tasked with the development of a multi-frame 3d point cloud visualization tool for research. The professor let me make the decisions on what tools to use for this project.
Problem is, I'm pretty much new to 3D rendering and the software packages for it. I was hoping that SO could point me in the right direct...
I am writing a paint program in Delphi. The user clicks 2 points on the screen and a line is drawn between them. I want the lines to be anti-aliased. I put this code in create() procedure of the OpenGL class (which is called just 1 time in the start):
glEnable(GL_LINE_SMOOTH);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINU...
I'd like to open an OpenGL context without X in linux. Is there any way at all to do it?
I know it's bossible for integrated intel graphics card hardware, though most people have nvidia cards in their system. I'd like to get a solution that works with nvidia cards.
If there's no other way than through integrated intel hardware, I guess...
Hi,
I am trying to understand how can I change UV mapping of a dome, I need a different texture map projection than this one coded below:
protected final void createDome(final float radius) {
int lats=16;
int longs=16;
GL11.glEnable(GL11.GL_TEXTURE_2D);
GL11.glBindTexture(GL11.GL_TEXTURE_2D, textures2x4[0].getText...
I have a simple rectangle i have drawn on screen in opengl.
My target is to draw this rectangle in 3D so the left side of it is deeper (z-axis) than the right side.
Look at this pic so you can see what i mean:
http://www.battleteam.net/tech/fis/docs/images/metroid_hud1.png
This is the code i use to draw a rectangle which uses differen...
What is the recommended animated model format that a game programmer would load in OpenGL?
I have taken a look at .md2 and .3ds formats available at some OpenGL tutorials. However, it would appear that they are both fairly old. Is there any well-supported model format that a contemporary game programmer would prefer?
Thanks in advance....
I recently wrote a maze game in opengl (using freeglut) that works fine when built in Ubuntu or Cygwin, but when built on Fedora Core 12 with freeglut, the game falls apart, and my professor can't see a thing when he builds it on his machine (the OS of which he has failed to disclose).
Also, on previous assignments, I got flickering eve...
I'm working with a legacy piece of code in some stuff for work which uses glBitmap() calls to draw bitmap icons. My issue is that it's rather slow once you get to drawing about 1000 icons at once. It slows down to about a 1- to 2-second refresh rate, and I'd like to see if I can make it faster than that.
First I should probably descri...