Announcement

Collapse
No announcement yet.

IPR Aerial Perspective issue

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

  • IPR Aerial Perspective issue

    I've had to redo my machine for Win 10 so just checking bits work.
    I've noticed that aerial perspective, whilst showing in IPR, does not respect the units I input. My scene/system units are cm.
    A normal bucket render will work fine but the in IPR it is millions of times more pronounced, so unusable unfortunately.
    When calculating the light cache I can see the underlying distances fine but then it seems to then ignore that.
    I searched and see that it was noted as now implemented, so am I perhaps missing something I need to change for it to work as expected?

    EDIT: Sorry but I just tried this again and it is not actually working with buckets either although the light cach clearly sees it properly.
    Last edited by fixeighted; 27-08-2019, 01:17 AM.
    https://www.behance.net/bartgelin

  • #2
    I discovered that in order for this to work (for me) I need to set the system units to metres, which incidentally is not mentioned in the docs, so did not occur to me.
    Is this not counterintuitive? In the effect panel it states the ranges are calculated in metres, so I would think that if my system units were cms then converting the inputs would yield the same result. This is not the case
    which is a little odd no?
    https://www.behance.net/bartgelin

    Comment


    • #3
      Hello,

      The distances in the aerial perspective are in meters and then internally converted to the system units - so you should not need to convert any units manually. Could you share a simplified example of the problem scene - maybe there's something wrong in the conversion.

      Best regards,
      Yavor
      Yavor Rubenov
      V-Ray for 3ds Max developer

      Comment


      • #4
        Yes it's odd. A simple test is to apply the effect and compare with cm system units and with metres. I can send a scene, sure, when I get back to my desk later.
        I'm running Next latest with Max 2020, if that makes any difference.
        https://www.behance.net/bartgelin

        Comment


        • #5
          This file https://www.dropbox.com/preview/JUNK...?role=personal
          is simple and has system units set to metres.
          Open an ipr window and start it. Open the system units panel and just choose cms - it'll update without actually okaying anything and you'll see that it doesn't convert anything.
          In order for it to work the 10m distance I set here needs to be 0.1 m when in cms.

          I also noticed incidentally that with the sun/sky I have set up, all parameters in the VraySky panel work fine, other than the size multiplier which has no effect whatsoever. No big deal but thought I'd point it out
          as I thought that value would propagate to the sun itself, or at least a link would be initiated when choosing the scene sun as the sky node
          https://www.behance.net/bartgelin

          Comment


          • #6
            The link requires some login so I couldn't download it.

            I tried what you describe in a fresh scene - actually when changing the system units the sizes of all objects change. For example I started with system units set to meters and a plane with size 100x100 meters, some box 600m away and aerial perspective with visibility range 600m. Then if I change the system units to cms all the geometry changes size - now my plane is 1x1meters and the box is 6meters away. On the other hand the aerial perspective params are set to always be in meters so they stay the same 600m - and as geometry changed size and position the effect of the aerial perspective changes a lot.

            I also tried the sun multiplier but it seems to work correct - I've lowered the sun so I can see the sun disk itself, changed the size multiplier and the sun disk changes.
            Yavor Rubenov
            V-Ray for 3ds Max developer

            Comment


            • #7
              Sorry, I'm still sorting my machine and dropbox had not updated properly. Here is the file https://www.dropbox.com/s/666w88y52v...PERSP.max?dl=0

              With the size multiplier thing; it is the size multiplier accessed from the sky texture parameters that does not seem to work or propagate either way to/from the scene sun that is chosen as the sun node.

              EDIT: So, I feel a little stupid now Partly down to me doing this very early in the morning and clearly not awake LOL
              Of course all the object units change so I overlooked that key element and this caused my confusion. Thanks Yavor.
              The size multiplier thing still stands though, unless I have something else confused of course
              Last edited by fixeighted; 29-08-2019, 01:02 AM.
              https://www.behance.net/bartgelin

              Comment


              • #8
                Now I got the scene
                It happens as I described - the scene itself changes in size so you got different aerial perspective.

                All the parameters of the sky texture are actually overrides to the sun parameters. They are not meant to be in sync and propagate from the sky texture to the sun. In your scene the sun disc is not visible in the camera view so you don't see the effects of changing its size - if you lower it so that you see the disk, change the VRaySky texture multiplier you'll see the disc size changing.
                Yavor Rubenov
                V-Ray for 3ds Max developer

                Comment


                • #9
                  Yes, the scene units thing is my oversight completely.

                  I think my confusion regarding the scene sun and the sky texture's parameters is simply the wording.
                  I was under the impression that the 'sun light' selector was indicating that I choose the scene sun, when in fact it is strictly for using a light OTHER than a Vray sun as the source to use.

                  So whilst there were no issues in effect, regarding both my questions, at least this brief exchange has totally cleared up both areas of confusion. Thanks

                  https://www.behance.net/bartgelin

                  Comment


                  • #10
                    Glad that things are clearer now
                    Yavor Rubenov
                    V-Ray for 3ds Max developer

                    Comment

                    Working...
                    X