Suphi Posted February 17, 2016 Share Posted February 17, 2016 Hello and welcome to my flat shaded ground demo. So if you want to make a dynamic ground that is flat shaded using the convertToFlatShadedMesh function would make it a 2 step process so i made my own custom mesh builder that also flips the triangles to give a better effect. DEMOhttp://www.babylonjs-playground.com/#1SLLOJ#77 how to - Equilateral Triangleshttp://www.babylonjs-playground.com/#ANEKM#8 //this is not dynamic look at demo to see how to edit equilateral triangles how to - Right Triangleshttp://www.babylonjs-playground.com/#ANEKM#6 abhivaidya, c75 and jerome 3 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted February 17, 2016 Share Posted February 17, 2016 Have you seen http://www.babylonjs.com/Scenes/Worldmonger/index.html It might inspire you some! Quote Link to comment Share on other sites More sharing options...
Suphi Posted February 18, 2016 Author Share Posted February 18, 2016 Yes iv seen the worldmonger demo it's grate ill try to make a similar demo of this flat shaded mesh the thing i love about flat shaded meshes is 1 you don't need to use textures and 2 it still looks good at low resolution and that's what i need as the map data for my game will be sent over from the server Quote Link to comment Share on other sites More sharing options...
satguru Posted February 20, 2016 Share Posted February 20, 2016 something similar http://www.pixelcodr.com/tutos/trees/trees.html jerome 1 Quote Link to comment Share on other sites More sharing options...
RaananW Posted February 23, 2016 Share Posted February 23, 2016 Man, this is so great! Adding right-click to support terrain height-decrease - http://www.babylonjs-playground.com/#1SLLOJ#73 jerome 1 Quote Link to comment Share on other sites More sharing options...
Suphi Posted February 23, 2016 Author Share Posted February 23, 2016 nice one RaananW i did a few edits my self 1) removed unneeded vars 2) fixed tilePositionFromWorldPosition function 3) middle mouse button allows camera rotation http://www.babylonjs-playground.com/#1SLLOJ#75 Boz, iiceman, c75 and 1 other 4 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 23, 2016 Share Posted February 23, 2016 This is really fun! Quote Link to comment Share on other sites More sharing options...
Dal Posted February 24, 2016 Share Posted February 24, 2016 Nice idea! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.