Augmented Reality for Desktop

Started by MSL, February 07, 2015, 08:30:18 AM

Previous topic - Next topic

MSL

Hi,

Can anyone point me to best AR solution(preferably free) which can be used with JPCT? (for desktop)

or Can anyone point me how can I replace the JPCT canvas with Live camera feed so that when I render 3D objects the objects will be rendered inside Camera feed?

Thanks in advance
MSL

EgonOlsen

It would rather work the other way round...i.e. you somehow have to obtain the camera image and render or copy it into the GL window. But i personally don't know oft any solution for this let alone one for Java. That doesn't mean that there is none though.

MSL

#2
Hi,
Thanks again. One of the best part of JPCT (apart from the Engine itself  :) ) is the Reply to the Forum posts. Truly amazing.

I can get the camera image or feed that won't be a much problem.

I think this is silly but can you give any heads up regarding "render or copy it into the GL window"?. Can you point to any example?

Update:

Were you referring to this?
Background Images
http://www.jpct.net/forum2/index.php?topic=110.0

Thanks in advance
MSL

EgonOlsen

#3
I'm not sure what i was referring to, because i've no idea what the camera image actually is. On Android, you can obtain is as a texture and you can hook it directly into the engine by using this method: http://www.jpct.net/doc/com/threed/jpct/Texture.html#setExternalId(int, int). But i doubt that this will be possible on the desktop with the means available. The second best thing would a rgb-arrays of pixels. The worst thing would be compressed image in jpg or png format.