Retexturing a model via API on the web
Posted
by
AndyMcKenna
on Programmers
See other posts from Programmers
or by AndyMcKenna
Published on 2012-02-09T16:51:56Z
Indexed on
2012/03/24
23:38 UTC
Read the original article
Hit count: 252
I'm looking at creating a site where a user could see our product and configure the options or look of it and see an image that represents that.
The way I'm doing it now is if you have Piece A selected and then you choose Texture X, I have an image on the filesystem that is A with X applied to it. I just swap out my default image with that specific one. One product has 8 areas, with 10-70 pieces per area, and about 200 textures for each piece. Programming the site was pretty simple but we are getting bogged down in rendering all these pieces/textures and entering them into the system.
What I would love to do is build a model and have some way to apply the textures via API and render it to the browser. I would even settle for exporting a flat image and pulling that into the browser.
Is that possible with something like SolidWorks, 3DSMax, or something else? If the rendering is too time intensive it would still help to batch create all my images and use them the way I am currently.
© Programmers or respective owner