[Sidefx-houdini-list] Houdini Mental Ray Setup

Jan Walter jwalter at d2.com
Tue Feb 28 12:52:27 EST 2006


... contains some help with how to compile and where to put the files ...

... and Mark is right. I use:

 > mids -l ~/houdini8.0/otls/OPmentalray.otl *.mi

... to install all my (.mi) header files into one library which can be 
installed within Houdini via File->Install Operator Type Library ...

With .mi header file I mean a file like this:

declare shader
        color "mi_dd_default_surface" (
                scalar          "Ka",
                scalar          "Kd"
        version 1
        apply material
end declare

Which is NOT a .mi file you would render from the command line BUT a 
description of your shader (name, parameters, type, etc.). For Maya you 
can use similar header files (with comments for default values), for XSI 
you would have to create a SPDL file, but we are dealing with Houdini 
here. So "mids" uses those header files to create the OTL library which 
will place your shaders into the proper section of SHOPs ...

I hope that helps ...



Jaideep Khadilkar wrote:

>Hi Everybody..........
> Wanted to ask some thing abt Houdini MentalRay setup. I went thru the docs at odwiki. They r good, but I have some doubts. 
> After creating shader declaration file(mi file) we create C Skeleton from it using mkmishader tool. Then we create ds (Dialog Script) from mi File. And Keep it in houdini/shop location. Then we specify the ds file in SHOPsurface file. I got everything right upto this point. But how to use the C file we created. We have to compile it, right ???? How to compile it. If not, where to keep the mi and C file. 
> how to link the ds file with the C file?????? 
> Waiting for ur Reply.
> ----------iamjaideep80
> Jaideep Khadilkar
> TD,Sciclone Motion Graphics
>Yahoo! Mail
>Bring photos to life! New PhotoMail  makes sharing a breeze. 
>Sidefx-houdini-list mailing list
>Sidefx-houdini-list at sidefx.com

More information about the Sidefx-houdini-list mailing list