Dear OTOY,
Is it possible to add such option to turn on something like auto-sphere around camera position to be able to render fog even if I am inside SSS medium? It would create an empty geometry (a sphere) in which there would be a camera. Its radius could be an input.
Auto-sphere for camera for fog rendering
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
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
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
- Phantom107
- Posts: 686
- Joined: Tue Jul 24, 2012 11:31 am
- Location: The Netherlands
Hey smicha,
What you might be able to do is create a big sphere but put a very small sphere inside it so the camera is outside of the medium...
Then create Float Value node at attach it to your Camera node to be the Position. Create a placement node for the sphere and then link that to the Float Value node that's used for the camera.
Should do the trick, in theory?
Wait I'll try it out
What you might be able to do is create a big sphere but put a very small sphere inside it so the camera is outside of the medium...
Then create Float Value node at attach it to your Camera node to be the Position. Create a placement node for the sphere and then link that to the Float Value node that's used for the camera.
Should do the trick, in theory?
Wait I'll try it out
Developer of tools for Octane:
Phantom Scatter - Phantom Node Link - Phantom Photo Match - Phantom Architecture
Phantom Scatter - Phantom Node Link - Phantom Photo Match - Phantom Architecture
- Phantom107
- Posts: 686
- Joined: Tue Jul 24, 2012 11:31 am
- Location: The Netherlands
I think this works, here's what I did:
https://www.dropbox.com/s/q2l712ytot5gh ... .17.49.png
Download sphere.obj here: http://guusthissen.nl/scatter_content/sphere.obj

https://www.dropbox.com/s/q2l712ytot5gh ... .17.49.png
Download sphere.obj here: http://guusthissen.nl/scatter_content/sphere.obj

Developer of tools for Octane:
Phantom Scatter - Phantom Node Link - Phantom Photo Match - Phantom Architecture
Phantom Scatter - Phantom Node Link - Phantom Photo Match - Phantom Architecture
Very clever Phantom! Thank you for your time and help.
Maybe this solution can serve as a guide for OTOY. 'auto-sphere around camera for fog rendering' e.g. in render kernels would be so nice. Then a small invisible sphere around camera would be added.
Maybe this solution can serve as a guide for OTOY. 'auto-sphere around camera for fog rendering' e.g. in render kernels would be so nice. Then a small invisible sphere around camera would be added.
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540