Search:

Type: Posts; User: Vylsain

1. Thread: Ground fog algorithm

by Vylsain
Replies
5
Views
691

That's it ! That halfspace fog method works...

That's it !

That halfspace fog method works perfectly ! I had some mathematical problems to solve because my terrain is based on an ellipsoid.
The result is exactly what I was looking for : a...
2. Thread: Ground fog algorithm

by Vylsain
Replies
5
Views
691

Hehe ! Terrain and weather rendering is a really...

Hehe ! Terrain and weather rendering is a really interesting subject.

Your fog effect is looking really good. It's a good simplification if you're looking for a layered fog that will only be seen...
3. Thread: Ground fog algorithm

by Vylsain
Replies
5
Views
691

Thank you Brokenmind and sorry for the delay,...

Thank you Brokenmind and sorry for the delay, thought nobody had an answer.

I don't understand why b dissappears from the denominator since it is the result of the integration of exp(-b*Ky*t) from...
4. Thread: Ground fog algorithm

by Vylsain
Replies
5
Views
691

Ground fog algorithm

Hello everyone.

I'm trying to implement a ground fog shader for my terrain rendering engine.
The technique is described in this article : http://www.iquilezles.org/www/articles/fog/fog.htm

The...
5. Thread: Sharing contexts with GLX for multithreaded app

by Vylsain
Replies
2
Views
619

Oh ok. That's the first time I use theads and...

Oh ok. That's the first time I use theads and even though that's completely logical and the first thing to check, I missed that ! :whistle:

Thank you for your help mbentrup ! :)
6. Thread: Sharing contexts with GLX for multithreaded app

by Vylsain
Replies
2
Views
619

Sharing contexts with GLX for multithreaded app

Hello everyone.

I'm programming a flight simulator app and I have data for the whole world.
Then, there is a lot of textures and geometry to load so I made a background thread that dynamically...
7. Thread: Send a texture buffer to a shader

by Vylsain
Replies
4
Views
1,448

Yes you are right. I've been trying to use...

Yes you are right.

I've been trying to use that technique but I don't even understand how it works...

I'm very sorry that you lose your time.

Thank you.
8. Thread: Send a texture buffer to a shader

by Vylsain
Replies
4
Views
1,448

Thank you for your answer Alfonse. I ) THE...

Thank you for your answer Alfonse.

I ) THE BUFFER OBJECT

In fact, i tried the proper way before but without success. I was doing this :

glBindBuffer(GL_TEXTURE_BUFFER, m_bufferId);
...
9. Thread: Send a texture buffer to a shader

by Vylsain
Replies
4
Views
1,448

Send a texture buffer to a shader

Hello everyone.

I'm trying to send a texture buffer to my fragment shader. This texture buffer contains the coordinates of control points to make a Bézier interpolation in my shader.
These...
Results 1 to 9 of 10