Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This is a mel script that will take all of the renderman *.sl files in the current projects default rmanshader directory and compiles them to bmrt2.6 shaders for use with bmrt through mtor. I created the script because I couldn't get slim to properly compile its shaders into slc format. Currently the script requires tsch for nt or unix commands for nt (https://www.highend3d.com/files/dl.3d?group=globaltools&file_loc=tcsh-v5.4-.exe.gz&file_id=89). Also the script defaults to d:bmrt2.6shadersrmanshaders. If you need it to point to a different directory to output the shaders to you must change the
string $bmrt = "//nt/d/bmrt2.6/shaders/rmanshader/";
line to where you need it to be. Works great if you have mtor, place the bmrtshader command before mtor RenderSpool command on the shelf icon or menu item.
hope it will help some out like it helps me.
Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.