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
Blackbody Emission / Focus
Moderators: ChrisHekman, aoktar
- Attachments
-
- Neon_material.c4d.zip
- (35.31 KiB) Downloaded 96 times
- jayroth2020
- 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:
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:
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
- jayroth2020
- Posts: 488
- Joined: Mon May 04, 2020 7:30 pm
And here is the scene file. Nothing special, really.
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
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?
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?
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
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