PDA

View Full Version : RAY TYPE SHADER need help to get ray type to work


threedfxman
05-10-2009, 11:02 PM
ok i got it installed but the part of the instruction where it says to modify this confuses me anyone know how to get it to work


- Copy DSO file into "alias/maya/mentalray/lib" (DLL for Windows / SO for linux)
- Copy MI file into "alias/maya/mentalray/include"
- Copy the Icon file into a standard maya icon directory.
- Copy the MEL file into a standard maya mel script directory.

- Modify "alias/maya/mentalray/maya.rayrc" with the two following lines, both of them comes after the
standard link and mi lines:

link "{MAYABASE}/lib/RayType.{DSO}"

mi "{MAYABASE}/include/RayType.mi"

djx
05-11-2009, 12:57 AM
What version of maya?
In recent versions (8.0 and later I think) you do not need to change maya.rayrc. Just put the .dll and .mi and .xpm (and maybe AETemplate) in the correct folders.

However if you do have a recent version of maya then maybe you should consider using mip_rayswitch instead.

-- David

threedfxman
05-11-2009, 07:46 AM
Does that come in maya

threedfxman
05-11-2009, 08:29 AM
was a little tricky im a script virgin lol but it worked great

CGTalk Moderation
05-11-2009, 08:29 AM
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.