[GEM-dev] glsl sample3d textures

cyrille henry cyrille.henry at la-kitchen.fr
Tue Oct 2 11:23:53 CEST 2007


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 at 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 at iem.at
>>>>> http://lists.puredata.info/listinfo/gem-dev
>>>>>
>>>
>>>
>>> _______________________________________________
>>> GEM-dev mailing list
>>> GEM-dev at iem.at
>>> http://lists.puredata.info/listinfo/gem-dev
>>>
>>>
>>
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perlin_ch_texture.zip
Type: application/zip
Size: 14669 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20071002/67b800c1/attachment.zip>


More information about the GEM-dev mailing list