Environment - Medium Radius

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
tamerkseniya
Licensed Customer
Posts: 66
Joined: Fri Apr 15, 2016 5:30 pm

Hi, I am trying to figure out how the medium radius works. As it says in manual If a medium (either absorption or scattering) is specified, this controls the radius of the “virtual” sphere created around the camera when the medium is applied

So it should be same as if setting sphere with inverted normals manually around the camera, and controlling its radius to set distance of how far the fog will start from camera. But when I increase medium radius my scene fills up with dense fog, instead of getting further from camera, the more I increase the radius the more scene gets filled with fog, and nothing happens to starting distance.

Maybe I do something wrong, any ideas?
Attachments
Screenshot_1.png
2 x GTX 980 Ti, 32 GB ram, i7 5820K
tamerkseniya
Licensed Customer
Posts: 66
Joined: Fri Apr 15, 2016 5:30 pm

Hello! is there anyone? :)
2 x GTX 980 Ti, 32 GB ram, i7 5820K
User avatar
paride4331
Octane Guru
Posts: 3809
Joined: Fri Sep 18, 2015 7:19 am

2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
tamerkseniya
Licensed Customer
Posts: 66
Joined: Fri Apr 15, 2016 5:30 pm

Thank you for answer!

Now I see that I didn't understand correctly the use of medium radius. In this case, I still have a problem.
How can I control the distance of fog from camera. Lets say objects 5 meter close to camera are not in fog and have clear vision, but objects further then 5 m are in fog?

Edit: I attach screen shots of what I try to explain. Is there a parameter controlling this?
Attachments
manual fog.jpg
2 x GTX 980 Ti, 32 GB ram, i7 5820K
User avatar
paride4331
Octane Guru
Posts: 3809
Joined: Fri Sep 18, 2015 7:19 am

Hi tamerksenya,
In daylight, the fog starts from the camera, if you want a fog away from the camera, you have to make a cube fog at the distance you want.
Attached a scene file and a screenshot to set the fog density.
Regards
Paride
Attachments
01.jpg
fog.rar
(55.33 KiB) Downloaded 586 times
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
Singlebit
Licensed Customer
Posts: 5
Joined: Thu Feb 23, 2017 4:20 pm

Hello. I see that the fog has almost the same density in all distances from camera. What I do wrong? I try to setup the settings for near objects were seen clearly and in 500 meters they disappeared in the fog.
It is the best I can do now.
May be it can be done only with previous method from paride4331?
Attachments
2017-07-08_19-50-39.png
User avatar
paride4331
Octane Guru
Posts: 3809
Joined: Fri Sep 18, 2015 7:19 am

Hi singlebit,
Are you sure 3dsMax unit of measure is in meters in your scene?
That said, if you want to have an object in the foreground "out of the fog" you have to use a "cube" with medium fog and place it where you want the fog begins.
Regards
Paride
Attachments
01cub.jpg
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
coilbook
Licensed Customer
Posts: 3032
Joined: Mon Mar 24, 2014 2:27 pm

paride4331 wrote:Hi singlebit,
Are you sure 3dsMax unit of measure is in meters in your scene?
That said, if you want to have an object in the foreground "out of the fog" you have to use a "cube" with medium fog and place it where you want the fog begins.
Regards
Paride
what if my scene is in inches but has accurate dimensions do i steel need to set medium radius where 1 equals 1 meter? or 1 is now 1 inch in daylight settings Thank you
User avatar
paride4331
Octane Guru
Posts: 3809
Joined: Fri Sep 18, 2015 7:19 am

Hi coilbook,
1= 1 meter
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
Singlebit
Licensed Customer
Posts: 5
Joined: Thu Feb 23, 2017 4:20 pm

Thank you, paride4331. I opened your scene in 3Ds Max, but scattering box draws dark line at the intersection with objects. Wat is wrong?
2017-09-30_07-38-09.png
Post Reply

Return to “Autodesk 3Ds Max”