0
votes
1answer
66 views

OpenGL Shaders Generate Colors

I have a sprite 10x10 pixels. How can i change colors with shaders-programm in real-time. All the blue color on the sprite turned to green. All the green color on the sprite turned to white. ETC... ...
0
votes
4answers
157 views

GPGPU for 3d math

I am reading a lot about gpgpu and I am currently learning OpenGL. Now that I have to write all math by myself (or use an existing 3rd party library) I had the idea of using the gpu instead of the cpu ...
0
votes
0answers
203 views

Per vertex mesh deformation

I am doing a project where i want to have i vertex buffer (in opengl) where I have vertices that make out a mesh of an image. Meaning that each pixel of the image consists of two triangles (a square ...
0
votes
2answers
331 views

GPU programming for image processing

I'm working on a project aimed to control a bipad humanoid robot. Unfortunately we have a very limited set of hardware resources (a RB110 board and its mini PCI graphic card). I'm planning to port ...
-1
votes
5answers
150 views

What do the OpenGL extensions do? [closed]

I have come across a lot of these for GPU Programming in OpenGL. How do they work. A working example from the hyperlink (OpenGL registry) would help. How can one write such extensions?
1
vote
2answers
1k views

GL/CL interoperability: Shared Texture [closed]

I intend to make Graphics calculation with OpenCL such as ray casting, ray marching and others. And I want to use OpenGL to display result of this calculations (pixel images). I use texture buffer ...
2
votes
1answer
215 views

Will i use the power of GPU when using a OpenGL program?

I've got a pretty old ATI HD 3400 video card , which have no support of OpenCL , so i'm wondering if i can actually play around with OpenGL libraries provided by ATI catalyst driver ? If my algorithm ...
2
votes
1answer
332 views

GLSL fragment processing order for full screen quad

I'm using GLSL for some image processing stuff, so drawing a full screen quad and doing processing in the fragment shader. I'm wondering if we can expect fragments to be processed in any particular ...
3
votes
3answers
989 views

How are Direct3D and OpenGL instructions handled in a graphics card?

I am trying to understand better how GPUs work, and I am confused about how they handled high level APIs like Direct3D or OpenGL. It is very common to see graphic cards advertising they support ...
1
vote
1answer
429 views

Uploading Vertex and Index buffer to the GPU

I am creating a terrain engine and currently I am uploading the whole terrain VB (Vertex Buffer) and IB (Index Buffer) to the GPU at once since the terrain is not huge. It's 256x256 at the moment. ...
3
votes
5answers
1k views

can i calculate normals in gpu?

I have an opengl application that loads a dxf and draws it on the screen, each time i need to calculate normals. is there a way to calculate normals in GPU instead of CPU ? if so how ?