Profile Picture

IBL, lights and materials in iray - how does this work

Posted By 3dtester Last Week
You don't have permission to rate!
Author
Message
3dtester
3dtester
Posted Last Week
View Quick Profile
New Member

New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 44, Visits: 152
I'm trying to render a scene in iray, but i can't get any acceptable lighting setup.

If i use IBL in my scene, it doesn't have any effect to the iray render.
In fact, with only IBL, i get a black render.
Only when i'm using lights in the scene, everything gets visible in the render.
But what about the IBL slider in the iray render settings then?
What it's for if it doesn't use the scene IBL settings?

Then to the next question: i can create some lights, yes.
But it seems there are no settings for changing the light color and illumination like in DAZ.
Another mystery: Ambient color. Does it have an effect to iray at all?

And last but not least: what is the material loader of the iray plugin for?

It would be awesome if someone of you could give me some enlightenment Smile

Thanks in advance,
3dtester


System: Xeon E5-1650v2 @3.5 GHz (6-core), GTX-1070

Edited
Last Week by 3dtester
wires
wires
Posted 8 days ago
View Quick Profile
Distinguished Member

Distinguished Member (7.7K reputation)Distinguished Member (7.7K reputation)Distinguished Member (7.7K reputation)Distinguished Member (7.7K reputation)Distinguished Member (7.7K reputation)Distinguished Member (7.7K reputation)Distinguished Member (7.7K reputation)Distinguished Member (7.7K reputation)Distinguished Member (7.7K reputation)

Group: Forum Members
Last Active: 1 hour ago
Posts: 3.6K, Visits: 17.5K
With IBL activated in both the Iray and Visuals panels it does show in an Iray render.
https://forum.reallusion.com/uploads/images/96a7d531-aaa7-4419-b9db-c538.png

Render:
https://forum.reallusion.com/uploads/images/aa280290-b253-4015-a9a7-6f98.png

After adding a Light you can change the colour in one of 2 ways. In the Scene Manager, or in the Modify Panel. Just click on the colour swab to open the colour selector.
https://forum.reallusion.com/uploads/images/c976e150-0637-481d-b421-f638.png

As far as I can determine Ambient Light is not rendered in Iray.

The Iray Materials loader applies an Iray texture to any object in the scene, replacing the one listed against that object in the Material list.
https://forum.reallusion.com/uploads/images/41abd92a-1e91-457a-b220-2d72.png

 Materials added in this way are only visible either in the Iray Preview Panel, or in the final render.




Gerry



System: Win 10 Pro CE, Asus X99-E WS, CPU i7-5930K -3,5 GHz, 32 GB DDR4 2666-16 RAM, NVidia GTX 1080 Ti GPU - 11 GB VRAM(Driver 399.07), Samsung 850 Pro 512 GB SSD, 6 TB HD storage.


3dtester
3dtester
Posted 8 days ago
View Quick Profile
New Member

New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 44, Visits: 152
Thanks a lot, Gerry!
That did clear up all those things for me.

I guess i found out the reason why i don't see my IBL in the iray render.
It's pretty simple: my viewport is inside of a building.
I'll post a few pictures later.


System: Xeon E5-1650v2 @3.5 GHz (6-core), GTX-1070

justaviking
justaviking
Posted 8 days ago
View Quick Profile
Distinguished Member

Distinguished Member (12.6K reputation)Distinguished Member (12.6K reputation)Distinguished Member (12.6K reputation)Distinguished Member (12.6K reputation)Distinguished Member (12.6K reputation)Distinguished Member (12.6K reputation)Distinguished Member (12.6K reputation)Distinguished Member (12.6K reputation)Distinguished Member (12.6K reputation)

Group: Forum Members
Last Active: 17 minutes ago
Posts: 6.7K, Visits: 20.5K
3dtester (10/7/2018)
I guess i found out the reason why i don't see my IBL in the iray render.
It's pretty simple: my viewport is inside of a building.


When the plug-in is available for iClone, that will open up additional possibilities.

In iClone, you can quite easily create an IBL from a current scene, so you could make an IBL from the inside of your room and use that.





iClone 7... Character Creator... Substance Designer/Painter... Blender... Audacity...
Desktop (homebuilt) - Windows 7, i7-3770k CPU, GTX 1080 GPU (8GB), 16GB RAM, Asus P8Z77-V Pro motherboard, 500 GB SSD, terabytes of disk space, dual  monitors.
Laptop - Windows 10, MSI GS63VR STEALTH-252, 16GB RAM, GTX 1060 (6GB), 256GB SSD and 1TB HDD

3dtester
3dtester
Posted 8 days ago
View Quick Profile
New Member

New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 44, Visits: 152
Thanks justaviking, that sounds very promising indeed!

Another solution could be light-emitting props.
For example i have a DAZ scene with a fireplace that actually illuminates the room.
Is this possible in CC or iClone?


System: Xeon E5-1650v2 @3.5 GHz (6-core), GTX-1070

3dtester
3dtester
Posted Last Week
View Quick Profile
New Member

New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 44, Visits: 152
I found an interesting issue.

There are no lights in this scene, only the IBL.
Even though the viewport is inside the building, the lighting from the IBL is applied from all sides.

Here are some screenshots to show you what i mean.

https://forum.reallusion.com/uploads/images/0f7b506a-2b3d-4e33-bedd-ecb3.jpg

To prove that the IBL has an effect to iray, i raised the strength slider to 1000.

https://forum.reallusion.com/uploads/images/e476b48e-63b6-4a2f-b1e0-4299.jpg

As i mentioned, there are no light sources are installed in that scene, and GI is disabled.
So the only light comes from the IBL.
I mean, the light inside the rooms looks very nice, but it's just not physically correct.

Standard render for this test:

https://forum.reallusion.com/uploads/images/fa15723a-501f-4dad-b502-f4a6.png

Final iray render (with the 8K version of the hdri):

https://forum.reallusion.com/uploads/images/a41cc484-3770-467c-8b49-220b.png

As you can see, it also casts nice shadows.
With the standard renderer there are no shadows from the IBL, it seems.

I will add some lights next, and study the behaviour of both renderers again.



System: Xeon E5-1650v2 @3.5 GHz (6-core), GTX-1070

Edited
Last Week by 3dtester
4u2ges
4u2ges
Posted Last Week
View Quick Profile
Distinguished Member

Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 973, Visits: 4.6K
I mean, the light inside the rooms looks very nice, but it's just not physically correct.


Allow me to disagree. Your last render (nice render btw) clearly shows that. A light from IBL falls through those large windows just enough to illuminate the room.
Look at the piano side facing us. It is totally dark. And so does chair and the couch. It is accurate IMO.

UPDATE: I realized, you're probably referring to CC render (not Iray). Yes, it is not physically accurate. IBL light does not cast a shadow in CC/iClone
You can add artificial shadow caster to the scene and then play with shadow settings to get more or less acceptable render.

As to emitters, there would be more options in iClone. But even in CC you can make an object to illuminate.
Enable self-illumination in CC materials (there is a slider there) for the object

https://forum.reallusion.com/uploads/images/a5e791ff-5e90-4b6f-82fb-e0d0.jpg

Then, to accelerate the light use "Emissive Multiplier" in Iray materials.
I did this one for the Eyes material (not cornea)

https://forum.reallusion.com/uploads/images/067256b3-372c-4897-a98d-df51.jpg

Finally, you can download materials from NVIDIA https://www.nvidia.com/en-us/design-visualization/technologies/vmaterials/ and they have ready to use MDL emitters






Edited
Last Week by 4u2ges
3dtester
3dtester
Posted 6 days ago
View Quick Profile
New Member

New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)New Member (93 reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 44, Visits: 152
Thank you very much, 4u2ges.

The NVIDIA MDLs are pretty awesome.
I've used some of them for my next test-render.
I also tried the self-illumination feature at that tablet pc Smile
And finally i've tested something with the lamp (it is simply a point light that got rendered).

https://forum.reallusion.com/uploads/images/3b1c524d-f2a7-4a12-820a-c47c.png

System: Xeon E5-1650v2 @3.5 GHz (6-core), GTX-1070

gordryd
gordryd
Posted 2 days ago
View Quick Profile
Senior Member

Senior Member (424 reputation)Senior Member (424 reputation)Senior Member (424 reputation)Senior Member (424 reputation)Senior Member (424 reputation)Senior Member (424 reputation)Senior Member (424 reputation)Senior Member (424 reputation)Senior Member (424 reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 97, Visits: 1.7K
@4u2ges,


Finally, you can download materials from NVIDIA https://www.nvidia.com/en-us/design-visualization/technologies/vmaterials/ and they have ready to use MDL emitters


I downloaded these materials -- looks like a lot of duplication with the 600+ provided by RL, but I do see NVIDIA has many additional.  Is there a way combine these into the default RL MDL directory?  I'm not familiar with all the sub-folders and nuances of what files need to be placed where in order to not screw things up.  Thanks.
4u2ges
4u2ges
Posted 2 days ago
View Quick Profile
Distinguished Member

Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)Distinguished Member (3.0K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 973, Visits: 4.6K
gordryd (10/13/2018)
@4u2ges,


Finally, you can download materials from NVIDIA https://www.nvidia.com/en-us/design-visualization/technologies/vmaterials/ and they have ready to use MDL emitters


I downloaded these materials -- looks like a lot of duplication with the 600+ provided by RL, but I do see NVIDIA has many additional.  Is there a way combine these into the default RL MDL directory?  I'm not familiar with all the sub-folders and nuances of what files need to be placed where in order to not screw things up.  Thanks.


RL iMDL (which is what 600+ materials are) are different form the original NVIDIA MDL materials. You would not be able to place NVIDIA materials under RL "Content" structure as it.
To utilize them you would need to reference the location, where NVIDIA installed them in "Iray MDL Path" panel (could be launched from Plugins > Iray Render)
The path should referenced to the root "mdl"  folder. Usually: C:\Users\YOUR_USER_NAME\Documents\mdl
Then you can assign those materials from "Load Custom MDL" link

However, If you Save newly assigned NVIDIA material, it would go to Custom > iMDL folder. And there you have it in Content manager.

NVIDIA MDLs might have color/texture variations. However, when saved, only currently used would go to Custom iMDL folder. So all variations need to be saved individually. 

https://forum.reallusion.com/uploads/images/fed8e6e8-f9a0-41cf-9f96-cdfa.jpg






Edited
2 days ago by 4u2ges



Reading This Topic