Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Anyone done Perlin noise in F4NS?

    Help
    noise terrain smooth perlin
    5
    17
    1406
    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.
    • mixaal
      mixaal F last edited by

      I created this implementation some time ago:
      https://www.facebook.com/michal.conos/videos/10160159757723765/?notif_id=1605963953905405&notif_t=video_processed&ref=notif

      It's opensimplex port from python. The real implementation starts on line 336 but the first ~150lines are needed for initialization. Unfortunately it seems the fuze has changed the api a bit so now I'm getting error in setTerrainPoint() method.

      vinicity 1 Reply Last reply Reply Quote 2
      • vinicity
        vinicity F @mixaal last edited by

        @mixaal Very interesting! Have you shared it?

        1 Reply Last reply Reply Quote 0
        • PickleCatStars
          PickleCatStars F last edited by

          I’m interested in this too. I’ve tried to have a look at how to create perlin noise, but most stuff online seems to be ’use the noise() function’...

          1 Reply Last reply Reply Quote 1
          • mixaal
            mixaal F last edited by

            Yes, it's shared under my id. SW-4268-9955-3001

            vinicity 1 Reply Last reply Reply Quote 0
            • vinicity
              vinicity F @mixaal last edited by

              @mixaal Can you do a community share as well?

              1 Reply Last reply Reply Quote 0
              • mixaal
                mixaal F last edited by

                Working on it now :) Need to fix the setTerrainPoint handle first :)

                1 Reply Last reply Reply Quote 1
                • mixaal
                  mixaal F last edited by

                  Okay, made it to work, the ID should be: NXK1RRZDDE once approved (status pending).

                  1 Reply Last reply Reply Quote 1
                  • mixaal
                    mixaal F last edited by

                    It's live ... Takes some time to generate the terrain (approx about 2mins?)

                    1 Reply Last reply Reply Quote 2
                    • vinicity
                      vinicity F last edited by

                      @mixaal, This looks amazing. I love the clouds! It should really be made into a game proper.

                      By the way, I saw the SlowTracker in your friend shared projects. Any chance that you will repair that as well? 😊

                      mixaal 1 Reply Last reply Reply Quote 0
                      • mixaal
                        mixaal F @vinicity last edited by

                        @vinicity Thanks a lot ! I can take a look at slowtracker at the weekend ;) But I think to make this one useful it's a long way. I'd love to have the possibility to upload custom samples and be able to save into a shared slot to reuse the "music" in other projects.

                        1 Reply Last reply Reply Quote 1
                        • PickleCatStars
                          PickleCatStars F last edited by PickleCatStars

                          Wow, this is really impressive. The terrain is huge!

                          Edit: It was interesting glancing through your code and noticing comments like ’is it inside the triangle?’ and ’getting height by by bilinear such-and-such’. Fun to see someone else’s answers to the same things I’ve been dealing with my game, which was mostly inspired by seeing the terrain function and thinking it was cool :)

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