# MR Shader writing

**URL:** https://forum.highend3d.com/t/mr-shader-writing/60985
**Category:** Xsi
**Tags:** rendering
**Created:** [October 2, 2000, 3:45pm UTC](https://forum.highend3d.com/t/mr-shader-writing/60985 "2000-10-02T15:45:55Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![shin-1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/s/a9a28c/32.png) [@shin-1](https://forum.highend3d.com/u/shin-1)
#### Post date: [October 2, 2000, 3:45pm UTC](https://forum.highend3d.com/t/mr-shader-writing/60985/1 "2000-10-02T15:45:55Z")

</div>

Hi All,

Does anyone knows good website for MR Shader writing tutorials? I bought Programming Mental Ray, but I need little more user-friendly tuotorial based writing. Thank you.

---

<div class="post-metadata">

### Author: ![shin-1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/s/a9a28c/32.png) [@shin-1](https://forum.highend3d.com/u/shin-1)
#### Post date: [October 2, 2000, 11:02pm UTC](https://forum.highend3d.com/t/mr-shader-writing/60985/2 "2000-10-02T23:02:23Z")

</div>

Oh yes, another thing is can XSI license user access stand alone Mental Ray renderer?

---

<div class="post-metadata">

### Author: ![fredc](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/ad7895/32.png) [@fredc](https://forum.highend3d.com/u/fredc)
#### Post date: [October 3, 2000, 12:23pm UTC](https://forum.highend3d.com/t/mr-shader-writing/60985/3 "2000-10-03T12:23:34Z")

</div>

You ask “can XSI license user access stand alone Mental Ray renderer?”  
It sounds like you are asking if you can execute MR renderings from the command line without XSI running.

Check out Chapter 4 in the XSI Rendering document. It has some details on doing this. Note: The syntax has changed from how 3D worked. All documentation is on CD’s if you don’t have hard copies handy.

Hope this helps,  
Urp

---

<div class="post-metadata">

### Author: ![shin-1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/s/a9a28c/32.png) [@shin-1](https://forum.highend3d.com/u/shin-1)
#### Post date: [October 3, 2000, 3:26pm UTC](https://forum.highend3d.com/t/mr-shader-writing/60985/4 "2000-10-03T15:26:44Z")

</div>

Thank you for the reply Urp!  
What I want to do is to use Mental Ray just like BMRT or Renderman. Writing script and linking to the library. Running Ray2.exe only gives me no license fatal error.  
Can I write shader and link it within XSI?  
Any idea?

---

<div class="post-metadata">

### Author: ![fredc](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/ad7895/32.png) [@fredc](https://forum.highend3d.com/u/fredc)
#### Post date: [October 3, 2000, 6:02pm UTC](https://forum.highend3d.com/t/mr-shader-writing/60985/5 "2000-10-03T18:02:22Z")

</div>

I haven’t had a chance to get into that area. All my shaders are built inside render tree and render from within XSI. There is a book on MR2 on Softs web site, but otherwise I don’t have much info. for you.

Sorry, I can’t be of more help. If you have maintenance, you might try soft. Perhaps Eric on the [www.xsistation.com](http://www.xsistation.com) could give you some ideas on resources.

Urp

Urp

---

<div class="post-metadata">

### Author: ![shin-1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/s/a9a28c/32.png) [@shin-1](https://forum.highend3d.com/u/shin-1)
#### Post date: [October 3, 2000, 9:32pm UTC](https://forum.highend3d.com/t/mr-shader-writing/60985/6 "2000-10-03T21:32:04Z")

</div>

Thanks a lot Urp!  
I have programming Mental Ray and Rendering with Mental Ray.  
Since I can’t run Mental Ray as a stand alone, I can’t really try anything in the text… I will try xsistation.

---

<div class="post-metadata">

### Author: ![fredc](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/ad7895/32.png) [@fredc](https://forum.highend3d.com/u/fredc)
#### Post date: [October 4, 2000, 1:17pm UTC](https://forum.highend3d.com/t/mr-shader-writing/60985/7 "2000-10-04T13:17:33Z")

</div>

One thing to give you hope is that it would not be practicle for XSI not to allow MR to run seperately. The overhead of the interface would never be of use in large production rendering.

Also the fact that MR is really a seperate product anyway.  
So, there must be a solution. It just may be that XSI is so new that a work flow hasn’t been defined well yet.

Good luck finding a solution.  
Urp

---

<div class="post-metadata">

### Author: ![heydiddlediddle](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/h/49beb7/32.png) [@heydiddlediddle](https://forum.highend3d.com/u/heydiddlediddle)
#### Post date: [January 21, 2001, 11:43am UTC](https://forum.highend3d.com/t/mr-shader-writing/60985/8 "2001-01-21T11:43:14Z")

</div>

I hope you know C++…Mental Ray shaders need to be written in C++ (unlike Renderman). In case you didn’t realize…

-Don
