wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes What should be the best API for converintg real time images into 3D objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "What should be the best API for converintg real time images into 3D objects" Watch "What should be the best API for converintg real time images into 3D objects" New topic
Author

What should be the best API for converintg real time images into 3D objects

RaviA Ajoshi
Greenhorn

Joined: Oct 20, 2011
Posts: 4
Hi,
I don't know whether this place is perfect to ask my question. Actually i don't have much more knowledge about the rendering of real time 3D Objects (just in case of Google Earth). Although i know that OpenGL, Java Applet, Flash can draw 3D objects as i used these earlier.
Here my aim is to develop a website which can render real time 3D objects. I don't know which API should i use for this purpose. Applet and Flash can be a good option but i need some API which can convert any real time image into real time 3D object.
Please suggest some direction to me about the API which can be helpful for my purpose as right now i am unable to find the best solution.

Thank you.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
What is a "real time 3D object"?

But regardless of what it is, converting an image stream (like from a camera) in real time to just about anything will almost certainly not be possible in Java (which does not have real-time characteristics, unless you're using the commercial real-time JVM from Oracle).
RaviA Ajoshi
Greenhorn

Joined: Oct 20, 2011
Posts: 4
Okkkk... My objective is to display the picture as seen by a camera(real time). I mean i want to display the 3D objects (as you could have been seen in computer games but not in websites) and one more thing these 3D objects can be interact with the user (for example clicking on them will generate some events)
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
So you actually don't want to convert images, you want to render images so the user will have the impression of a smooth flow, like 24fps?

How does the web fit in? Do you want to render in the browser or on the server? The browser will almost certanly be too slow. The server almost certainly will not be able to generate and stream images fast enough to create a smooth flow (unless you're using a LOT of client-side buffering, inwhichc ase you'd lose interactivity).

Going just by these points, I think the chances of success are quite low.
RaviA Ajoshi
Greenhorn

Joined: Oct 20, 2011
Posts: 4
Let me describe you more about my objective. By the word interactive, i mean to say that all the 3D objects which are in the screen, can respond to the user by some how. You can treat the whole objective as a 3D computer game but in website,in which objects are drawn dynamically according to the input. In this case input is a real time image (or video) taken by some camera. For example, suppose i am walking in street with a camera and i took some pictures (or videos). Now i want to show all those in web in such a form, so that they can be user intractable. Here i just want to draw the layout of the street (not all those person, which are walking in the street). That layout will contain some buildings and some traffic (bus, car etc.). These objects should be intractable with user. That was my point.
 
jQuery in Action, 2nd edition
 
subject: What should be the best API for converintg real time images into 3D objects