Exclude lights.

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
User avatar
AlvaroLetelier
Licensed Customer
Posts: 63
Joined: Mon Apr 27, 2015 9:59 am

Hi guys.

Is there a way to exclude lights to illuminate an object in Octane ? Also a way to make the light illuminate the object but make it invisible on the render, specially when your light is on the camera view ?

Thank guys, much appreciated.
User avatar
bepeg4d
Octane Guru
Posts: 10375
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi AlvaroLetelier,
No, it's not possible in Octane to exclude objects from receiving the illumination of a specific light.
If you want to make a light invisible you have two options:
1) set the opacity to 0 in the emitter material.
2) assign an object layer to the material light; here you can reduce the General visibility to 0 or unclick the Camera visibility option.

ciao beppe
User avatar
linvanchene
Licensed Customer
Posts: 783
Joined: Mon Mar 25, 2013 10:58 pm
Location: Switzerland

AlvaroLetelier wrote:Hi guys.

Is there a way to exclude lights to illuminate an object in Octane ?
Directly at render time you cannot achieve this as bepeg4d explained.

But there is a workaround by using the option to render out light passes and creating a mask for the object in postproduction.

compare:

viewtopic.php?f=51&t=44350

In OctaneRender
- render out all light passes

In Photoshop
- create a mask of the object on the layer of that light pass that should be excluded
Example:

Sphere and Background illuminated by light A and B

In OR
- Render out light passes A and B

In photoshop
- create a mask of the sphere on light pass B

Result:
Light pass A has both sphere and background lights
Light pass B has only the background lit
Win 10 Pro 64bit | Rendering: 2 x ASUS GeForce RTX 2080 Ti TURBO | Asus RTX NVLink Bridge 4-Slot | Intel Core i7 5820K | ASUS X99-E WS| 64 GB RAM
FAQ: OctaneRender for DAZ Studio - FAQ link collection
User avatar
bepeg4d
Octane Guru
Posts: 10375
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Good point linvanchene ;)
And you can obtain the object mask directly in octane with the Render Layers option ;)
ciao beppe
rodrigus_5
Licensed Customer
Posts: 4
Joined: Wed Jul 08, 2015 9:52 pm

Is there a way to exclude lights to illuminate an object in Octane ?
Haven´t found a way to this yet, the exclude object in the compositing tag (C4D) does not work with octane.

Also a way to make the light illuminate the object but make it invisible on the render, specially when your light is on the camera view ?
Yes, under the octane light tag on the visibility tab (next to light settings) you can disable camera visibility and shadow visibility, although I never really used the shadow... (Again talking about C4D)
If you set the opacity to 0 in the emitter material, I found that the illumination of the light also goes away, in which case it would be the same as deleting the light.

Unfortunately, you can´t enable/disable the visibility from that light on reflections, and sometimes that might cause an undesired effect.
You could render out different light passes as mentioned before but you´d still have to mask out the reflection of that light which wouldn´t come even as an object mask...

Still haven´t figured the ideal workaround for this, any ideas anyone?
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

rodrigus_5 wrote:Is there a way to exclude lights to illuminate an object in Octane ?
Haven´t found a way to this yet, the exclude object in the compositing tag (C4D) does not work with octane.
If you read previous post you can see that's possible by some post work. Need to use light render passes with conjunction of render layer system on specific objects. We don't account compositing tag else of visibility calculation.

Also i couldn't got what do you mean on lights!!! I think there's somethings wrong on your claims. You can hide them from camera or reflections. Also to make invisible them that doesn't affects their illuminations.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Post Reply

Return to “General Discussion”