XML Feeds

.

[jitter] Re: Texture 3D buffer to videoplane

vade doktorp at mac.com
Mon Nov 5 10:09:36 MST 2007


Is there any way to add a slice to an existing 3D texture without  
uploading the whole 'cube'? This would afford huge speed gains.

If I bind an empty 3D texture, can I use sampler3D, force the last 3D  
coord to be 'constant' for the frame and pop in a sampler2D/2dRect?

Ive seen this technique before used outside of jitter, but I was under  
the impression (I believe I asked if 3D textures were supported,  and  
thought the answer was no) that sampler3D is not supported? So one can  
have 3D textures, not 3D samplers in a shader?

I somehow missed this thread until now as well. Awesome awesome patch.

So, in short, can I bind a jit.gl.texture @dim 720 480 60 with a   
sampler3D within a jit.gl.shader / slab?

I suppose I could have tried it in the time ive been writing this  
email. hah. Sorry. :)



On Nov 5, 2007, at 10:56 AM, Wesley Smith wrote:

> No.  You have to keep all instances around.  I beleive I posted a
> javascript that makes a circular buffer out of 2D textures.
>
> wes
>
> On 11/5/07, Tyler Nitsch <neurovous at yahoo.com> wrote:
>>
>> Thanks.... I already checked out Andrews patch awhile ago must of  
>> forgot his comment on updating 3D textures.  Very cool patch though!
>>
>> My work around for now involves creating a bank of textures t0, t1,  
>> t2.....  and then making a circular buffer through indexing each  
>> texture and sending video content.
>>
>> I tried to use just one texture and changing the @name before  
>> assigning a new matrix but as soon as you change the name it seems  
>> the old texture '@name old' is no longer available.  Is there  
>> someway of overriding this?
>>
>>
>> _______________________________________________
>> jitter mailing list
>> jitter at cycling74.com
>> http://www.cycling74.com/mailman/listinfo/jitter
>>
> _______________________________________________
> jitter mailing list
> jitter at cycling74.com
> http://www.cycling74.com/mailman/listinfo/jitter



More information about the jitter mailing list