IRay Hassles
Hi,
I'm just getting into IRay and for some reason, the auto-head lamp has just stopped working. My figure is black, but strangely, she's casting a shadow. There are no lights in the scene, and under the Render Settings, I've got Auto Headlamp -> When No Scene Lights.
I've also encountered a situation where my Preview Window only displays the scene in shaded mode and never gets around to actually rendering it. There's a progress bar at the bottom of DAZ Studio saying I think 'Preparing Scene ...". The bar just keeps on progressing, but there's no rendered result in the Preview Window.
My graphics card is a GeForce GTX 660 Ti - not exactly a stellar performer, but it was rendering OK until I had the 2 problems I've just described. Is it just me or does IRay rendering just seem really unreliable?
Comments
Iray has been completely reliable for me. Always get a render. GTX780.
Try resetting the Render Options to Default for one render. If that works, fiddle about with the settings until they are back to the way you like 'em.
I'm forever confusing Daz4.9 with multiple contradictory render settings, camera dimensions and the like. I hit Default, and the problems go away.
If you get near memory limits it is unreliable.
Thanks everyone - I'll keep trying.
Sometimes the auto headlamp doesn't seem to "see" iray lights, and will stay on and cast shadows if you do not turn it off. I know this happens if I am using only emissives to illuminate a scene, which is my habit.
Perhaps someone who knows more can clarify this.
As far as I know, by default the Auto setting only recognizes DAZ lights (i.e. lights from the Create menu) and the Uber Environment light, I believe (which doesn't work in Iray). It definitely doesn't recognize emissives, or the dome environment.
However, in Render Settings/General there is a parameter Auto Headlamp. If you set this to Never, Iray treats the Auto setting for cameras (which is the default) as "Off" regardless of what lighting you are using, and turns the Perspective View headlamp off as well, which can be handy for testing.
Camera headlamps will still illuminate the scene if set to On.
This is, at least, how it appears to work for me. I use 4.9—I don't know if there have been any changes there, but I don't think so.
The headlamp should respond to any light object, inheriting from DzLight. It won't respond to emissive lights as they are regular objects inheriting from DzNode and possibly DzSkeleton.
Only Iray knows if a geometry will emit light for scene illumination. D|S would have to go through real-time calculations, mimicing Iray's entire ray path process, to determine if the settings are sufficient to actually cast light in the scene. Seems to me it's a pointless (and probably error-prone) exercise when it's easy enough to manually control the headlamp: just switch from When No Scene Lights to Never.
It doesn't...most of the shader lights, except UberArea (or any other area light), the example 3DL and Shader Mixer ones trigger it, but other imported ones may not. On the Iray side, it should respond to all but emissives.
Basically, what it boils down to is if it is a DzLight then it will be shut off when set to Auto, if it isn't, then it won't.
I just tried an uberPoint and an uberSpot, an AoA Advanced Ambitent, Advanced Spot, and Advanced Distant - all switched the headlamp off. Try loading one of the lights that isn't switching the headlamp off, select it and run thiss cript in the IDE pane
print ( Scene.getPrimarySelection().inherits( "DzLight" ) );
does it return true or false?