Interpolation slab

Oct 27, 2009 at 9:16am

Interpolation slab

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 at 4:36pm

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 at 10:49pm

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 at 11:12pm

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


Oct 27, 2009 at 11:23pm

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


You must be logged in to reply to this topic.