# Search:

Type: Posts; User: alexxi

## Search: Search took 0.00 seconds.

by alexxi
Replies
1
Views
381

### Reading pixel intensities from a displayed image

I want to create a histogram of intensities 0.1, 0.2, .... 0.9, 1, from an image rendered using OpenGL and C++. How can I do this? Can I access the pixel intensities in the framebuffer somehow? Also,...

by alexxi
Replies
0
Views
462

### gluDisk bug?

gluDisk (gluNewQuadric(), 0.0, 10.0, 32, 32);

I am using the above call to gluDisk to draw a filled circle, however I always get a circle with a small hole in the middle. I used an inner radius...
3. ## Thread: glm::rotate a normal vector

by alexxi
Replies
1
Views
1,839

### Nevermind, the angle should be in radians and not...

Nevermind, the angle should be in radians and not degrees.
4. ## Thread: glm::rotate a normal vector

by alexxi
Replies
1
Views
1,839

### glm::rotate a normal vector

I want to rotate normal vector (0,0,1) by 90 degrees about the y-axis. I am using glm::rotate as follows:

vec4 normal = normalize(rotate(mat4(),90.0f,vec3(0,1.0f,0))*vec4(0,0,1,0));

but the...
5. ## Thread: 3D Poisson distribution

by alexxi
Replies
3
Views
2,739

### I am plotting points within that cube.

I am plotting points within that cube.
6. ## Thread: 3D Poisson distribution

by alexxi
Replies
3
Views
2,739

### 3D Poisson distribution

Is it possible to use C++'s poisson_distribution to sample 3D points within an axis- aligned cube?
7. ## Thread: NURBS and GLSL

by alexxi
Replies
1
Views
1,091

### NURBS and GLSL

I achieved NURBS texture mapping and lighting using the OpenGL fixed function pipeline. I am wondering if anyone has hints on how I can do this using GLSL vertex and fragment shaders?
Results 1 to 7 of 7