Fri, Nov 29, 5:11 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 29 1:45 am)



Subject: Need to make multiple objects invisible in camera


CaptainMARC ( ) posted Wed, 07 November 2012 at 7:40 PM · edited Mon, 25 November 2024 at 4:55 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!


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.