My wife and I made a website for our company with Babylon JS. We wanted to say thank you for all the amazing work and a special thanks for the dedication towards the documentation.
How we did it: we built the models in Blender, baked the procedural textures into smaller sized tileable ones and baked a separate, combined light map. The navigation is custom-coded in Typescript and uses the history API. The content is layered on top by getting the bounding box of the meshes representing the content area. The HTML files are built using a custom Webpack plugin and include the “fallback” HTML for search engines and devices without WebGL support.
Tutorials we found helpful:
(Sorry for the broken links, can a mod please fix them? This is a new account and we can only paste 2 links.)
Looks FANTASTIC! I love the way you built the navigation, feels like we are in your home indeed
Thank you, this is our virtual home.
Holly Sh… I want your skills !!!
Thanks @sebavan ! My wife told me several times when making these: “Someone’s going to notice.”
very nice , I like the art style and colors also it loads up nice and quick
A small nitty bit of feedback , When using the 3d view, you should consider using some camera rotation restrictions so users can’t go under the floor ( viewing the model from below the ground (xz) plane.
Thanks @shaderbytes! We did consider adding those restrictions, but then again, we wanted people to be able to explore the model freely. In fact, it’d be cool to hear some more opinions on this. I wanted to add the restrictions and my wife was on the side of free movement.
How about Cookie banner on the toilet paper and consent by flushing the toilet
Thankfully, we managed to avoid that, but if we ever need a cookie banner this is probably the best way to do it.
yes but that should not mean exploring views that are not presentable. No offence to the opinions of those close to you that you love very very much but Having 360 degrees around the y axis and then 0-90 on the x axis is a very very common practice due to the nature of such 3d models.
eg , this view is not presentable , there is no point in having this viewing angle :
There are lots of parts that aren’t exactly presentable. Most lightmap parts don’t hold up to close inspection due to the size optimizations we had to make. That button is mainly meant for people who want to see how the sausage is made.
Nevertheless, the next time we update the website, we’ll see if restricting the camera is easily doable without causing problems while panning.
i understand since you say its not a front feature then really its a case of picking a lesser poison , which are now :
• some or other panning concerns
• wierd camera angles
I personally think a end user will run into the weird view angles way before panning and maybe even exclusively! panning is for higher grade 3d viewer users … the rest just rotate the scene , ive seen it in action
panning then becomes an obvious lesser poison.
Anyway , just an opinion, cheers