Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 11-12-2011 , 11:02 AM
Join Date: Oct 2011
Location: Zurich, Switzerland
Posts: 99

Camera Based Selection ona shortcut

Hi all,

I'm wondering if there is a possibility to put the 'Camera Based Selection' function on a shortcut or Icon on a shelf. I was searching for that but I have not found something's in the air user added image

Attached you will find an image showing what I mean. This command to not select faces in the background of the object.

Thank you in advance for an answer.

Attached Images

# 2 11-12-2011 , 05:50 PM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988
int $status = `selectPref -q -useDepth`; 

selectPref -useDepth (!$status); 

if ((!$status) == 0)
    print("Camera based selection is off.\n");
    print("Camera based selection is on.\n");
This will toggle it on and off. It will also print out whether it's now on or off.

Imagination is more important than knowledge.

Last edited by NextDesign; 11-12-2011 at 05:55 PM.
# 3 14-12-2011 , 08:38 PM
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Hold 'q' and the LMB and you will get a marking menu where you can access this. Very easy.

# 4 16-12-2011 , 02:28 PM
Join Date: Oct 2011
Location: Zurich, Switzerland
Posts: 99
@NextDesign & Stwert

Hey guy's! These are fantastic tips you gave me! Would try both and then choose m< preferred.

Many thanks for your help. Much appreciated!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads