Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Replace sampleInfo

Replace sampleInfo

2003-12-01       - By Duncan Brinsmead

 Back
Reply:     1     2     3     4     5  

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/>