0 votes
in Education by (1.7m points)
Apparently, Microsoft has not yet made WebGL work in Internet Explorer by default. Plus, Opera have it only in their latest builds.

So, what is the most compatible way of getting an interactive 3D scene inside a browser? The scene is not going to be very dynamic, therefore a 2D Canvas renderer that could work in 3D Space would work.

Newest Flash is a solution also, but I haven't worked with ActionScript that much, and have no idea whether the Flash 3D support is as good as WebGL's one.

Maybe, I should simply forget about compatibility and build the app. for Chrome/Firefox/Opera?

P.S. The project is something like an interactive advertisment selling.

JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by (1.7m points)
You already mentioned Flash, and Flash is a very good/viable option.

You also have Java available to you, Java applets can also be a very good source of 3D scenes/graphics.

Microsoft's Silverlight also has a some limited 3D capabilities, if you're only looking for a scene, it's a nice choice, if you want to start getting more advanced, the difficulty curve goes up quickly.

As mentioned in comments under my answer, you do have XNA/Direct3D support in Silverlight 5; though, you might have to jump some hoops to get it to run on an older machine/certain graphics cards. (It's only enabled by default in Service Pack 1 of Windows 7, and in the new Windows 8 builds).

Lastly, if it's just an object or two, or something really simple, there's numerous jQuery (and other AJAX/JavaScript) frameworks out there that can help you. Again, the difficultly curve as you try to do more and more increases rapidly.

Here's a Silverlight 3D Framework that wraps most of the more complicated Silverlight calls:


Another...interesting pure JavaScript way:

3D Rendering in JavaScript