CaptainMARC opened this issue on Nov 07, 2012 · 6 posts
CaptainMARC posted Wed, 07 November 2012 at 7:40 PM
There are some funky scripts that will delete or hide multiple things.
But I want to make them invisible in camera.
Is there anything out there?
The problem: I have a complicated city scene: figures, background figures, buildings, cars, props... hundreds of the blighters! I want to chromakey real footage of a person so that he's sitting in a Poser car. I have split the car in two, back end and front end. I make the front end invisible, render, overlay the chromakeyed footage in post, now I just have to render the front end only and overlay to get my composite scene. But I want all possible shadows and reflections on the front end. So I want to uncheck "Visible In Camera" on nearly everything.
Actually, a simple script that made everything invisible in camera would be fine. Then I could just reset the one or two objects I want to actually render.
Anybody got one?
(I am dreading having to go through hundreds of figures/props and unchecking "Visible In Camera" on each one...)
willyb53 posted Wed, 07 November 2012 at 8:10 PM
I have not tested this extensivly, just a quickie
import poser
scene = poser.Scene()
actors = scene.Actors()
for actor in actors:
actor.SetVisibleInCamera(0)
scene.Draw()
It seems to work for me
Bill
People that know everything by definition can not learn anything
Miss Nancy posted Wed, 07 November 2012 at 8:35 PM
also, if one clicks universe eye icon on hierarchy editor, everything goes invisible, then click eye icons of desired objects to make them visible.
CaptainMARC posted Wed, 07 November 2012 at 9:17 PM
@willyb53
Looks good mate, I'll give it a shot.
@Miss Nancy
Errrrr, perhaps I'm being a bit thick, but doesn't that just make the items visible/invisible? I need a different option, I need to uncheck "Visible In Camera", not "Visible". I want the objects to be not rendered, but still be in reflections and shadows. Clicking the eye in the heirarchy editor takes them completely out of the game, doesn't it?
Anyway, much obliged for the swift replies (honestly - crikey! - what a fab community!), I'll see how I get on and report back...
Miss Nancy posted Wed, 07 November 2012 at 11:54 PM
sorry about my misteak, m'lud. let us know when you post the animation. the part about the car properly shadowing the figure will be most interesting.
CaptainMARC posted Thu, 08 November 2012 at 4:29 AM
@willyb53
It seems to have worked! Rendering right now, looking forward to some results.
@Miss Nancy
Oh dear! I hope you don't think I was being ironic or rude in any way! Sincere apologies if I gave that impression. I honestly thought that I might have made an oversight. I am, after all, quite a beginner at this 3d lark.
If all goes well I'll post a sample tomorrow. Big thanks for the help!