Select Camera for facing ratio?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  08 August 2004
Select Camera for facing ratio?

Hi, assuming you have at least two cameras in your Maya scene, I would like to know a way of choosing which camera is influencing the facing ratio in the samplerInfo node.

Cheers

Michael
 
  08 August 2004
The one that you render from.
 
  08 August 2004
do you mean if you want the effect to use a different camera than the one you choose??
__________________
Designer ✦ Developer
 
  08 August 2004
Yes I mean I can't see a way of _choosing_ a camera for the facingRatio, as it seems to automatically choose the rendering camera. I want to use the same camera that is being used by a camera projection texture, not the rendering camera.
 
  08 August 2004
Just use a ramp texture to control whatever you are doing then, the facing ratio function deals with angle dependency based on the rendering cameras eye, not secondary cameras.
__________________
Light & Stuff
Think for yourself, question authority.
 
  08 August 2004
Yes but in this case I wish the facingRatio angle dependancy to be driven by a secondary camera. Is there some way of wiring this up by using the projectionCamShape node in the Hypershade? This is just a guess. I find it hard to believe that there is not a way of doing this in a program like Maya.

The reason I want to do this is to limit a camera projection texture only to the visible surfaces of the geometry receiving it. Disabling 'wrap' in the projection node does not work if perspective projections.
Another way of doing this is to place a light in the same position/orientation as the projecting camera and use the light's shadow as data for a surfaceLuminance node to determine areas that are not receiving the projection.
However it would be nice if you didn't have to create the light in order to do this. By using facingRatio and a ramp with no interpolation, then utilising this as a mask for the projection texture, the same result could be achieved.

Last edited by Blur1 : 08 August 2004 at 09:19 AM.
 
  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 10:38 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.