  | | | Replace sampleInfo | Replace sampleInfo 2003-12-01 - By Jeremy Fernsler
Back speaking of this and drifting off topic (sorry!) is there a listing of what nodes are faster and/or slower? Some chart that details these things?
-JF
On Dec 1, 2003, at 8:10 AM, Duncan Brinsmead wrote:
> I surprised it is so slow for you.. are you using getAttr calls inside > an > expression?(this would be slow) > At any rate you could try using the ramp shader. You can set the input > on > the color and incandescence ramps to be facing angle. This basically > is like > mapping facingRatio into the coordU of a ramp texture. The specular > Rolloff > gradient is always mapped to facingRatio and modulates both the > specular > lighting and environment reflections(this can be used to simulate the > Fresnel effect, where low refractive index materials are more > reflective at > grazing angles). Thus you have a great deal of control. Also the ramp > shader > should not be too much slower than a Blinn shader. It should be much > faster > than using ramp textures. In terms of applying textures you can map > any of > the ramp indices( this is not always obvious to people). > > Duncan > > > > -- --Original Message-- -- > From: maya-bounce@(protected) [mailto:maya-bounce@(protected)]On > Behalf Of NICK > Sent: Saturday, November 29, 2003 9:48 AM > To: maya@(protected) > Subject: Replace sampleInfo > > > hi > Who can tell me how can I replace sampleInfo Node ? > Our shader used sampleInfo face ratio ,but it make rendering so > slowly.So I wonder if we can use another mothed to replace sampleInfo > face > ratio. > > -- ---- ---- ---- ---- ---- ---- ---- ---- --- > ����ϷӮ�������MP3��U�� > http://mail.21cn.com/huodong/0310/ > ��HOT�������ţ���INʱ�п�ͼ������21CN�������� > http://news.21cn.com/huahua/ > �㶫ADSL�û�������21CN����������� > http://mail.21cn.com/huodong/0310/ > ��ľ�����ռǡ��������� װ���ֲ������ڶ� > http://news.21cn.com/social/ > > > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- > List-help: <mailto:listar@(protected)?Subject=help> > List-unsubscribe: <http://www.highend3d.com/maya/listserver/> > List-subscribe: <http://www.highend3d.com/maya/listserver/> > List-archive: <http://www.highend3d.com/maya/archive/> > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- > List-help: <mailto:listar@(protected)?Subject=help> > List-unsubscribe: <http://www.highend3d.com/maya/listserver/> > List-subscribe: <http://www.highend3d.com/maya/listserver/> > List-archive: <http://www.highend3d.com/maya/archive/> >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-unsubscribe: <http://www.highend3d.com/maya/listserver/> List-subscribe: <http://www.highend3d.com/maya/listserver/> List-archive: <http://www.highend3d.com/maya/archive/>
|
|
 |