5

Is there an opensource framework to allow real-time rendering of textured polygons? I want to display photo's in a 3d space. I don't need many polygons (less than 100, but the more the better, of course)

dionyziz
  • 2,394
  • 1
  • 23
  • 29
Mr Bell
  • 9,228
  • 18
  • 84
  • 134

4 Answers4

7

WebGL

Dr. Snoopy
  • 55,122
  • 7
  • 121
  • 140
  • WebGL, looks awesome, and I can't wait for it be adopted, but I should mention that whatever framework needs to be available and working today – Mr Bell Sep 24 '10 at 13:55
  • 2
    Just realized this question was three years old... =P – aglassman Feb 14 '13 at 22:20
  • Should be a little more detail than WebGL but yep WebGL is the way to go, take a look at my Butterfly subdivision which uses WebGL & Html5 canvas tag to render the shape http://canvascode.co.uk/Projects/butterflysubdivision.html – Canvas Jul 16 '15 at 11:40
6

What about Three.js ?

It's simple, open source and powerful :). (http://mrdoob.github.com/three.js/) (You can render with SVG, Canvas or WebGL)

Dono
  • 128
  • 1
  • 9
2

Webkit's 3d transitions for CSS3 are hardware rendered on some browsers (Chrome, newer releases of Mobile Safari for the iOS) thus making 3d canvas animations also hardware accelerated (this is i think how Google gets it's scaling to work on the iOS).

This is not open source but it will get you 3d canvas and on certain platforms, awesome performance.

Community
  • 1
  • 1
Matt Kocaj
  • 11,278
  • 6
  • 51
  • 79
  • 2
    The 3d transistions appear to only really be supported in Safari. I see that chrome is suppose to support it, but the latest version (6.0.4.472.63) doesn't render them properly. For instance view this link in safari and chrome: http://webkit.org/blog-files/3d-transforms/morphing-cubes.html – Mr Bell Sep 24 '10 at 14:19
0

Have a look at http://processingjs.org.

Wikipedia-Quote:

Processing.js uses JavaScript to render 2D and 3D content on the HTML canvas element, and is supported by browsers that have implemented this element (the latest versions of Mozilla Firefox, Opera, Internet Explorer 9, Safari and Google Chrome).

itinance
  • 11,711
  • 7
  • 58
  • 98