Hi all,
I have a static scene where the only thing that changes on each frame is the color of each vertex. I'm using VBO and GLSL for drawing my scene. The color array is calculated on each frame,...
Type: Posts; User: saam_b
Hi all,
I have a static scene where the only thing that changes on each frame is the color of each vertex. I'm using VBO and GLSL for drawing my scene. The color array is calculated on each frame,...
Can you give my some example, I'm a bit confused... I know about attributes but can I use them with VBO and VAO?
Hi everyone!
I have an application where I calculate an array of 16 floats per vertex and now I need to send these arrays to my shader program to do the further calculations. I have no idea how to...
Thanks for your replies!
Actually my image sequences are in EXR format and they're quite large without compression and I'm now looking for the best way to resize and filter it on GPU. So I have...
Hi!
I'm trying to load a series of image sequences in my openGL program to do further calculations on them in my shader. these image sequences will produce an animation. My question is if it is...
ok now I have another problem!
I'm loading a HDR texture with EXR format in my program by the following code:
bool loadTexture(const char *path)
{
Imf::Rgba * pixelBuffer;
GLuint...
This was the problem I had, now It's fixed :)
http://www.geeks3d.com/20101002/tips-how-to-quickly-test-glsl-shaders-for-ati-on-a-nvidia-system/
Hi,
I have the following fragment shader:
varying vec3 oNormal;
varying vec3 oVertexP;
Tnx for your explanations, but I've calculated the linear depth in one stage and saved the result on a texture and now in my program I have to convert this depth from texture coordinate to eye-space...
Hi!
I have a very basic but confusing question. I want to project an Eye-space radius on the image plane but I'm confusing about these projections. Can someone explain me more about image space...
it's always good to know where you're making mistake! tnx a lot for your explanation! :)
tnx! :)
Problem solved!! I made a stupid mistake by creating the texture before initializing glut!! you code works perfectly Rosario Leonardi! tnx a lot! :)
First tnx for your help! I also tried your code but I can't see the image any more, I know I'm mixing sth with these conversions...
this is my Color class:
class Color
{
public:
yeah that can be what i want! A 4*4 matrix can work too, but is there any other ways without using VBO? I'm don't know about vertex buffers and try to not to use it.
Can you explain why it's not a good idea to use ARB?
I've tried what you said, and it is still not working, actually the code for reading the file is taken from PBRT and I'm sure it is correct, but I don't know how I have to assign in to a texture....
Hi, I'm having trouble with setting up a texture which I've read from the OpenEXR file. It's a HDR light probe image and I'm trying to set it as a texture of a big sphere for showing it as my...
Hi, I have two questions, I am implementing spherical harmonics lighting and trying to use GLSL for the real time part. I have an array consisting of 16 element with type of Color. Color is a class...