|
![](/i/fill.gif) |
Barehunter nous apporta ses lumieres en ce 2005-03-06 09:16:
> if a named object/variable in an inc file shares the same name as one in a
> different inc file, and they are both used in the same pov file, will they
> interfere with each other? Let me explain. I have been commissioned to
> render a certain webcomic artist's characters. I put each character in it's
> own inc so I can do the various comic in 3D. I use variables like
> "RightUpperArmTurn". So farI have only done each character separate. But
> soon I will have to do scenes containing more then one character. If I
> render as is, will the RightUpperArmTurn of the first character effect the
> second? or vice versa? If necessary, I can go thru each inc and put the
> character's initials at the start of each variable but that would be a pain
> in the butt.
>
>
The last deffinition will override any previous one, but anything that used that
variable before
will be left unchanged.
If the variable is suposed to only be used inside the include, you may use #local
instead of #declare.
You can include each file just before it's actualy used.
Alain
Post a reply to this message
|
![](/i/fill.gif) |