Reputation: 529
I'm working on product customization webapp and I ran into problem how to map user uploaded images or texts onto complex 3D surfaces in my website back-end. It is easy to apply simple skew and there are libraries for that I looking for something more powerful. I have photos of my products and also corresponding 3D models of the customization surfaces (eg. female t-shirt chest part has quite complex surface if I want to show it from different angles).
It there any good tool for this kind of operation? Either on the server side (PHP) or client side (HTML5, js)...
At the moment I've run only onto Image_3D, but this one doesn't allow texturing.
Upvotes: 4
Views: 1168
Reputation: 846
I've done something similar to this using pov-ray though my use case was simpler (3D book images, so my model was basically just a cuboid).
If you define your model in a pov-ray script, then when you upload the image in the back-end you can use pov-ray to render the model with that image as the texture.
Upvotes: 2