a circular plane (how simple should that be?)

phiol's icon

Hi

I'm an extreme newbie in jitter.

I've been on this one for hours. And after searching the forum and trying out different things, I semi give up and come here for help.

Is creating a circular plane doable w. [jit.gl.videoplane]?
I haven't found how?

Also, i've tried selecting a circle shape w. [jit.gl.texture] but then the video's motion is displayed in a circular manner!

All I want is a circular plane.

OR
maybe even better would be to have a circular (fade to black) shader on top, surrounding of my vid.

I'm sure this is extremely simple for most if not all of you.

Any help you be greatly appreciated.

Thanks a million

phil

phiol's icon
Rob Ramirez's icon

jit.gl.gridshap @shape sphere @scale 1. 1. 0.0001

otherwise, not sure what you are asking.

phiol's icon

Hi Robtherich

thanks for the reply. here is a patch, hopefully, better displaying what I want.

Thanks again

Max Patch
Copy patch and select New From Clipboard in Max.

Rob Ramirez's icon

try @texmap 1 or 3 on your gridshape, and search the forum for the texcoordmagic patch

phiol's icon

Hi robtherich,

Thanks for the hint. I tried your tex_map (0-3) on a circle in [jit.gl.gridshape].

Here let me tweak-change what I want. How do you put a mask on top of a jit.videoplane.

Instead of describing what I want, you can see it the jitter tutorial 1.6 documentation that was included w. max 4.6 on

p.475
gaussian

p.476
lanczossinc

p 479
cubic

So, is there a way to put a vid instead of where is white in the above pictures.

Endless thanks

phil

phiol's icon

I think I'm getting closer to what I want.

So when using the jit.gl.imageunit w. the Gaussian Gradient effect i get the circular mask I want.
The only problem now is: THERE IS NO MORE CLIP TO BE SEEN!!?
How would it be possible to see my clip w. this effect?

W. the spotlight effect you can see still see the clip but the spotlight shape is not circular.

I,m sure this is so easy for most of you. A joke even.
But not for me , not @ all.

If anyone feels he can help I would greatly appreciate it.

thanks

phil

Andrew Benson's icon

Hello,
Included with Jitter Recipe 38: BrightLights is a shader called ab.spotmask.jxs. This can be used to create a circular alpha mask for your texture with a feathering option. The recipe can be found here:https://cycling74.com/story/2006/2/17/153427/406

And here is an example of a way to use it in the way you want:

Max Patch
Copy patch and select New From Clipboard in Max.

phiol's icon

Thanks a lot Andrew.

Only problem is, is that i'm on max 4.6. Can you recipe been done in 4.6 ??

thanks again.