Splitting Screens and Physics Stuff

Sep 13, 2013 at 6:13pm

Splitting Screens and Physics Stuff

Hello, thank you for clicking and helping me. I have been using max for a little over a year now in a couple classes, so I am pretty ok at it. However I have ran into a little bit of trouble with my most recent project and I cant figure out how to do what I want. if you can help that would be amazing.

Basically I am trying to project stuff using one of the physics engines in max. However, more than just a singular projection I want to split up the frames within the jit.window. I want to be able to use just one projector for practical reasons(if i have to use two so be it) ,so I was thinking about taking two jit windows and interlacing them (dont know how to do this) the resulting thing would be something like:
this “lenticular” image.

http://blog.kidrobot.com/roa-lenticular-in-london/

from suggestions i have gotten to “engines” running, but still cant figure out how to interlace them like: http://farm4.static.flickr.com/3182/3005707516_78dabc91a1_o.gif
(However I want them to ber vertical instead of horizontal)

EDIT:
(it web site wont let me update patch for some reason?)
After some more fiddling I have realized my mac mini can support two video outs (duh!) so i can live with using 2 projectors. It would be better to interlace, but I wont look into it that much till after everything else has been figure out

***This is the part i need help with now***
The other part that is stumping me is the green circle that represents the mouse click within the patch so far. For one I would like to make it invisible so it is not in the frame. And also I want to be able to control it without mouse clicks (using a kinect x and z position) so i just need to figure out where i can stick some numbers to have it function based on position.

Anyway that was a mouth full, sorry if that was a bit long. Also sorry if the posts are a bit confusing, I am trying to get 2 different things done so im editing the op to cut down on forum submissions.

<code>

– Pasted Max Patch, click to expand. –

</code>

#265242
Sep 13, 2013 at 6:27pm

maybe render two different gl scenes, each one in a videoplane, then using different camera views with the viewport message : look at this video http://www.youtube.com/watch?v=DjWbh5dqJLw circa 28 seconds. Not sure it will be possible though, rendering different gl scenes in a same context (pwindow or whatever) is hard..; the solution would be to rendre the two things in the same context, but far geographically, and “cheat” with the gl.cameras….

#265243
Sep 13, 2013 at 7:26pm

thank you for the quick response! I got about half of the suggestion Vichug, but ill keep at it to try and interlace them. Currently it would work well with 2 projectors, but i want to see if i can get it to one.

here is the updated patch and if anyone has anymore thoughts on any of the questions i asked it would be greatly appreciated. (why is it getting a server error everytime i try to put up new patch or update op?)

#265244
Sep 13, 2013 at 8:44pm

So i found a not so slick work around that seems to be doing me well so far.in addition to just using two projectors and letting the physical sculpture i made do the interlacing work, I found that i can make the green middle mouse point disappear by simply moving it off the screen and then instead of it moving around relative to the position of the viewer, the attraction and repulsion of the objects goes up and down with the z position of the user. This should be enough to get what I want out of it. Ill continue to check up on this thread to see if any better cleaner solutions come up but for now i think i got it down. Thanks for the looks!

ps If any one has any links to some tutorials that cover how to make 3d objects in max i would appreciate it. I have some notes from last semester, but i am basically starting fresh. (I want to change the shapes in the original patch to my own thing instead of the preset shape objects.) Thanks again.

#265247
Sep 14, 2013 at 2:58am

hah… apart from the not hidden in the built in Jitter tutorials numbers 30 to 40 maybe, there is plenty o’hidden resources here, namely the jitter recipes http://cycling74.com/category/articles/jitter-recipes/ ; then some sparse pages on the wiki like here http://cycling74.com/wiki/index.php?title=00_Getting_Started_with_openGL and here http://cycling74.com/wiki/index.php?title=OpenGL_Preview_Window – though that one is just 2 days old, i suspect a series of tutorial to come at that place :)

#265257
Sep 14, 2013 at 2:59am
#265258
Sep 14, 2013 at 3:08am

Use 2 jit.gl.nodes attached to your 3d objects (middle inlet). Send these to two jit.gl.videoplane. Make two cameras. Make sure the rendering context is the same for everything. example. jit.gl.render world.
Make your jit.gl.window have a resolution of say 2048 x 768. Move both jit.gl.cameras and your good to go !

#265259

You must be logged in to reply to this topic.