Brian Weinreich
Brian Weinreich

Reputation: 7712

How do I integrate PHP with a 3d environment?

I have built a website using php and simple HTML/CSS for a client. In its simplest form : The website allows users to upload pictures and view them in a virtual art gallery. Basically I just placed images against a background image that looks like a art gallery wall.

The client wants a 3d website now, where the user can "walk through rooms and view pictures on walls, etc."

I'm wondering what's the best way to create a 3d environment that will allow me to use php to dynamically change the layout of the walls. I have been thinking of using html5 canvas.

I'm open to pretty much anything. Thanks!

Upvotes: 0

Views: 1160

Answers (1)

Shi
Shi

Reputation: 4258

You can try WebGL, Adobe Flash/Flex, Silverlight or Java applets for that.

For all approaches, you likely will have a "loader program" (or "engine") which then fetches the room description via RPC from your PHP-based backend, along with image URI and other stuff you need. This way, there is no need to change your program again just for updating the rooms or images.

Upvotes: 2

Related Questions