Examples from the playground

draw path during mesh move

draw on screen

1 Like

cool :slight_smile: – fancy drawing

1 Like

glas material

1 Like

Aaah… finally I found a listbox!

3 Likes

Decals+screenshot - https://playground.babylonjs.com/#1BAPRM#467
When the number of decals is more than decalLimit (4 in this example) all previous decals are disposed with counter reset.
The plane is double-sided, for additional visual effects :slight_smile:
Here - https://playground.babylonjs.com/full.html#1BAPRM#468 - the screenshot is used for decal material texture.

3 Likes

Simple “Fog of war” effect for strategy games.
Move the mouse over the black plane and the underlying scene will be visible at that point.

The polar coordinate idea was taken from Patrick’s youtube babylonjs tutorial, so thanks for that!

Note that the circle radius can be configured in the inspector.

Playground
Node material

5 Likes

2 Likes

One of my favorit films “Matrix”

4 Likes

Shiny rain particle


https://playground.babylonjs.com/#0MB0GU#0

1 Like

Fade out to an other background image

1 Like

Scifi Model Viewer:

https://playground.babylonjs.com/#QANVC6#1571

1 Like

image

2 Likes

A guy had this great & nice idea to unwrap Buzz Aldrin’s visor from a photo from the Moon.

So I used a playground that I’ve made some times ago about a photo from Gaia catalog to “see” what Buzz Aldrin was seeing at this moment: https://playground.babylonjs.com/full.html#L1UP4J#3

2 Likes

Hi Necips,

This demo no longer works. Is there a reason for this? This demo looks cool and could be of use to me. Thanks in advance :

Post: Examples from the playground - #457 by Necips
PG: https://www.babylonjs-playground.com/#0DE8F4#8

It looks like a change added between 4.1 and 4.2 I wonder if it is physix related @RaananW or @Cedric ???

Nah this is only for the code editor part so it would not impact here. In this case it looks like either ik or physx had a change.

Let me take a look.

a strange rotation of a cube

1 Like

“Pixels” with thin instances

If you move a mesh the vertices are not updated automatically. You have to use bakeCurrentTransformIntoVertices()

image

1 Like

Cannon Vec3 were assigned to mesh position.
Fixed PG:

https://www.babylonjs-playground.com/#0DE8F4#10

4 Likes