Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Bug Reports
  3. Set Color: Changing Opacity Values is Expensive

Set Color: Changing Opacity Values is Expensive

Scheduled Pinned Locked Moved Unsolved Bug Reports
3 Posts 1 Posters 578 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Deeeds
    wrote on last edited by
    #1

    An object of about the attached size, with a colour blend applied to it:

    #0088FF66

    Then have it change with a Set Color of 0 duration to:

    #00E3FFFF

    And then use any animation you like within another Set Color for a couple of seconds to fade back to:

    #0088FFSS

    Have 5 of these about 1/3rd of a screen apart, on a ground. Get a ball, roll over them to activate them, one by one.

    Now watch the ball stutter every now and then, not everytime, but way more than 1 in 10 activations, as it activates this simple change to these things.

    I don't know if you have any tooling, @Hamed, for profiling these types of rendering changes, but this seems oddly very expensive to me for something that is a very simple change.

    Doesn't matter if using linear or exponential or any other form of animation. You can even turn that off, and just do an instant swap between color states. It still does it.

    It's not the physics contact, I've turned off this Set Color and activated particles and other more complex things with the same physics rig without these stutters.

    It is the Set Color activity that's causing the stutters.

    0_1510782115535_BonusBox_On.png

    D 1 Reply Last reply
    0
    • D Deeeds

      An object of about the attached size, with a colour blend applied to it:

      #0088FF66

      Then have it change with a Set Color of 0 duration to:

      #00E3FFFF

      And then use any animation you like within another Set Color for a couple of seconds to fade back to:

      #0088FFSS

      Have 5 of these about 1/3rd of a screen apart, on a ground. Get a ball, roll over them to activate them, one by one.

      Now watch the ball stutter every now and then, not everytime, but way more than 1 in 10 activations, as it activates this simple change to these things.

      I don't know if you have any tooling, @Hamed, for profiling these types of rendering changes, but this seems oddly very expensive to me for something that is a very simple change.

      Doesn't matter if using linear or exponential or any other form of animation. You can even turn that off, and just do an instant swap between color states. It still does it.

      It's not the physics contact, I've turned off this Set Color and activated particles and other more complex things with the same physics rig without these stutters.

      It is the Set Color activity that's causing the stutters.

      0_1510782115535_BonusBox_On.png

      D Offline
      D Offline
      Deeeds
      wrote on last edited by
      #2

      I've done some more testing. This could be caused by screen pop-in. Whatever you're doing with objects not onscreen before then putting them on screen during scrolling, that could be causing this.

      D 1 Reply Last reply
      0
      • D Deeeds

        I've done some more testing. This could be caused by screen pop-in. Whatever you're doing with objects not onscreen before then putting them on screen during scrolling, that could be causing this.

        D Offline
        D Offline
        Deeeds
        wrote on last edited by
        #3

        Yes, 100%, this is caused by screen pop-in during scrolling.

        Something isn't efficient in that system.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Search