I have one of our members to thank for diverting my attentions to this new project.
I know Paul has his amazing Mug Animator software, and I also know that sites with great product mockup generators exist, not to mention the freely available Fancy Product designer. However, I wanted to develop something that was of more use to designers/printers than customers.
To this end, I have started developing a Javascript web app that runs in a browser and uses webGL to render 3D models with PNG designs which can be uploaded by the designer. It's more to give a 3D visualisation of the final product, but I'll eventually make it suitable for taking still shots as well, to be used for mockup images etc.
Please understand that this is in a VERY early stage of development! So far, I have managed to load a 3D Durham mug object, texture it with a wrap image, and render it in the browser with a constant rotaion added. The model is very basic and only flat-shading has been applied, so it looks a bit blocky at the moment. All of that will change once I begin adding shaders and setting the lighting up correctly.
So, here it is ...[User Deleted]
I haven't cross-browser tested anything yet, but it should work in most modern browsers as they all support webGL.