ScratchData LogoScratchData
Back to Howtomakeausername's profile

Perlin noise generated 3d terrain engine v6.4!

HOHowtomakeausername•Created June 11, 2020
Perlin noise generated 3d terrain engine v6.4!
582
510
7389 views
View on Scratch

Instructions

-Run on https://turbowarp.org/#403944180 for above 12 view length with no lag! Runs MUCH FASTER! See the original - https://scratch.mit.edu/projects/372426720/ Instructions: -Higher view length is higher lag -Arrow keys to look around, wasd and space to move -move mouse to top for options - switch to wireframe for significantly faster speeds, try using pen size 1 :) -You can only look up a certain amount - Love, fave and follow me, @howtomakeausername for more like this. -Try putting view length high, it looks great!

Description

This is where I will add all new updates to my old 3d open world. -----------------------------Changelog--------------------------------- v6.5 - Added jumping again! v6.4 - MINIMAP ADDED! (Work in progress), and though it slows down the rendering process considerably v6.3 - Sand added! v6.2 - Fixed bugs that happened when you first clicked the flag v6.1 - Player height bug fixed v.6 - Water has slightly different heights that are procedurally generated, water level changes over time v5.9 - option to change map sizing v5.8 - MOBILE CONTROLS!!! v5.7 - Added perlin noise generator for map v4.7 - HUGE optimisation v4.6 - updated lighting to make it more realistic v4.5 - Made it so it only calculates lighting for each square, not each triangle. It looks a lot cleaner now. v4.4 - Added some mountain below the snow v4.3 - Another speedup to the 3d tri-filler v4.2 - Added snow on top of high mountains! v4.1 - Updated light position and light strength v4 - Lighting is calculated by the dot product of the surface normal and light position, and distance v3.9 - SIGNIFICANT speed boost due to back-face culling v3.8 - Water is now COMPLETELY flat v3.7 - Increased players height off the ground v3.6 - HUGE speedup for the triangle rendering v3.5 - Removed XY clip for wireframe for a slight speed boost v3.4 - All water is now mostly flat! v3.3 - More variability, now there are entire lakes of water and the amount of water in different areas changes v3.2 - Added water if the y drops below a certain point, increased pen size for wireframe v2.2 - Checkered plane + z-sorting (works but is a different than usual method) + reshared v2.1 - Even more complicated sine/cosine transform v2- New sine/cosine equation used to make the world + less wireframe lag +more view + ADDED FILLER! This is a very simple way to make a 3d world. I'll try to explain what's going on. First, you need to have a 3d engine (there are tons of tutorials for this). Then you need to make a 2d perlin noise generator that procedurally generates all heights, and also the height of the player. That's how this works. credits: @mathmathmath for his 3d engine tutorial that helped me make this @s_tutorials for the z-clipping of the triangles @dadofmrlog for the tri-filler @jamothehyperturbopro for his tutorial on front-face detection and @codingbio for suggesting it. tags: @scratch-minion for help with the code for the lighting @java-programmer for his perlin noise tutorial #3d #world #open #3d #terrain #engine #pen #howtomakeausername #who #uses #tags #anyway #me

Project Details

Project ID403944180
CreatedJune 11, 2020
Last ModifiedOctober 13, 2020
SharedJune 22, 2020
Visibilityvisible
CommentsAllowed