Getting Barry Threw's GL SlitScan patch work in Max 6?

Tyson's icon

I modified Barry Threw's GL SlitScan patch last year and had a lot of fun making slit scan images with it. I thought I'd try it out in Max 6 but sadly something has changed with one of the GL objects that prevents it from working properly. I suspect it may have something to do with op.add.jxs file but I really don't know where to dig to find out about .jxs files.

Any help would be appreciated!

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

Patch below copied from original, which can be found at: http://www.barrythrew.com/software/

Simon's icon

That's a favourite of mine,lovely patch, works here
Even better with a live cam input !

Assuming you still have it on your machine, try putting the Max 5 folder in your Max 6 file prefs

hth
Simon

Tyson's icon

Thanks for your reply Simon!

So are you suggesting putting my entire Max 5 folder in the File Preferences search path? I must be misunderstanding you because that leads to the very problematic situation of having Max 6 seeing both Max 5 and Max 6 versions of every Max Object.

That's strange to me that it runs fine for you. Are you on Mac or PC?

I have two different MacBook Pros (2008 and 2012 Retina) that I've tried running it on, both with Max 5 and Max 6 installed. In fact I've had the patch running in both Max 5 and Max 6 simultaneously on each computer with the exact same result. The issue is that the resulting image in Max 6 is blown out as if there is an additive video feedback loop in the process.

Attached are screenshots from both of my computers that shows the unexpected behavior.

Thanks for any advice!

4512.MaxScreenSnapz001.jpg
jpg
Simon's icon

Tyson,
I am sorry please disregard file advice above , I'm a fool not paying attention. I glanced at my prefs & mistook path statements.
However I do still have that patch working. Although, strangely if I paste the version that you posted it won't work ( or should I say works as you detail) UNTIL I save it to disk & re-load.Weird.
Further investigation necessary!

You could try emailing Barry.

Tyson's icon

Simon,

Thanks for your reply! No problem about the advice, I thought I perhaps just misunderstood.

I've tried re-saving and reloading the patch after reading your post, but unfortunately it hasn't started working for me. I've started to rebuild it from scratch, manually setting attributes and parameters as I go to try and see if there's some default setting that has changed between versions 5 and 6. You're 'worked-after-saving' makes me think perhaps that might be the case.

But I will also try emailing Barry as well!

Thanks for your help and I'll post a fix once I find one.

Best,
-Tyson

Tyson's icon

Okay, so I guess my hunches were (somewhat) right and I've managed to fix the patch.

After I found a help patcher for the op.add.jxs file, I found that the 'inscale' and 'in2scale' parameters for op.add.jxs could produce the blown out effect I've been seeing. It turns out that the 'in2scale' was the problematic parameter. It seems as though the effect of this parameter has changed in Max 6 and so while it functions as expected in it's default value of 1 in Max 5, it must be set to 0 in order to work in Max 6. So on the slab object with the op.add.jxs, I've added the correct value for the 'in2scale' parameter. My correction is pasted below.

I'm still not sure why your's just works, Simon... but at least I'm back in business as well.

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

Thanks.

Tyson's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Oops. Left a bit of my diagnostics in that one. Here it is all cleaned up:

waveollie's icon

"That's a favourite of mine,lovely patch, works here
Even better with a live cam input !"

Would you happen to know to get a canon dslr to be the live cam
for this slit scan patch?

What is the most effective way to have a live cam input for this kind of a patch?
Any info is helpful appreciated.
Thanks!

Wetterberg's icon
Max Patch
Copy patch and select New From Clipboard in Max.

dirty edit to change the .movie object into jit.qt.grab :