Forums > Jitter

What does "interpbits" mean for jit.repos ?

November 1, 2007 | 4:57 am

I am studying the reference of jit.repos.

I checked the reference, and it says:
interpbits: The number of bits considered as fraction for spatial mapping values (default = 0).

But I still cannot understand what it means. Ccould anyone explain for me a little bit more ?

Thank you so much.


November 1, 2007 | 9:45 am

It could be looked as a way to simulate floating point repos maps,
very handy thing if you want to make ‘antialiased’ repos:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 587 220 115 196617 jit.normalize @amp 16.;
#P newex 587 250 174 196617 jit.matrix 2 long 320 240 @interp 1;
#P user jit.pwindow 440 314 255 178 0 1 0 0 1 0;
#P newex 441 275 156 196617 jit.repos @mode 1 @interpbits 2;
#P newex 199 220 109 196617 jit.normalize @amp 4.;
#P newex 199 246 174 196617 jit.matrix 2 long 320 240 @interp 1;
#P user jit.pwindow 116 314 255 178 0 1 0 0 1 0;
#P button 382 68 15 0;
#P newex 382 89 122 196617 jit.noise 2 float32 32 24;
#P flonum 192 44 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 192 64 42 196617 rate $1;
#P message 252 44 96 196617 read colorbars.pict;
#P flonum 151 44 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 117 44 15 0;
#P newex 117 64 57 196617 qmetro 40;
#P newex 117 101 103 196617 jit.qt.movie 320 240;
#B color 5;
#P newex 117 275 92 196617 jit.repos @mode 1;
#P connect 8 0 12 0;
#P connect 8 0 16 0;
#P connect 12 0 11 0;
#P connect 1 0 0 0;
#P connect 1 0 13 0;
#P connect 15 0 13 1;
#P connect 13 0 14 0;
#P connect 16 0 15 0;
#P fasten 5 0 1 0 257 91 122 91;
#P connect 5 0 9 0;
#P connect 4 0 2 1;
#P fasten 2 0 1 0 122 94 122 94;
#P connect 3 0 2 0;
#P connect 9 0 8 0;
#P connect 11 0 0 1;
#P connect 0 0 10 0;
#P connect 7 0 6 0;
#P fasten 6 0 1 0 197 91 122 91;
#P window clipboard copycount 17;

On Nov 1, 2007, at 5:57 AM, Cheng Chien-Wen wrote:

>
> I am studying the reference of jit.repos.
>
> I checked the reference, and it says:
> interpbits: The number of bits considered as fraction for spatial
> mapping values (default = 0).
>
>
> But I still cannot understand what it means. Ccould anyone explain
> for me a little bit more ?
>
> Thank you so much.
>
>
>
>


November 1, 2007 | 3:07 pm

I found that the display of the right pwindow in the example patch becomess more smooth if the value of interpbits increases.

But I don’t understand what you want to show me with "mode 1" and "interpbits 2" examples put together.

Thank you so much.


November 2, 2007 | 12:01 am

>
> I found that the display of the right pwindow in the example patch
> becomess more smooth if the value of interpbits increases.

That’s the whole point.

> But I don’t understand what you want to show me with "mode 1" and
> "interpbits 2" examples put together.

ah, nothing. just the ‘interpbits’ part is relevant here.

>
> Thank you so much.

you’re welcome!


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