Porting example by ChatGPT (Porting from xeogl to Babylon.js)

I would like to share the information because it was too easy to port.

Below is a sample camera from the WebGL library xeogl.
How can I port this to Babylon.js?

(paste code here)




w000t this is coool

1 Like

If all the meshes have the barycentric data you could use my barycentric shader to render it just like the top image.

Such a simple dialog, pretty cool.


Thank you for the wonderful information. It may not be perfect, but I think I was able to incorporate that shader.

Awesome! You can configure it’s colors too and make it match 100%

1 Like

I also changed the color. Now we have a near 100% match?

1 Like

Looks pretty close nice. I’ll have to check it out when I get back on my PC!

UPDATE after looking at it on my pc I can see some culling issues with items. There would still be some tweeks to make but its close.

1 Like

Looks super cool! The wireframe style rendering brings some nostalgic late 90s/early 2000s vibes :smile: