Announcement

Collapse
No announcement yet.

vb25 bug: Image Aspect Lock

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

  • vb25 bug: Image Aspect Lock

    Andrey, when "Image Aspect Lock" is turned in it causes my cpu to spike. Digging into it I found when it is locked, it causes the whole panel to be continuously redrawn for some reason, causing constant cpu usage. I couldn't find the source of the problem.

    Also VRayScene.image_aspect min and soft_min should be 0.1. On a casual scrolling of image aspect ratio, if you hit zero, that subpanel dies due to div by zero.

    Cory
    Cory Petkovsek
    Corporate Video

  • #2
    Re: vb25 bug: Image Aspect Lock

    tinmanjuggernaut, this some kind of experiment and it also works only in a "special build" because generally any params assignment in deprecated in draw() function (in UI). And btw cpu load is find for me...
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Re: vb25 bug: Image Aspect Lock

      I'm running win 7/64. If I use either my 64-bit build 2.56 r34630, or your 32-bit build 2.55 33895 and updating the script with "git pull", I see the same results.

      By opening blender and clicking "image aspect lock" it continually calls the draw function (VRAY_RENDER_dimensions->draw, among others) and the cpu spikes. However, if I turn off the render panel by switching to material or texture, cpu goes back to normal. It's only when the render panel is on screen and image aspect lock is checked that it continually draws that whole panel. If you put a print statement in that function, you should see it dumping lines to the console continuously when that box is checked, rather than just when it needs to redraw.

      Cory
      Cory Petkovsek
      Corporate Video

      Comment


      • #4
        Re: vb25 bug: Image Aspect Lock

        tinmanjuggernaut, I've no win7 but will try to find out why this happens or find a better way to do this feature.
        V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
        andrei.izrantcev@chaos.com
        Support Request

        Comment


        • #5
          Re: vb25 bug: Image Aspect Lock

          Ok. It's really low priority. We can set it manually. I just wanted to give you the information.
          Thanks!
          Cory
          Cory Petkovsek
          Corporate Video

          Comment

          Working...
          X