XML Feeds

.

[jitter] normalize shader

Joshua Kit Clayton jkc at musork.com
Sat Oct 6 15:43:45 MDT 2007


On Oct 6, 2007, at 10:45 AM, vade wrote:

> Oh. that is a tasty bit of information. I had been doing readback  
> by specifying the dim size of the matrix the texture was going to,  
> thinking that would set the render context size or destination.
>
> does using dimscale (which, uh, would make sense considering the  
> name), do the same thing? How does jit.gl.texture and jit.matrix  
> come to an agreement on the pixel size of the readback?

Always best to leave the jit.matrix without arguments in adapt mode  
and use jit.gl.slab @dimscale to change dimensions on GPU before  
reading back to CPU.

If jit.matrix is not in adapt mode, there are some issues, but also,  
it does the downscaling on the CPU.

You might also want to check the jit.gl.slab-uyvy-readback.pat for an  
even trickier use of @dimscale and the rgb->uyvy shader for UYVY  
readback from the graphics card.

-Joshua


More information about the jitter mailing list