mplay and mental ray

   7528   4   2
User Avatar
Member
119 posts
Joined:
Offline
Howdy,

Posting here since I only have HD license. I just bought the mental ray shading book which comes with mental ray standalone and I've been trying to figure out how to use imdisplay with it for my test renders and to run with the examples given, but it doesn't seem to work. Is this due to my lack of Master or escape license?
I'm on OSX so the imf_disp doesn't work as it does on Linux where I could settle for it (but I clearly prefer mplay)

So just to recap the steps I've tried:

I call imdisplay: `imdisplay -m /path/to/output/image &`

then I run the render: `ray /path/to/example/mi/file`

The mplay window will pop up with the correct dimensions but it never shows the buckets rendering, nor does it show the final image.

If I use Cutter, the rayview will tend to work, however I'm having other problems with cutter on OSX and sometimes I just prefer to have a vi session and a session to run ‘make’ and ‘ideally’ have mplay popup.


Cheers,
Chip
User Avatar
Staff
2591 posts
Joined: July 2005
Offline
photex
Howdy,

Posting here since I only have HD license. I just bought the mental ray shading book which comes with mental ray standalone and I've been trying to figure out how to use imdisplay with it for my test renders and to run with the examples given, but it doesn't seem to work. Is this due to my lack of Master or escape license?
I'm on OSX so the imf_disp doesn't work as it does on Linux where I could settle for it (but I clearly prefer mplay)

So just to recap the steps I've tried:

I call imdisplay: `imdisplay -m /path/to/output/image &`

then I run the render: `ray /path/to/example/mi/file`

The mplay window will pop up with the correct dimensions but it never shows the buckets rendering, nor does it show the final image.

If I use Cutter, the rayview will tend to work, however I'm having other problems with cutter on OSX and sometimes I just prefer to have a vi session and a session to run ‘make’ and ‘ideally’ have mplay popup.


Cheers,
Chip

You might try proto_install instead. I think there's a mentalray display driver in there (MiDisplay.inst). This adds the “mplay” filetype to mentalray.

If you're intent on getting the imdisplay interface working, you can try $HH/public/tomdisplay/refined.py, which is a 90 line python program that renders an image to mplay (through imdisplay).
User Avatar
Member
119 posts
Joined:
Offline
Oh sweet, so I can just edit the examples to use the mplay output driver and be done with it. So much nicer.

Cheers and thanks!
User Avatar
Member
119 posts
Joined:
Offline
Just a quick follow up question:

As I attempted to do this on OSX the mi_houdini.dylib isn't able to be used by mental ray directly via the “link” command, so unless I'm totally misunderstanding how to make the mplay file type available, would anyone be able to help fill the gap in my understanding?

I think I'm just going to have to suck it up and “ray … && mplay …”.
User Avatar
Member
119 posts
Joined:
Offline
Just a quick follow up question:

As I attempted to do this on OSX the mi_houdini.dylib isn't able to be used by mental ray directly via the “link” command, so unless I'm totally misunderstanding how to make the mplay file type available, would anyone be able to help fill the gap in my understanding?

I think I'm just going to have to suck it up and “ray … && mplay …”.
  • Quick Links