Announcement

Collapse
No announcement yet.

Max. distance VrayEnvironmentFog?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Max. distance VrayEnvironmentFog?

    Hi,

    I'm looking at using a general vrayenvironmentfog to give our scenes some 3d fog effect/distance effect at a closer range. Up till now we used box gizmo's to end the scenes. (We use hdri's as I was thinking of using the aerialperspective).

    However due to the size of our projects scenes tend to have total size of around 500x500m. When I use the environmentfog I'm limited to 1000m distance, meaning it is often too visible to use as is. Is there a way to increase this distance / or lessen the effect?

    Fog setup is the same as the boundary's general fog(http://www.the-boundary.com/blog/201...-08-atmosphere)

    I've tried adjusting the parameters (stepsize, subdivs, max steps) but that didn't have a visible effect. Decreasing the fogdistance made it stronger, as expected. Adding a map to density just seems to lock up the render when going from LC to progressive.

    Am I missing something or is this a scene size limitation?

    vray 3.5 adv
    3dsmax 16
    unit setup is mm and display is meters.

    Thanks!

    Dean

  • #2
    Anyone?

    Is vrayenvironmentfog limited to 1000m? How can you bypass this if so?

    Thanks!

    Comment


    • #3
      VRayEnvironmentFog distance is not limited to 1000m, I actually got expected results even with greater distances like 10 000m.
      Here are some examples:

      500m: Click image for larger version

Name:	3dsmax_2017-03-13_17-43-21.jpg
Views:	1
Size:	353.9 KB
ID:	866977
      1000m:Click image for larger version

Name:	2017-03-13_17-44-03.jpg
Views:	1
Size:	366.4 KB
ID:	866978
      5000m:Click image for larger version

Name:	2017-03-13_17-44-38.jpg
Views:	1
Size:	372.0 KB
ID:	866979
      10 000m: Click image for larger version

Name:	2017-03-13_17-45-08.jpg
Views:	1
Size:	369.4 KB
ID:	866980

      scene:http://ftp.chaosgroup.com/support/scenes/fog_dist.max

      There might be a bug or something else that breaks the Fog.
      Is there a chance to send us the scene for investigation?
      Svetlozar Draganov | Senior Manager 3D Support | contact us
      Chaos & Enscape & Cylindo are now one!

      Comment


      • #4
        Thanks,

        Sure I'll send you a scene. It isn't a particular scene or project, I've never been able to type more than 1000 in the distance parameter..... Lets see what happens with your scene.

        Comment


        • #5
          Couldn't open your file (max2016). But doesn' t matter. Figured out what is the issue after seeing you could do it.

          It's to do with file units. I have 1m display and 1mm system unit.

          It seems a limit is in place where the maximum number that you can fill in is 1.000.000.000;

          display m / unit KM = 1.000.000.000m
          display m / unit m = 1.000.000m
          display m / unit cm = 10.000m
          display m / unit mm = 1.000m

          attached the file;
          https://we.tl/tu9iAsDvLq

          Comment


          • #6
            Actually we have to increase the max fog distance value and probably the fog high parameter as well in order to allow the users to use the full range of their scene scale. Meanwhile you can change those parameters trough max script:
            (getAtmospheric 1).fog_distance=value
            Have in mind that you need to multiply the Value with 1000 because your Max units are set to mm and display to meter. So Value= 10000000 will give you the same result as 1000 set in UI. Furthermore the UI will not be updated with the value set through the max script.
            Tashko Zashev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #7
              Thanks!

              Is there an advantage to using mm instead of cm as unit size? We've used mm as its the same as our autocad models.

              Comment


              • #8
                Originally posted by dean_dmoo View Post
                Thanks!

                Is there an advantage to using mm instead of cm as unit size? We've used mm as its the same as our autocad models.
                In my opinion this can only make the scene setup a little bit more convenient for large scene scale.
                Tashko Zashev | chaos.com
                Chaos Support Representative | contact us

                Comment

                Working...
                X