Hello all,
I'm working on a rather complex scene, which heart is inside a sort of bloc containing 3 panes of glass. In the scene (inside the bloc) I had to put an additional light and a light blocker for precise lighting, but of course they shouldn't be visible. So for the light I put Opacity = 0 in Octane light tag and for the light blocker which is a simple plane with matte black material, I put an Octane tag with unchecking "Camera visibility".
I did this without the glass panes while working, to see precisely what I was doing and it was working fine, light and light blocker are hidden in render.
But as soon as I display the glass panes again light and light blocker appear back ! So it seems that camera visibility in Octane tag and Opacity in light settings don't work when objects are inside or behind some glass. (My glass mesh and material are triple checked and fine, no problem there).
My scene is in pathtracing, but it's the same in directlighting or PMC.
Is there any workaround ?
Thank you in advance for your help.
Objects inside glass visibility problem
Moderators: ChrisHekman, aoktar
To be more clear maybe, note that I have tried every visibility settings on the Octane Light Tag :
- Opacity = 0 in Light Settings
- Camera Visibility unchecked and General Visibility to 0 in Visibility
And all combinations.
No matter what I do, my light is still visible behind glass. My Octane is 4.04 and I'm using Cinema 4D R20
- Opacity = 0 in Light Settings
- Camera Visibility unchecked and General Visibility to 0 in Visibility
And all combinations.
No matter what I do, my light is still visible behind glass. My Octane is 4.04 and I'm using Cinema 4D R20
I seem to remember some discussion of the "grouping" of kinds of rays and how they can sort of "shift" ray types after certain kinds of interactions. I wonder if you may be experiencing some of that, and if some of @calus's and @milanm's raytype OSL magic might address your problem.
Check out these threads to get you started:
viewtopic.php?f=21&t=71597&hilit=raytype
viewtopic.php?f=30&t=71579&start=10
Check out these threads to get you started:
viewtopic.php?f=21&t=71597&hilit=raytype
viewtopic.php?f=30&t=71579&start=10
Animation Technical Director - Washington DC
@franck
Thanks a lot, will have a look into that !frankmci wrote:I seem to remember some discussion of the "grouping" of kinds of rays and how they can sort of "shift" ray types after certain kinds of interactions. I wonder if you may be experiencing some of that, and if some of @calus's and @milanm's raytype OSL magic might address your problem.
Check out these threads to get you started:
viewtopic.php?f=21&t=71597&hilit=raytype
viewtopic.php?f=30&t=71579&start=10
I just tried the method, and if works flawlessly on my light blocker, putting the OSL shader into it's diffuse material opacity channel with Reflection and Refraction set to 0, thanks !
Now I just still have the problem with my light inside the glass.
I tried to assign the material with OSL to the light for the sake of it but of course it doesn't react to the material.
Would there be anyway to use that OSL magic on the light object ? Some Python Wizardry ?
Now I just still have the problem with my light inside the glass.
I tried to assign the material with OSL to the light for the sake of it but of course it doesn't react to the material.
Would there be anyway to use that OSL magic on the light object ? Some Python Wizardry ?