Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am starting a skateboard website that allows user to customize skateboard setups. I wanted to know what type of programming is used for this sort of thing because the people that I paid to do website are saying they can't do it.

So for example there would be a picture of a default board color, wheels, and trucks all put together. From there they would select the color or print they wanted on board and the board would change color without leaving the screen. When they chose color of wheels the wheels would change color or size depending on what they choose.

Anyone know what kind of programming this would be?

Thank you!
Posted
Updated 18-Jun-15 10:14am
v2
Comments
Sergey Alexandrovich Kryukov 18-Jun-15 17:13pm    
Are you sure you can only use PHP on server side? It may be too weak and primitive for such problems...
—SA

1 solution

You could simply prepare few several designs with different color combinations, perfectly pre-rendered, so the user could choose from the fixed set of options. I do understand that this is not cool at all, but this is what you can do immediately. Everything else is orders of magnitude more complicated. If you are asking such a questions, it's hard to believe you have enough experience to leverage and develop more advanced techniques.

It's possible that you kept in mind some bitmap color transformation software. I can tell you for sure: it can work, but then forget about any quality. You don't have a freedom to change colors in an arbitrary way, as the design-grade software requires, no matter how good the software is; this is not because of software, but because of informational science concern and nature of things (3D objects you want to cell): those bitmaps don't carry the information on the 3D structure of the objects really needed for rendering the object in arbitrary colors.

So, we're coming to the conclusion: the minimal technology you may need would always include having 3D models of your skateboards and other objects, and rendering of these 3D models on request. Note that only the best software does this rendering realistically. I would say, you may need some good-quality engine which you would need to leverage on your server side. And it's hard to believe that a mere PHP library, no matter how good, can cope with this problem really well. First of all, PHP is interpretive it may provide inferior performance. Besides, it has been created not as some serious language; many would call it ersatz-language, which became popular mainly because it is cheap, not very resource-demanding. However, you can try to find something:
http://sourceforge.net/directory/graphics/graphics/3drendering/os:windows/freshness:recently-updated/?q=php+3D+rendering[^],
http://www.phpclasses.org/package/3364-PHP-Compose-and-render-3D-object-models.html[^],
http://bfy.tw/PQt[^].

I need to warn you: I never tried anything of the above, but I saw some samples; they are too primitive to my taste, hardly can impress the users of a skateboard site, set aside a desire to order their custom designs.

You can consider using some more advanced server-side technologies, but it might make your project more realistic. Still, you are going to have a lot of problems, but the whole thing is really doable.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900