There is a really cool technique like this that I have used to render things that are only inside a bounding box, kinda the same idea it looks like.
Thanks for the sample could find a use for this sometime.
There is a really cool technique like this that I have used to render things that are only inside a bounding box, kinda the same idea it looks like.
Thanks for the sample could find a use for this sometime.
A Simple Thin Instance Wrapper. If you work with a lot of meshes thin instances are the way. I wrote a little wrapper to add, setPos and getPos.
PS: the thinInstanceGetWorldMatrices returns an array which grows each time you add a mesh. therefore it is a better idea to create a bunch of meshes (e.g.) 500 and call this function one time and store it as a class attribute.
Found it, works really well with arbitrary mesh when I project the 3d coordinates as 2d flat array compared to using the 3d flat array directly.
https://www.babylonjs-playground.com/#WYLQEY#8
Cooool, thanks.
awesome
runs so smoothly on my pc!!, apparently, there’s an issue with lots of thininstances on mobile, it doesn’t show when i tried the demo on my iPhone
what the… I am surrounded by masters of their trade!
Great Cinema, Cedric!
This one isn’t working for me, it shows up as a black screen with console errors.
Expanding bunny…
Should be fixed now.
Meh, just moving on a navmesh with a minimap, nothing fancy
https://www.babylonjs-playground.com/#7RRC76#2
Edit: for some reason you have to press “play”
the minimap is fun, especially how you have the fog of war with it
AttachControl has been missing… now I can see the mini map
Did this about a year ago
How to play: rotate camera to move player around, gather enough dungs and empty them in the dung ring, avoid the dung stealer…time is counting