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?
 
secondary ray

secondary ray

2005-03-30       - By Gerbrand Nel

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

still feels like it shouldn't work this way, if I make something 100 %
transparent but still have highlights running on it, everything behind that
object should be a secondary ray... because it's a refraction on the
transparent object, even if the index of refraction is 1 ??? does anyone else
agree????? the funny thing is it starts working the moment you change the index
of refraction. usefull sometimes but isn't that what the sprite shader is for??
??

G
 -- -- Original Message -- --
 From: Jim Rothrock
 To: XSI@(protected)
 Sent: Tuesday, March 29, 2005 8:00 PM
 Subject: Re: secondary ray


 Haarm-Pieter Duiker wrote:
   Transparency Rays aren't considered to be Secondary Rays. If you look in
the old "Progamming mental ray" book, Section 3.4 discusses the state and the
ray type variable state->type. Eye rays and Transparency rays are considered to
be primary. It appears, somewhat confusingly, that secondary rays are defined
to be rays generated at an intersection point. Guess the definition of primary
is overriding the definition of secondary in your case.
 When not using scanline rapid, mi_trace_transparent() generates a primary ray
.  When using scanline rapid, mi_trace_transparent() does not generate a ray at
all.  If you want a secondary ray, call mi_trace_refraction().

--
Jim Rothrock | Stan Winston Digital | jimr@(protected)


 __ ____ __ NOD32 1.1040 (20050329) Information __ ____ __

 This message was checked by NOD32 Antivirus System.
 http://www.nod32.com
 --- Unsubscribe? Mail Majordomo@(protected) with the following text in body
: unsubscribe xsi
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1>
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>still feels like it shouldn't work this way, if I
make something 100 % transparent but still have highlights running on it,
everything behind that object should be a secondary ray... because it's a
refraction on the transparent object, even if the index of refraction is 1 ???
does anyone else agree????? the funny thing is it starts working the moment you
change the index of refraction. usefull sometimes but isn't that what the
sprite
shader is for????</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>G</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
 <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV>
 <DIV
 style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
 <A title=jimr@(protected) href="mailto:jimr@(protected)">Jim
 Rothrock</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected)
 href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, March 29, 2005 8:00
 PM</DIV>
 <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: secondary ray</DIV>
 <DIV><BR></DIV>Haarm-Pieter Duiker wrote:
 <BLOCKQUOTE
 cite=mid5995792B428BD840906480B184A386CB011092D7@(protected)
 type="cite">
   <META content="MSHTML 6.00.2900.2523" name=GENERATOR>
   <STYLE></STYLE>

   <DIV><SPAN class=170290917-29032005><FONT face="Courier New"
   size=2>Transparency Rays aren't considered to be Secondary Rays. If you
look
   in the old "Progamming mental ray" book, Section 3.4 discusses&nbsp;the
   state and the ray type variable state-&gt;type. Eye rays and Transparency
   rays are considered to be primary. It appears, somewhat confusingly, that
   secondary rays are defined to be rays generated at an intersection point.
   Guess the definition of primary is overriding the definition of secondary
in
   your case.</FONT></SPAN></DIV>
   <DIV><SPAN class=170290917-29032005></SPAN></DIV></BLOCKQUOTE>When not
using
 scanline rapid, mi_trace_transparent() generates a primary ray.&nbsp; When
 using scanline rapid, mi_trace_transparent() does not generate a ray at
 all.&nbsp; If you want a secondary ray, call mi_trace_refraction().<BR><PRE
class=moz-signature cols="72">--
Jim Rothrock | Stan Winston Digital | <A class=moz-txt-link-abbreviated href=
"mailto:jimr@(protected)">jimr@(protected)</A>
</PRE><BR><BR>__ ____ __ NOD32 1.1040 (20050329) Information
 __ ____ __<BR><BR>This message was checked by NOD32 Antivirus System.<BR><A
 href="http://www.nod32.com">http://www.nod32.com</A><BR>--- Unsubscribe? Mail
 Majordomo@(protected) with the following text in body: unsubscribe xsi
</BLOCKQUOTE></BODY></HTML>