graphysics icon indicating copy to clipboard operation
graphysics copied to clipboard

adding 3D shadows and lighting

Open trusktr opened this issue 4 years ago • 1 comments

Let's try a 3D shadow/lighting effect with Lume. I'll give it a shot if you haven't already by the time I swing back here.

trusktr avatar Jun 11 '20 08:06 trusktr

Sure that'd be awesome. I'll analyse what are the possible integration options, as I mentioned in the forum, the vertices here are SVG elements, but I'm trying to work on a very decoupled rendering systems where it's either possible to toggle between them or combine them. as showcase, I even started a graph3d repo, but I'm not sure I'll follow it up simply because I don't think vertices should be fully defined 3d meshes that might impact performance, but I'm really not sure. https://github.com/NetworkGraphs/graph3d

My favorite approach at the moment is the usage of classList.add and classList.remove and let CSS or any other Rendering engine take advantage of that.

But I let you completely free in your suggestions as I might learn things I did not knew, so be it a fork or suggestion, I'll try things out.

wassfila avatar Jun 11 '20 10:06 wassfila