MAXON CINEMA 4D: Cinema 4D Forum Adobe After Effects Forum

Python / xpresso question

COW Forums : Maxon Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Kenny McAndrewPython / xpresso question
by on Feb 25, 2012 at 10:39:51 pm


I've built a rotating carousel style menu in Cinema 4D which works well. I'm stuck on how to dynamically add menu items onto the 'panels' I've created. Ideally I would like to have either a set of textures or objects which could be added to the menu panels as required. Is there a way to do this?



Return to posts index

Greg BurrusRe: Python / xpresso question
by on Feb 27, 2012 at 12:17:51 pm

It sounds like you need to use an iterator node in xpresso, like the objectlist to add items you put in a list and then iterate through them and apply them to you items. That would be one way for objects.

As for textures the quick way would be using a multi shader somehow on your dynamic objects. That way you could just load them and apply them all at once to your menu items. You can pull the items through the multi shader through xpresso too but I haven't found a easy way to do it with all the shaders at once yet.

I'm sure there's a way to do it through python but I only know tiny bit right now. If your interested in learning more check out the links below. - Blog - Portfolio

Return to posts index

Kenny McAndrewRe: Python / xpresso question
by on Feb 27, 2012 at 1:29:58 pm

Thanks Greg, I'll see if the ObjectList node can do this, I haven't used that one yet. Thanks also for the links.

My Python node is set up so that it can output a number from 1 to 12(representing the object I need to target), I'm still a bit stuck on what syntax I can use to link this to an object elsewhere in the project.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 All Rights Reserved