Anyone done Perlin noise in F4NS?
-
@Gothon This is really helpful. Thank you 😊
-
@vinicity Thats roughly what I am after doing. I've got the road moving and now I want natural looking hills generated dynamically to create the "driving in convoy" look you described":
I plan to add some trees later too.
-
I created this implementation some time ago:
https://www.facebook.com/michal.conos/videos/10160159757723765/?notif_id=1605963953905405¬if_t=video_processed&ref=notifIt'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.
-
@mixaal Very interesting! Have you shared it?
-
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’...
-
Yes, it's shared under my id. SW-4268-9955-3001
-
@mixaal Can you do a community share as well?
-
Working on it now :) Need to fix the setTerrainPoint handle first :)
-
Okay, made it to work, the ID should be: NXK1RRZDDE once approved (status pending).
-
It's live ... Takes some time to generate the terrain (approx about 2mins?)
-
@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? 😊
-
@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.
-
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 :)