Notifications
Clear all

[Closed] extending shadow casting/receiving

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

2 Replies

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.

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.