Hi All ,
Is it possible within an otl to give the user the ability to duplicate an existing operator contained within the otl. You could say for example let the user define how many geometry operators they would like to create. Then on creation have the node connect to a predefined set of parameters at the top level of the users otl.
rob
Duplicate Nodes within an otl
4409 8 1- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
- Simon
- Member
- 2199 posts
- Joined: 7月 2005
- Online
- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
- Simon
- Member
- 2199 posts
- Joined: 7月 2005
- Online
Sorry, wasn't getting Object level from your first post.
I would say there is no way to do this then as you'd be changing the actual definition of the otl contents which would then propagate to all the other instances.
I suppose you could have a script that creates duplicate objects and added channel references back to a controlling otl object that just had the parameters on it….. but this would have to make the duplicates outside the otl not inside it, unless you unlocked the otl, which rather defeats the purpose.
I would say there is no way to do this then as you'd be changing the actual definition of the otl contents which would then propagate to all the other instances.
I suppose you could have a script that creates duplicate objects and added channel references back to a controlling otl object that just had the parameters on it….. but this would have to make the duplicates outside the otl not inside it, unless you unlocked the otl, which rather defeats the purpose.
The trick is finding just the right hammer for every screw
- goldfarb
- スタッフ
- 3455 posts
- Joined: 7月 2005
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
Thanks for the input , Ive built a basic shadow D map chunking tool for large scenes that uses a light template nodes as a base attached to a main key light. Currently I duplicate the lighting node to get 3 different resolution maps then I use the DSM function to merge them all.
The idea was just to give the user an option to create more shadow lights. On your advice I think it might have to be the case of giving the user a set amount of shadow lights to use for rendering !
r
The idea was just to give the user an option to create more shadow lights. On your advice I think it might have to be the case of giving the user a set amount of shadow lights to use for rendering !
r
Gone fishing
- Ondrej
- スタッフ
- 1072 posts
- Joined: 7月 2005
- Offline
circusmonkey
Is it possible within an otl to give the user the ability to duplicate an existing operator contained within the otl. You could say for example let the user define how many geometry operators they would like to create. Then on creation have the node connect to a predefined set of parameters at the top level of the users otl.
Yes, this should be possible. See the “Editable Nodes” field in the Type Properties dialog. I believe that if a subnet is editable, one can add or remove child nodes.
- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
- Simon
- Member
- 2199 posts
- Joined: 7月 2005
- Online
I think what Ondrej is saying isn't to unlock the whole asset just put a subnet inside and make that editable, then you can add as many nodes as you like inside it, presumably using a script. Didn't realise you could do that, I thought editable nodes were just for things like edit or paint sops, that's very cool to know.
The trick is finding just the right hammer for every screw
-
- Quick Links