• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

3D on browser

 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI all,

I want to display some 3D boxes inside the big 3D container, that means some small boxes inside the big box. For the same, I explore the <canvas> element from HTML5 spec, but didn't find any helpful information as far as 3D is concern. I also look at the Erics canvas 3D experiment, but I didn't find the straightforward way to map small boxes in big containers X, Y, Z position.

So is there any simple library/script which make it possible to show 3D as per my requirement.

I tried the Java 3D applet, but the main disadvantage is, its slow and not every machine support required 3d hardware.

Any inputs ?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://processingjs.org/ is a nice library for 2D, and may make a good building block for 3D stuff.
 
Sagar Rohankar
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ulf, the library was awesome.
But, it still gives the 2D x, y coordinate system. I think, I need the approach which enable me to display 3D in 2D environment.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Only browser that gives 3D with canvas out of the box is Opera.

If you really want to be doing 3D you should be looking at Flash.

Eric
 
Sagar Rohankar
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:Only browser that gives 3D with canvas out of the box is Opera.


You mean, I can find the method as simple as,


Eric Pascarello wrote:If you really want to be doing 3D you should be looking at Flash.


Hmm, I'm seriously considering this option now Anyway, thanks for the help.
 
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic