This was originally @Pryme8 work just made a few modifications, now you can uv unwrap from ref mesh (cylinder, tri-planar, spherical, etc). In this demo i’m using a box instead as it’s the most common assides from planar. I talked to @Pryme8 about the idea of getting this into babylonjs as a tool for developers, LMK what you think @sebavan @Deltakosh
I like it a lot! That can definitely go to the framework! Just make sure to drop it in a separate file as an exported function (something like MeshTools.ts) so it can be tree shaked
Love it a lot as well !!!
I like it a lot! I think it is very useful for me! awesome!
oh forgot i wanted to work on getting this in lol, been busy
if you have free time,welcome!
Noticed MeshTools.ts was removed, should i put it in tools.ts instead? @Deltakosh @sebavan
I would create it in its own module under the misc folder as we already have the meshExploder.ts file there ?
I am stupid with naming so I won t even try
Yeah I will try that lol
i was following how meshExploder.ts is integrated , so i exported uvprojector in ./Misc/index.ts. but I got this error while trying to build, is there any step i might have missed?
here ready