This exemple use a 2D texture in order to create a 2D perlin noise. extending it to 3D should be easy with a sampler3D.
cyrille
marius schebella a écrit :
do you have any examples for that? otherwise, I hope I will figure out myself. marius.
cyrille henry wrote:
marius schebella a écrit :
hmm, did not think about that, how are 3d perlin noise textures rendered then? are they rendered in realtime? only one frame? marius.
if you have a 64x64x64 noise sampler, it's quite easy to compute perlin noise in real time.
cyrille
chris clepper wrote:
There really isn't 3d texture support in GEM. Now that GPUs have a fair amount of RAM it might be a good feature to add (512x512x512xRGBA is a lot of memory).
On 10/1/07, marius schebella marius.schebella@gmail.com wrote:
hi again, how can I create and/or load 3d textures (like 3d perlin noise) to a glsl program, so that I can use them for sampler3d textures? marius.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev