The iray cometh


#41

Originally Posted by Eshta
thanks for looking into my file
now i get black render and error message saying
PHEN 0.11 warn : maya_shadingengine(): Internal state error.
PHEN 0.11 warn : maya_shadingengine(): Internal state error.

I think you turned iray off and all of this options in render settings


#42

Thanks guys for all your help

Ash-Man, yes I did copy them as well and still get error
IRAY 0.2 error: cannot find iray rendering plugin

I used this code

setAttr -type "string" miDefaultOptions.stringOptions[28].name "iray"; setAttr -type "string" miDefaultOptions.stringOptions[28].value "on";
 setAttr -type "string" miDefaultOptions.stringOptions[28].type "boolean";

and I can see it turned on in my AE… I feel I’m missing a BIG step somewhere
thanks again


#43

cudart.dll is importaint, its the nvidia cuda dll. All cuda enabled software has it.


#44

The correct message is

RC 0.10 info : progressive: using iray renderer
IRAY 0.10 info : loading iray rendering plugin from C:\Program Files\Autodesk\Maya2011\bin\libiray.dll
IRAY 0.10 info : loading iray integration plugin from C:\Program Files\Autodesk\Maya2011\bin\libiraymr.dll
IRAY 0.10 info : found 1 CUDA devices
IRAY 0.10 info : defaulting to use all CUDA devices
RC 0.10 info : progressive: deactivating subsampling for iray renderer

128 bit sub images? may be hdr or some exr does’nt support.

and you have some permission denied.

hmm… something’s strage for me.
i have no error or warning message but i get the black render.


#45

i have other question.
the iray boolean option has 3? (on ,off ,cpu).
mentalray 3.8 has cpu options but how can i cpu mode iray on in maya 2011?
the miDifalultOptions string option works on off only.


#46

// Error: Cannot find procedure “miOptionsAddNewStringOpt”. //

this is what i get after typing
miOptionsAddNewStringOpt miDefaultOptions.stringOptions; setAttr -type “string” miDefaultOptions.stringOptions[28].name “iray”;
setAttr -type “string” miDefaultOptions.stringOptions[28].value “on”;
setAttr -type “string” miDefaultOptions.stringOptions[28].type “boolean”;

can someone help me please ?


#47

// Error: Cannot find procedure “miOptionsAddNewStringOpt”. //
I get this error !?


#48

i think you don’t need this command at all. Or if you so eager to do it just open in AE miDefaultOption and roll out String Options and then start this command


#49

OK I found where my problem is… Thanks Ashraf for your input
I was copying the dlls to C:\Program Files\Autodesk\Maya2011\mentalray\lib
but I should put them in here
C:\Program Files\Autodesk\Maya2011\bin

I should of done better reading :wink:

Now I get this
mental ray: got 8 satellite CPUs.
IRAY 0.2 warn : no CUDA capable devices found

it’s not important right ?


#50

in this case…
may be the maya can’t recognize mentalray immediatly.

open render setting Window and
click features tab

then May be maya creates miDefaultOptions node.


#51

no CUDA capable devices found - this means the iray can’t be render in gpu mode.

i knows that the iray have gpu & cpu mode.

Mentalray stand alone 3.8 have -iray string - (on,off,cpu)

but i think maya 2011 have no cpu-mode iray.

you needs nvidia cuda capable gpu card…


#52

it still render though. I’ll try another computer with a cuda card


#53

Maya 2011 do not have any iray mode.

It is just warning, it will switch to CPU mode than.


#54

iray in 2011 works with the GPU just fine if you have the right dlls installed and a geforce 8 series or higher. Make sure you have the new 197 driver. CPU rendering is very slow compared to GPU rendering.

I am rendering on a couple GTX260s as I am typing. I will post the video with a full review later today.


#55

I’m now testing on a better card

RC   0.3  info : progressive: using iray renderer
PHEN 0.19 info : -----------------------------------------------
PHEN 0.19 info : mayabase version 10.8, compiled on Mar 19 2010.
PHEN 0.19 info : -----------------------------------------------
IRAY 0.3  info : found 1 CUDA devices
IRAY 0.3  info : defaulting to use all CUDA devices
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
RC   0.3  progr: progressive: finished (sub)frame	1 in 0.13500 seconds
RC   0.3  progr: progressive: finished (sub)frame	2 in 0.13130 seconds
RC   0.3  progr: progressive: finished (sub)frame	3 in 0.13205 seconds
RC   0.3  progr: progressive: finished (sub)frame	4 in 0.13401 seconds
RC   0.3  progr: progressive: finished (sub)frame	5 in 0.13498 seconds
RC   0.3  info : iray: desired quality reached - stopping

I don’t see the line that other had before where it say

RC 0.10 info : progressive: using iray renderer
 IRAY 0.10 info : loading iray rendering plugin from C:\Program  Files\Autodesk\Maya2011\bin\\libiray.dll
 IRAY 0.10 info : loading iray integration plugin from C:\Program  Files\Autodesk\Maya2011\bin\\libiraymr.dll
 IRAY 0.10 info : found 1 CUDA devices
 IRAY 0.10 info : defaulting to use all CUDA devices
 RC 0.10 info : progressive: deactivating subsampling for iray renderer

#56

After spending some time with iray I have finished something worth showing.

720p iray animated hybrid.
http://www.youtube.com/watch?v=K6pLfxGTsWw

Here is my review to go with it.

The Good

Love the physical nature of the renderer. Everything is always on. All the most advanced lighting features of mental ray are just, on.

Its incredibly fast. The above animation rendered in 1min 45sec per frame on average. It doesn’t seem to care about soft reflections, or color bleed, or refraction.

Simple scenes, it takes less tweaking to get things to look right. No occlusion pass, no facing ratio pass, etc.

Progressive style render is nice for tweaking.

The Bad

Batch is a bit crashy when doing lots of frames (no surprise here, its not really even released for maya)

No custom shaders (only MIA, at least its a good one)

BDRF doesn’t work the way I want it to. ( I cant push it very far )

No luck on rendering from service, It seems that you need to render it from a login that is driving a monitor to get access to the cuda display driver. Big deal for farms. I think this is nvidas problem, not mental images. I think it will come with time.

More Limited Memory, wasn’t a big deal here. My cards all have at least 1gb and that car scene never topped 500mb.

Conclusion

I can see why mental images didn’t want to fully release this yet. Its not quite ready. Its still an incredible piece of software and I really want to use it in production. But I wouldn’t use it on any long sequences. Some of the limitations that I thought would drive me crazy turned out to be the opposite. I like the simple way of working with iray. Sometimes it feels elegant instead of restricting. Things just render the physically correct way, you don’t have to do so many tricks to make things look good. You can still crank up your style in comp anyway. The speed is incredible. I am glad that I have a whole farm ready for video cards, but I am not going to buy any yet. Anyway, you could render that car shot in 6 hours on one machine. Thats pretty amazing.

Final Thoughts

If mental images can sort out the bugs and make it stable this will be my #1 rendering tool. It cant do everything, but its incredible at what it does. Pair that with normal mental ray and you can do just about anything.

If they can get motion blur, custom shaders (like SSS), good large memory management, and the reliability rock solid this could give Renderman some stiff competition for the best renderer in the world.

I am stoked.


#57

it looks very good… was the render done in maya or standalone?


#58

Hey Ryan, very nice animation, great work:thumbsup:

So, you render that with two video cards, can you mention please the details of the scene, how many polys, texture size, what kind of lighting, etc…?

Also, any chance that you show a real time video of the iray window to check the interaction speed?

Thanks


#59

This was rendered in Maya 2011. The scene had somewhere around 500,000 polys. There was really only one texture, a 2k on the background. I used a 1k HDRI as well. There was one spotlight that was fairly far away. Thats about it. My render settings were min 0 max 512 error .2. I noticed an improvement in image quality all the way up to .05 but the rendering times really skyrocket and its a small difference. As to the interactivity, my screen cap software stinks. But it takes about 5seconds for the scene to translate and metal ray to start. Then you get a crazy grainy shot in about 1 second, then the refinement time about doubles with each pass.

I am considering re-rendering this with some cutaway internals at 1080p stereo as a tech demo.


#60

hello
I have the same problem

“IRAY 0.3 info : found 1 CUDA devices
IRAY 0.3 info : defaulting to use all CUDA devices
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.
PHEN 0.19 warn : maya_state(): Called on an unexpected ray.”

please help :slight_smile: