Forums > Jitter

Interpolation slab

Oct 27 2009 | 9:16 am

Hello Im trying to get an uninterpolated slab chain.
If I go from to with filter argument on nearest this works, If I put in a it does not.
How do I get the slab object to not interpolate the image?
I attached an example.
Many thanx

Oct 27 2009 | 4:36 pm

You need to send the "filter nearest" setting to the internal output texture of To do this, you can use "sendoutput filter nearest". Another way to accomplish this is to alter the GLSL in the shaders to use "floor(texcoord0)". This will give you truncated texture coordinates for the texture lookup.

Andrew B.

Oct 27 2009 | 10:49 pm

Hello Andrew, thanx a lot! Have been looking for this solution in the help and reference, but could not find it. Are these kind of commands listed somewhere?
Best Lev

Oct 27 2009 | 11:12 pm

Any message you would normally send to a object can be sent to the internal output texture using "sendoutput"


Oct 27 2009 | 11:23 pm

Aha, that is great to know. Thanx a lot. Best Lev

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > Jitter