PDA

View Full Version : extending shadow casting/receiving


le1setreter
09-04-2009, 08:58 AM
hi all,

i stumbeld over a certain problem many times and now realise it is not only me.

i am thinking about creating a script that does the following:

open an include/exclude dialog that gives the ability to toggle shadow casting/receiving for different objects. it is not meant to toggle for one object but to toggle for the interacting with other objects (like you can include/exculde lighting or shadowing of lights).

is it possible? where can i start to find the needed properties? can someone point me into the right direction?

many thanks in advance
-le1se

AkramParvez
09-04-2009, 09:35 AM
I dont know whether you are talking about this, every object has a castshadows and receiveshadows property. You can write a script which will switch on or off this property. You can find more info on it in "General Node Properties" Maxscript Help.

le1setreter
09-04-2009, 01:35 PM
sorry, i think i did not explain myself very good. sorry for bad english...

what i want to do is to say for example that object1 is casting shadow on object2, object3 and in the same render not on object4 and object5. i dont want to toggle the "general" shadowcasting what is for all objects in the scene.

CGTalk Moderation
09-04-2009, 01:35 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.