How to create a simple program with virtual reality object using camera, which allows you to look at it from different angles?
I just can't find the solution
Granted, many of them rely on patterned markers, so if you're not using one of those to determine the orientation of your object, well, then you want to be getting the physical camera movement information from your camera's gyros. In this case, this project might be better off written in a native camera (Objective-C or whatever Androids use) language instead of Processing, so that you have (I assume) easy access to the device's orientation information and video feed.
If you insist of doing it in Processing, start by displaying an image from your device's camera. Can you then draw a 3D object on top of that? Can you post the code of that so we have something to work with? Can you also make sure not to post a new discussion about it?
Could you help with virtual reality? The program should allow you to see on the table, where there is nothing, a cube, for ex, and if we "go around the table", the cube should be changed
When the table is existing in reality and the cube is virtual then it’s not virtually reality (vr) but augmented reality (AR).... I said this already in PM: see AR and ARCore.
And get your vocabulary right otherwise you’ll ask and google in vain. It’s AR.
See Wikipedia for clarification of vr versus AR please
Answers
Please don't post duplicate questions. Keep similar content questions under the same post.
Kf
Can you give us more information about what you want rather than just posting duplicates.
Do you mean a virtual camera or an actual camera, like on a phone (which is more augmented reality)?
virtual camera
A quick google search for "Processing Augmented Reality Object" turns up a page with 8 tutorials.
http://www.instructables.com/id/Augmented-Reality-Tutorial-No-1-Marker-Based-Primi/
Granted, many of them rely on patterned markers, so if you're not using one of those to determine the orientation of your object, well, then you want to be getting the physical camera movement information from your camera's gyros. In this case, this project might be better off written in a native camera (Objective-C or whatever Androids use) language instead of Processing, so that you have (I assume) easy access to the device's orientation information and video feed.
If you insist of doing it in Processing, start by displaying an image from your device's camera. Can you then draw a 3D object on top of that? Can you post the code of that so we have something to work with? Can you also make sure not to post a new discussion about it?
So just a 3d model that you can examine from all angles? There's a rocket in the examples. You can also load models using, I think, PShape.
Peasycam is great for navigating in 3d space.
But, again, more details please. Something more than 2 word answers...
Post a link, draw a picture?
@igor: just copy here what you PM me
Could you help with virtual reality? The program should allow you to see on the table, where there is nothing, a cube, for ex, and if we "go around the table", the cube should be changed
When the table is existing in reality and the cube is virtual then it’s not virtually reality (vr) but augmented reality (AR).... I said this already in PM: see AR and ARCore.
And get your vocabulary right otherwise you’ll ask and google in vain. It’s AR.
See Wikipedia for clarification of vr versus AR please
Chrisir
https://forum.processing.org/two/discussion/26662/arcore-renderer-processing-android#latest
Augmented Reality
Virtual Reality
;-)
example:
Example (More like pseudo-concept). Also check https://forum.processing.org/two/search?Search=arcore
Kf