Description:
The OpenGL 3D application programming interface.
|
|
|
GoLang OpenGL VBO issues?
|
| |
I know I'm cross posting here - I was not sure whether this goes under GoLang or OpenGL but once I posted under golang, I realized maybe it was the wrong place...
So lately I've been messing around with opengl libraries for Go. And one of the libraries I have gotten to display textures and primitives such as triangles. I used the fixed pipeline (glbegin,end) to draw. I recently switched to a more go-ified library and decided to do some VBO drawing but seem to be having issues. I guess this this is an opengl / go question for anyone who has some experience in these two fields. My current code looks like the following and displays a white window with ortho2d set. However; this window has nothing on it which is surprising, given I have populated and bound my VBO as below:... more »
|
|
Arrays of textures
|
| |
Hello, I have an array of 8 different cubemaps that I want to accessfrom within a single fragment shader.
I have a selection declared by the following:
uniform samplerCube RenderCube[8];
And I want toaccess it in the fragment shader with something like:
colour = textureCube(RenderCube[n], normal);... more »
|
|
A light problem.
|
| |
Hi all,
Using LIGHT on textured surfaces works well
on round shapes ( like sphere and cylinder ) but not on rectangles. Can you help here ?
// LIGHT glLighti ( GL_LIGHT0, GL_SPOT_EXPONENT, 127 ); glLightfv( GL_LIGHT0, GL_POSITION, (GLfloat*)&lightPos ); glLightfv( GL_LIGHT0, GL_SPOT_DIRECTION, (GLfloat*)&z );... more »
|
|
How to specify BMP texture coordinates for a textured Quadric object ?
|
| |
Hi all,
I use a single BMP file to embed several textures in just one file. When I draw a textured square
I set the BMP coordinates before calling vertex,
like below, and it works pretty fine.
glTexCoord2f( a , b ); // set BMP coords glVertex3f( x, y, z ); // 3D point Now I'm drawing textured cylinders using... more »
|
|
Max size VBO-buffer?
|
| |
dear all,
we tried to visualize large colored point sets efficiently.
in a first approach we tried using display lists, but they behave very unpredictively - sometimes nothing renders when the point set is too large (above 3 millions), even when splitting the point set into several lists of 100K points.... more »
|
|
who is confident with the sphere ?
|
| |
Hiya,
it should be useful to depict the fine tuning of the sphere with great care;
Beyond this, About the cube and the particular case of the sphere control, I guess that we
may talk about the recovery of the sphere accurately;
As a drawback, this article may be used
You begin a portrait with the eyes as they are the... more »
|
|
Easiest way of accessing Computer Modern fonts from OpenGL?
|
| |
Hi,
I'm writing a program that needs to display math notation. It's simple notation, but I wish to have high-quality math fonts, such as you get from LaTeX. Given that the LaTeX fonts are available, I tend to believe I should just use the LaTeX fonts (known as "Computer Modern").
However, there're several versions of these fonts, and also distributed in different formats, so I'm not sure what format will drive to towards and easier and simpler approach.... more »
|
|
when evaluating the sphere
|
| |
Tchao.
Before analyzing the perspective, I guess that we should troubleshoot the processing of the sphere using appropriate methodologies;
However, a sample source can be found at [link] when studying the perspective;
For the moment, When talking about the perspective as well as the sphere sustainability, it... more »
|
|
|