Camera invisible objects

Discussion related to the Engine functionality, implementations and API.
Post Reply
User avatar
Dade
Developer
Posts: 1145
Joined: Mon Dec 04, 2017 8:36 pm

Camera invisible objects

Post by Dade » Wed Feb 14, 2018 3:14 pm

I added a flag to have camera invisible objects. It works like camera arbitrary plane: the scene is not affected but the marked objects will not be visible in the rendering.

This is a scene with normal triangle area lights:
vis.png

and this with the area lights marked as camera invisibile:
inv.png

The property to mark camera invisible object is "scene.objects.<object name>.camerainvisible":

Code: Select all

scene.objects.l1.material = whitelight
scene.objects.l1.ply = scenes/bigmonkey/bigmonkey-lights.ply
scene.objects.l1.camerainvisible = 1
Support LuxCoreRender project with salts and bounties

User avatar
Dade
Developer
Posts: 1145
Joined: Mon Dec 04, 2017 8:36 pm

Re: Camera invisible objects

Post by Dade » Wed Feb 14, 2018 3:15 pm

This flag can be used in some creative way: for instance you can render a room making the walls camera invisible for some nice illusion.
Support LuxCoreRender project with salts and bounties

User avatar
B.Y.O.B.
Developer
Posts: 1211
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Camera invisible objects

Post by B.Y.O.B. » Wed Feb 14, 2018 3:17 pm

I think this feature will be used a lot :)

edit: added support for it in BlendLuxCore.
Support LuxCoreRender project with salts and bounties

Post Reply