Community
Arnold for 3ds Max Forum
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't set Atmosphere Volume Density to below 0.01

7 REPLIES 7
Reply
Message 1 of 8
Anonymous
892 Views, 7 Replies

Can't set Atmosphere Volume Density to below 0.01

Would anyone know why when I try to set my Atmosphere Volume Density to below 0.01 it defaults to 0.0? I would like to try setting it to 0.001 but it resets it to zero. I would generally like to make the atmosphere volume less dense. Is this a units setting in Max somewhere? An issue or a known default in Arnold? Thank you!

Tags (1)
Labels (1)
7 REPLIES 7
Message 2 of 8
Stephen.Blair
in reply to: Anonymous

That sounds more like a UI issue.

In Maya I can set the density to 0.0001 and it works. But the UI displays 0.000 for anything smaller than 0.001

Softimage was the same too



// Stephen Blair
// Arnold Renderer Support
Message 3 of 8
madsd
in reply to: Anonymous

Like Stephen says, it's just UI.

I wrote a small shader that gives you a value of 10.0 as a starting point for 0.001.
So the shader sends out the value you want, if you lower the 10.0 to 1.0 you move to the 0.0001 area and so forth.


Just grab the code and compile it, or save it in a file called VolumeDensity.osl and save it in the OSL folder in Plugins under Max install path.


shader VolumeDensity
(
    float Density = 10,
    output float Density_out = 0,
)
{
    Density_out = Density/10000;
}



7391-qwe.png

Message 4 of 8
Anonymous
in reply to: madsd

Thank you! I'll try it out.

Message 5 of 8
Anonymous
in reply to: Stephen.Blair

thank you Stephen! I'll do some fiddling to see if it returns a value even if it says 0.0


Message 6 of 8
nicola.stefano.jannuzzo
in reply to: Anonymous

Go to Customize->Preferences, in the General tab set the Spinners' precision to the desired value. That setting should apply to all the floating point parameters.

Message 7 of 8
Anonymous
in reply to: Stephen.Blair

It is showing zero but the atmosphere is still rendering, so the ui just isn't displaying the existing setting. Thanks!

Message 8 of 8
Anonymous

Thanks Nicola, but that didn't work for me. 😞

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report