Pages

sâmbătă, 6 noiembrie 2010

GLEW 1.5.7 Released

The new update of GLEW adds the GL_NVX_gpu_memory_info extension and fixes some compiler bugs.
You can download it from HERE.
GLEW named "OpenGL Extension Wrangler Library" is the most popular OpenGL extensions management lib.

luni, 25 octombrie 2010

Ogre 3D - First steps

I just tried to use 3d engine - Ogre 3D. Although I have not programmed in C + + for a very long time, the tutorials found on the net helped me a lot. Installing this engine linux distribution - Fedora is simple, it seemed more complicated in Windows XP. I used IDE Code:: Blocks and here's what resulted:

First Ogre 3D tutorial from Catalin Festila on Vimeo.

marți, 5 octombrie 2010

Blendern 3D - Shape Modeling Exercise #5 by Kernon Dillon

I saw this video tutorial by Kernon Dillon. Is a simple one , but just let us to know some modeling techniques. With a duration of 27 minutes, the tutorial must be seen by those who use this software.

Shape Modeling Exercise #5 - Wrapping an Object with a Lattice-style Mesh from Kernon Dillon on Vimeo.

vineri, 13 august 2010

OpenGL and Python - GLSL example

Today I played a bit with GLSL.
Here is the final result in the image below:

The source code used by me:

vertex shader
varying vec3 normal;
void main() {
  normal = gl_NormalMatrix * gl_Normal;
  gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
 }
fragment shader
varying vec3 normal;
void main() {
 float scale = 1.0 / 10.0;
 float frx = fract(gl_FragCoord.x * scale);
 float fry = fract(gl_FragCoord.y * scale);
 gl_FragColor = vec4(frx,fry,0.0,1.0);
 }