ShiVa3D
Argument reality in Shiva?
Windows DX9/OpenGL 2 Standalone AppsArgument reality in Shiva?
by miguel » 18 Jan 2010, 13:12
Hi
Im developing an app of Argument reality and i want to know if i could do it with shiva and Artoolkit. Could it be integrated with the shiva SDK? Has anyone maked it before?
Thanks
Im developing an app of Argument reality and i want to know if i could do it with shiva and Artoolkit. Could it be integrated with the shiva SDK? Has anyone maked it before?
Thanks
-

miguel - Expert Boarder

- Posts: 116
Re:Argument reality in Shiva?
by NiCoX » 18 Jan 2010, 16:36
Hi Miguel,
Yes it is possible :
1. capture the camera using ARToolkit
2. process the image
3. send result through an event
4. send the image through a PixelMap
5. goto 1
We have done it and it works great. But we did not use the current engine SDK, so we cannot share sources right now. But we are preparing big things for next months ;)
:)
Yes it is possible :
1. capture the camera using ARToolkit
2. process the image
3. send result through an event
4. send the image through a PixelMap
5. goto 1
We have done it and it works great. But we did not use the current engine SDK, so we cannot share sources right now. But we are preparing big things for next months ;)
:)
-

NiCoX - Platinum Boarder

- Posts: 5626
- Location: France
Re:Argument reality in Shiva?
by miguel » 18 Jan 2010, 16:51
Thats a good news for me because i have a few projects of AR. Could i make it with the actual SDK(i must send a test next monday)? I have tested in Quest 3d but if i could make it with Shiva i wouldnt spend much money buying Quest 3d license and "in my opinion", shiva is better than Quest3d:cheer: .
Thanks Nicox.
Thanks Nicox.
-

miguel - Expert Boarder

- Posts: 116
Re:Argument reality in Shiva?
by NiCoX » 18 Jan 2010, 18:46
Yes with the current SDK you can make it. The only drawback being that you can only see results in the engine. So in the editor you have to "blind code", then export and test.
But again, if you feel good with C/C++, there should be no problems (and if you have, do not hesitate to ask here or send us a mail).
:)
But again, if you feel good with C/C++, there should be no problems (and if you have, do not hesitate to ask here or send us a mail).
:)
-

NiCoX - Platinum Boarder

- Posts: 5626
- Location: France
Re:Argument reality in Shiva?
by miguel » 19 Jan 2010, 19:05
Hi nicox,
I have integrated the Artollkit camera but i havent any idea in how to send the image to a pixelmap. Can you help me? im gonna be crazy with this U_U.
Thanks for your time.
I have integrated the Artollkit camera but i havent any idea in how to send the image to a pixelmap. Can you help me? im gonna be crazy with this U_U.
Thanks for your time.
-

miguel - Expert Boarder

- Posts: 116
Re:Argument reality in Shiva?
by miguel » 25 Jan 2010, 11:36
Hi,
Following the steps that Nicox gave me i have maked a shiva AR aplication with Artoolkit and Shiva SDK, but im having trouble taking the rotation.
Artoolkit returns a matrix [4][4] that give me the translation and rotation:
m[0][0], m[0][1], m[0][2], m[0][3]
m[1][0], m[1][1], m[1][2], m[1][3]
m[2][0], m[2][1], m[2][2], m[2][3]
m[3][0], m[3][1], m[3][2], m[3][3]
x , x, x, x
y , y, y, y
z , z, z, z
0 , 0, 0, 1
The 9 parameter of the 3 first columns, from left to right, give me the rotation and the rest 3 parameters gime me the position.
Anyone knows how to use these result to make the rotation in shiva?
Thanks a lot.

Following the steps that Nicox gave me i have maked a shiva AR aplication with Artoolkit and Shiva SDK, but im having trouble taking the rotation.
Artoolkit returns a matrix [4][4] that give me the translation and rotation:
m[0][0], m[0][1], m[0][2], m[0][3]
m[1][0], m[1][1], m[1][2], m[1][3]
m[2][0], m[2][1], m[2][2], m[2][3]
m[3][0], m[3][1], m[3][2], m[3][3]
x , x, x, x
y , y, y, y
z , z, z, z
0 , 0, 0, 1
The 9 parameter of the 3 first columns, from left to right, give me the rotation and the rest 3 parameters gime me the position.
Anyone knows how to use these result to make the rotation in shiva?
Thanks a lot.

-

miguel - Expert Boarder

- Posts: 116
Re:Argument reality in Shiva?
by ThunderZ » 25 Jan 2010, 18:40
Exellent very impressive use of the sdk and shiva :)
Re: Argument reality in Shiva?
by pixin » 27 May 2010, 22:41
waow, that's amazing if shiva can handle augmented reality..but any one can help with a tutorial or source code..i can't wait to create my own model with augmented reality.. but im not a coder
come one guys any one can help, i relly appreciate.. pleaaaaaaaaaaaaaaaase.
- pixin
- Fresh Boarder

- Posts: 5
Re: Argument reality in Shiva?
by miguel » 28 May 2010, 09:38
Hi pixin,
We are making some AR comercial works with shiva. We could make it conecting shiva with artoolkit using shiva sdk and the source code of artoolkit (programming an aplication in visual studio). You can see some works in our web (http://www.blueshadowgames.com).
You will undertand that we cant give you the source code because we spend a lot of time to make it works (a few days without sleep) but we can help you guiding to make it.
Best regards.
We are making some AR comercial works with shiva. We could make it conecting shiva with artoolkit using shiva sdk and the source code of artoolkit (programming an aplication in visual studio). You can see some works in our web (http://www.blueshadowgames.com).
You will undertand that we cant give you the source code because we spend a lot of time to make it works (a few days without sleep) but we can help you guiding to make it.
Best regards.
-

miguel - Expert Boarder

- Posts: 116
Re: Argument reality in Shiva?
by vzvargas » 29 May 2010, 21:06
Following the steps that Nicox gave me i have maked a shiva AR aplication with Artoolkit and Shiva SDK,
hey miguel I was wondering if you could share the steps you were given for adding the video feed to a pixelmap as that is really the only thing holding me back from making my own AR app. I am well versed in using the toolkit and have made other apps with it but I am new to ShiVa and still not sure how to go about making the pixelmap.
Tanks in advance and nice work on your website!
- vzvargas
- Fresh Boarder

- Posts: 7
Re: Argument reality in Shiva?
by miguel » 31 May 2010, 08:59
Hi vzvargas,
The pixelmap in the SDK works like in the Shiva editor. First you must Lock Pixelmap with:
after send the pixelMap info with:
and Unlock the pixelMap:
This code must be written in VC ++ and should alredy have a pixelMap in Shiva.
I hope that this will help you. If you need more info, let me know.
Regards
The pixelmap in the SDK works like in the Shiva editor. First you must Lock Pixelmap with:
- Code: Select all
S3DClient_LockPixelMap ( _pixelMapName );
after send the pixelMap info with:
- Code: Select all
S3DClient_SetPixelMapPixel ( _pixelMapName, r, g, b, a );
and Unlock the pixelMap:
- Code: Select all
S3DClient_UnlockPixelMap ( _pixelMapName );
This code must be written in VC ++ and should alredy have a pixelMap in Shiva.
I hope that this will help you. If you need more info, let me know.
Regards
-

miguel - Expert Boarder

- Posts: 116
11 posts
• Page 1 of 1