PDA

View Full Version : Xpresso object switcher problem..


shamhead
11-15-2010, 05:28 PM
Hi, I have a C4D file with an xpresso object switcher which hides objects based on a slider. This little setup no longer works in C4D R12 for some reason, and with me not being too smart when it comes to xpresso (I didn't create the original setup) I have no idea why. Help?!

Cheers

mayajunky
11-15-2010, 08:11 PM
Hmm not sure why that wasn't working in r12, am guessing something to do with the formula syntax possibly? Anyways, here's a different variation.

Rantin Al
11-15-2010, 08:56 PM
The visibility dots require a three step input option. A bool output only gives you 2.

Alan.

mayajunky
11-15-2010, 08:59 PM
yea but I'm only using two states, the default and hide. Then mapping the output of 1 & 2 through the condition. Should work just fine.

The bool doesn't actually have anything to do with setting the actual vis toggle in my setup example. It's just checking to see which object to single out of group based on the controllers index.

Rantin Al
11-15-2010, 11:03 PM
Ah. I see.

The problem is almost certainly the change in COFFEE syntax in 12. I am struggling trying to fix rigs which got broken, even between 10 & 11.5.

Check out the COFFEE Bible (http://forums.cgsociety.org/showthread.php?f=182&t=934756) by ScottA, it is in the scripting sub-forum. It gave me a bit of direction.

Alan.

shamhead
11-17-2010, 12:14 PM
Thanks very much for the alternative version mayajunky, I will sit down and learn a bit more xpresso sometime, though I've been saying that for years!

mayajunky
11-17-2010, 01:33 PM
Hey no problem, I had been looking for a reason to use that Object Index node!

CGTalk Moderation
11-17-2010, 01:33 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.