Rotating clouds
-
i noticed that the clouds are rotating while moving my head with trackIR…
-
“Normal”. Cloud are sprites.
-
that happend even in DCS
I have not tested DCS 2… yet…
-
IIRC Clouds in the flight sims are pictures always looking at the camera, so they rotate especially when I perform a loop maneuver.
However, I never saw clouds rotating at IL-2 BOS.Also newer graphic engines seems to have a way to draw non rotating clouds.
Could anyone tell me how these games and tools drawing clouds so natural? I guess they are drawing a mass much smaller pictures, are they?
-
Clouds in BOS etc are volumetric. They are not sprites but 3d textures. They don’t rotate because they have a 3d matrix that doesn’t need to be rotated towards the camera like billboards do (think grass, vegetation, 2d clouds). They draw based on volume which has 3d coordinates.
A kin to:
-
here’s a paper about it:http://http.developer.nvidia.com/GPUGems/gpugems_ch39.html
-
Thanks reiser, I read a paper you posted and also searched for another articles about 3Dtextures, volume rendering, etc…
They were still hard for me to understand(I could imagine 2D texture slice but what is 3D texture?) the idea but really interesting. -
Thanks reiser, I read a paper you posted and also searched for another articles about 3Dtextures, volume rendering, etc…
They were still hard for me to understand(I could imagine 2D texture slice but what is 3D texture?) the idea but really interesting.Think of a 3d texture as a 2d texture with “layers” like you see in photoshop or the like. X,Y defines the pixel colors, Z defines the depth through the layers (usually 16, or 32 layers).