logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Three Dimensional

    Scheduled Pinned Locked Moved
    WIP and Showcase
    4
    6
    476
    Loading More Posts
    • 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.
    • Aidan_FireA
      Aidan_Fire
      last edited by Aidan_Fire

      A few years ago, I uploaded a project to the hub called Three Dimensional. It's the only project on the hub with actual 3D at this time (isometric, no perspective). It's very very laggy. When I made that, I didn't even know how the 3D maths worked, I just found some formula on the internet and used that. I am thinking of remaking the whole thing from scratch because I've finally worked out how to make 3D myself, and I've done it way better than before.

      Here's a pic of what had to happen on a timer to move points in 3D: 0_1561413150038_25410BDB-DF62-482D-8D71-0C86FAC5732A.png

      Now here is what I've got working in a separate project:
      0_1561413190021_524EC23B-E44F-4A2A-A739-078F951248B7.png

      The old one could render a cube at just under 10FPS on my iPad Air while updating the points positions on a 0.1s timer. The new one stays at 60FPS while updating positions on a 0s timer.
      Quick video of new test project:
      0_1561413360099_71834F8E-F72C-4F87-817C-86B5D9E10A91.MP4

      1 Reply Last reply Reply Quote 3
      • RobinsonXR
        RobinsonX
        last edited by

        Wowies! 😱

        So you just found a huge fix for the lag, this is buttery smooth.

        SuperSeanS 1 Reply Last reply Reply Quote 0
        • MurtazaM
          Murtaza Admin
          last edited by

          Very cool to see you updating this! Impressive to see how much you've learned and able to improve the performance so much.

          1 Reply Last reply Reply Quote 0
          • SuperSeanS
            SuperSean @RobinsonX
            last edited by

            @robinsonx said in Three Dimensional:

            Wowies! 😱...

            Trollololololololol 👌😂👌

            1 Reply Last reply Reply Quote 0
            • Aidan_FireA
              Aidan_Fire
              last edited by

              So it seems it's the faces that cause the biggest problems with this, once I added all the faces to the cube and had everything updating on 0s timers, it became quite laggy. It's still better than what it used to be though.

              Points updating every 0.1s but moving smoothly, faces every 0.1s but not smooth: 0_1562636748362_9ED684B2-4964-4520-8FDA-170409D82A3F.MP4

              Faces updating every 0s (big frame rate drop): 0_1562636772122_12D26D09-2856-4FE9-8D55-CA4F16D51953.MP4

              Faces updating every 0.1s and transforming "smoothly" (this just looks ridiculous, I feel like I should put an epilepsy warning here): 0_1562636890094_4B8C4623-C1A5-47E3-84B1-3CBE8F72FAA0.MP4

              1 Reply Last reply Reply Quote 0
              • RobinsonXR
                RobinsonX
                last edited by

                Wow, this is amazing! 😱

                This is one of the things I can't achieve myself.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post