Blackbody Emission / Focus

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
kartata
Licensed Customer
Posts: 27
Joined: Sun Jul 26, 2020 7:20 am

Hey guys,

I have a question regarding a blackbody material: I am trying to make a neon tubing material and it worked fine until I tried to introduce some DOF. The material, as long as the emission is on, does not seem to get out of focus, which makes it look unrealistic. Can someone hint me to the right settings here please?

Thanks in regards,
David
Attachments
Neon_material.c4d.zip
(35.31 KiB) Downloaded 96 times
Bildschirmfoto 2020-09-16 um 19.30.34.png
jayroth2020
OctaneRender Team
Posts: 488
Joined: Mon May 04, 2020 7:30 pm

Hi David,

It is actually working, but you have Auto focus enable. If you disable auto focus, you can clearly see the emission sphere is reacting as expected.

Even with Autofocus enabled, it is still working. You can demonstrate that by decreasing the power and watching the edges of the emission sphere get less defined, matching the other sphere. This is easier to see if you increase the resolution of the spheres. The emission sphere appears to be in focus after you get past a certain brightness level.

FYI, it is better to use a gaussian spectrum node for emissions. You will get more control and a cleaner result more quickly.

Here is a snapshot of the Live Viewer showing the result:
Blackbody Emission - Focus.png
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
jayroth2020
OctaneRender Team
Posts: 488
Joined: Mon May 04, 2020 7:30 pm

Neon_material_v001.rar
(63.39 KiB) Downloaded 92 times
And here is the scene file. Nothing special, really.
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
kartata
Licensed Customer
Posts: 27
Joined: Sun Jul 26, 2020 7:20 am

Hey Jay,

thanks for taking your time to examine the scene. The scene itself was of course just a dummy. I unfortunately can't send the original one since it's got an NDA from a client.
In the original scene the autofocus is off. But as you already said it gets "in focus" past a certain brightness level. This is unfortunate because I am trying to light a scene with it.
I attached a screenshot which might show the problem a little better. When I want to light up the wall behind the neon sign it needs to have a certain power which leads to the unwanted focus unless I turn the f-stop on the camera down unrealistically high.

Any ideas?
Attachments
Bildschirmfoto 2020-09-17 um 09.05.20.png
User avatar
bepeg4d
Octane Guru
Posts: 10371
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
if the luminance difference between background and emissive pixel is too high, you can have anti-aliasing issues, and you should have to increase the Filter size in the kernel to remove it, but in this way, it is blurring the entire image, or reduce the Emission Power, to reduce the contrast, and avoid the anti-aliasing effect.

Please have a look at this other discussion on complex emission:
viewtopic.php?f=30&t=67076&p=337289&hil ... se#p337289

In this wasy, you can save a lot of rendering time, and you have a better control on the visible part of the emissive object.

ciao Beppe
Post Reply

Return to “Maxon Cinema 4D”