Can't get Camera visibility to work

Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)
Post Reply
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

I have a pretty weird situation here:

A year ago, I made an invisible light source in a previous version of OctaneBlender by turning off Camera visibility in Object Data (for a plane with an Octane Texture emission node).

If I open that project in the latest version of OctaneBlender, it renders as expexted - the light source is invisible. So I know that Camera (in)visibility works in that version.

But I can't get it to work in any other project.

And here's the really weird part: If I copy the invisible light source from the old project to a new project, it's no longer invisible.

Any idea what's going on?

The plane is uv-unwrapped; an Octane material and an Octane Texture Emission node are assigned to it, and I've tried all mesh types...
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
User avatar
Saramary
Licensed Customer
Posts: 147
Joined: Tue Jul 19, 2011 3:42 pm
Location: Auckland, New Zealand
Contact:

Don't know, for me everything works just fine...

Win 8.1 x64, i7-4930K 64GB, 2 x GTX-690
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

Thank you very much for uploading the file!

This is getting even weirder - please look at the attached image (and the .blend if you have the time).

Camera visibility is greyed out in my version (it was also greyed out in the old project I described above, but it did work). However, here it doesn't make any difference when I untick it.

My version is OctaneRender for Blender 2.25 - 9.13 (CURRENT).
Attachments
CameraVisibility2.blend
(483.32 KiB) Downloaded 229 times
CameraVisibility2.JPG
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
User avatar
Saramary
Licensed Customer
Posts: 147
Joined: Tue Jul 19, 2011 3:42 pm
Location: Auckland, New Zealand
Contact:

justavisitor wrote:
Camera visibility is greyed out in my version
This is the key. "Greyed out" means this function is not supported for global meshes by v2 version of the plugin. Even if Blender itself allows you to tick the checkbox, you can't expect it to work.
Try to change the plane's mesh type to Scatter.
Win 8.1 x64, i7-4930K 64GB, 2 x GTX-690
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

Thank you for your reply.
Saramary wrote: "Greyed out" means this function is not supported for global meshes
Again, it works in my old project (and no matter which Blender-version I use).
Saramary wrote:
Try to change the plane's mesh type to Scatter.
I just did - and it works!

But then I opened a similar test project (please see image) and tried Scatter - and it did not work.

Like I said in my first post, I already tried all mesh types on my previous projects without any luck. So I don't understand why it works in my latest test and not in the other ones. I can't see any difference at all between any of my projects.
Attachments
CameraVisibility3.JPG
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
justavisitor
Licensed Customer
Posts: 242
Joined: Sat Oct 05, 2013 5:34 pm

Saramary wrote: This is the key. "Greyed out" means this function is not supported for global meshes by v2 version of the plugin. Even if Blender itself allows you to tick the checkbox, you can't expect it to work.
Try to change the plane's mesh type to Scatter.
Hello again,

Now I get it!

The Viewport render updates a lot of modifications in real-time, so you don't have to re-render constantly to review your edits.

But it's sometimes necessary to update the Viewport render after un-checking Camera visibility. I'm not sure yet when or how often, but perhaps it's just necessary the first time you un-check the option.

In any circumstances, it works perfectly with the Scatter setting after refreshing the Viewport render, so thank you for pointing this out!

EDIT: I found the pattern as to when it's necessary to update the Viewport render: It's not necessary when you check/un-check Camera visibility, and it's not necessary when you switch from Scatter to Global; however it is necessary when you switch from Global to Scatter; hence the errors I got.

EDIT 2: It probably goes without saying, but just in case: Shadow visibility (without Camera visibility) also works in Scatter-mode, which is awesome!
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
Post Reply

Return to “Blender”