The Camera Bubble in Fog Volume - Material Settings?

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
User avatar
linvanchene
Licensed Customer
Posts: 783
Joined: Mon Mar 25, 2013 10:58 pm
Location: Switzerland

edited and removed by user
Last edited by linvanchene on Fri Sep 05, 2014 3:10 am, edited 2 times in total.
User avatar
dionysiusmarquis
Licensed Customer
Posts: 159
Joined: Mon Nov 04, 2013 9:29 pm

I don't know you setup but this sounds like a case for booleans. But a pure material solution would be nicer for sure.
User avatar
bepeg4d
Octane Guru
Posts: 10377
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

it's quite simple, the bubble must have the same material of the fog volume, in fact the inverted normals are for defining where the fog is ended ;)
ciao beppe
User avatar
dionysiusmarquis
Licensed Customer
Posts: 159
Joined: Mon Nov 04, 2013 9:29 pm

I was just going to try something similar. Nice to know, thanks!
User avatar
linvanchene
Licensed Customer
Posts: 783
Joined: Mon Mar 25, 2013 10:58 pm
Location: Switzerland

edited and removed by user
Last edited by linvanchene on Fri Sep 05, 2014 3:10 am, edited 1 time in total.
User avatar
TBFX
Licensed Customer
Posts: 501
Joined: Sun Dec 11, 2011 9:43 pm
Location: Wellington, New Zealand

linvanchene wrote:Case 4:

In the scene are

- Cube with fog volume applied
- Camera inside fog volume moving through it
- "Protective" Bubble Sphere around camera to separate fog volume from camera - Material settings = ?
Hi linvanchene,

So in this case you wish to limit the extent of the fog in your scene but still have the camera move through it?
The previous answers about booleans and applying the same fog material to the bubble are correct. Don't think of it as 2 fog volumes, think of it as one volume with a bubble in it where you place the camera or if it's easier to visualize picture it with the bubble only half intersected with the cube, that still gives you one fog volume with a concave dent in the side. There is no difference as far as the renderer is concerned between this and if the bubble is in the center of the cube. It may seem counter intuitive but it makes sense when you think about it and it definitely works. In less time than it took me to type this I did a quick test to make sure, it never hurts to just try something. What's the worst that can happen?

T.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
User avatar
linvanchene
Licensed Customer
Posts: 783
Joined: Mon Mar 25, 2013 10:58 pm
Location: Switzerland

edited and removed by user
Last edited by linvanchene on Fri Sep 05, 2014 3:10 am, edited 1 time in total.
User avatar
FooZe
OctaneRender Team
Posts: 1335
Joined: Tue May 15, 2012 9:00 pm

Hi,

TBFX is right.
Octane sees materials, rather than objects. The scene is a bunch of surfaces with various materials applied. (With the advent of object properties the notion of objects has entered octane but for the fog volume this does not matter).
In this case, the sphere (or cube) around the camera, so long as it has the same material applied, for all practical purposes in octane, is the same "object".

Think of it in ray tracing terms. When a ray goes through a surface with the normal facing it, it is entering the volume, and when it goes through another surface with the same material, with the normal away from it, it is exiting the volume. So the sphere around the camera with normals pointing inwards, is defining the 'exit' surfaces, therefore the camera is no longer inside the fog volume.

This is, at least, how i understand it...
Hope that helps.

Thanks
Chris.
User avatar
linvanchene
Licensed Customer
Posts: 783
Joined: Mon Mar 25, 2013 10:58 pm
Location: Switzerland

edited and removed by user
Last edited by linvanchene on Fri Sep 05, 2014 3:11 am, edited 1 time in total.
gordonrobb
Licensed Customer
Posts: 1247
Joined: Sat Mar 16, 2013 9:08 am

I hate to confuse the issue, but. You might want to try NO fog volume geometry. Just have the bubble around the camera with the fog material, and the normals reversed. This also seems to work, although I don't know if there are any issues with doing it this way - other than how simple it makes everythign.
Windows 8 Pro | i7 3770 OC | 32 GB Ram | Single Titan (plus Black Edition on Order) | Octane Lightwave |
Post Reply

Return to “General Discussion”