I've got an interior scene (a large lobby) that looks out to a fully enclosed courtyard. Both are modeled in two different scenes and mostly due to timing, don't exactly line up with each other so fully merging the scenes is not an option. What I have set up is the exterior courtyard scene xref'd into the lobby and I planned to clip out the part of the exterior that the interior occupies. So I need to have the VRayClipper only affect the exterior part and not the interior. However, because the exterior is an xref I can't add that as an "include" in the VRayClipper object. OK I thought, I'll just put the clipper into the xref'd exterior scene and set it's "include" there. No luck though as it seems that it doesn't really respect the include/exclude when use it his way.
Complicating all of this is that both scenes are still a work in progress so I can't really bake in any solution. One way I've gotten around it is to have the VRayClipper in the Lobby scene and set the exclude list to include everything in the scene. Because the exclude list doesn't see the xref objects it works fine. But as I'm still working in the scene I continually have to be adding those objects to the exclude list which his a PITA. I even tried scripting the "Exclude" list with a prerender script that loads all scene objects ($*) into the exclude list but amazingly that doesn't work. If I run the script normally it works fine but if it runs as a prerender callback it somehow adds all of the xref'd scene objects as well and everything gets excluded (as if the clipper wasn't enabled)!!
Does any one have an idea of how I could get this to work or another workaround?
Complicating all of this is that both scenes are still a work in progress so I can't really bake in any solution. One way I've gotten around it is to have the VRayClipper in the Lobby scene and set the exclude list to include everything in the scene. Because the exclude list doesn't see the xref objects it works fine. But as I'm still working in the scene I continually have to be adding those objects to the exclude list which his a PITA. I even tried scripting the "Exclude" list with a prerender script that loads all scene objects ($*) into the exclude list but amazingly that doesn't work. If I run the script normally it works fine but if it runs as a prerender callback it somehow adds all of the xref'd scene objects as well and everything gets excluded (as if the clipper wasn't enabled)!!
Does any one have an idea of how I could get this to work or another workaround?
Comment