View Single Post
# 4 15-12-2005 , 07:20 AM
Subscriber
Join Date: Jun 2004
Location: San Jose, CA
Posts: 490
Ok i got this one for the shelf, which works good.

Backface Culling On:
toggleSurfaceBackfaceCulling();


Backface Culling On/off:
string $Cursel[]=`ls -sl`;
int $bfc = `getAttr ( $Cursel[0] + ".backfaceCulling" )`;

if ($bfc == 0){
setAttr ( $Cursel[0] + ".backfaceCulling" ) 3;
print "Backface Culling Full";
}else{
setAttr ( $Cursel[0] + ".backfaceCulling" ) 0;
print "Backface Culling Off";}
-----


But I'm not sure how to use that script you posted. I went to Hot Key to try and upload it, but theres nothing to upload it. How do you use that? Paste it in script editor also?? If by doing that, how would I assign a key to it?