IrrAR - Irrlicht and Augmented Reality

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
FreakNigh
Posts: 122
Joined: Thu Oct 19, 2006 7:31 am
Location: Orlando FL, USA
Contact:

Post by FreakNigh »

looks like it isn't finding libdc1394 and the right version of irrlicht still hasn't been fully installed =/
Image

CvIrrCamController - 3D head tracking lib to create window effect with webcam
IrrAR - Attach Irrlicht nodes to real life markers
http://www.nighsoft.com/
grayman
Posts: 69
Joined: Thu May 12, 2005 10:48 am
Location: colombia

Post by grayman »

i downloaded the latests libdc1394, compiled well and its where it can be found, in /usr/local/lib and the version of irrlicht is the SVN from yesterday and its in the same location... what could be? i think what the problem is from ARtoolkit and the files what it uses from V4L but i dont know, the lib compiles well but your software cant use it!
System

AMD X2 4200
nvidia 7600gs 256mb
2GB ram DDR2
grayman
Posts: 69
Joined: Thu May 12, 2005 10:48 am
Location: colombia

Post by grayman »

I updated the Artoolkit from SVN and compiled it choosing the option 3, move the libs to the correct location and this is what i have


vladimir@vladimir-desktop:~/Escritorio/sourcecode/irrAR-0.3$ make
g++ -o test test.cpp irrAR.cpp -lIrrlicht -lARvideo -lAR -lARMulti -lGL -lGLU -lpthread -lm -lXxf86vm -lpng -ljpeg -lraw1394 -ldc1394 -ldv
test.cpp: In function ‘int main()’:
test.cpp:89: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:89: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:89: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:91: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:93: aviso: conversión obsoleta de una constante de cadena a ‘char*’
test.cpp:95: aviso: conversión obsoleta de una constante de cadena a ‘char*’
/tmp/cclLvlx0.o: In function `main':
test.cpp:(.text+0xea): undefined reference to `irr::createDevice(irr::video::E_DRIVER_TYPE, irr::core::dimension2d<int> const&, unsigned int, bool, bool, bool, irr::IEventReceiver*, char const*)'
collect2: ld devolvió el estado de salida 1
make: *** [default] Error 1


what is now? i have the SVN version of irrlicht, should i change it to?
System

AMD X2 4200
nvidia 7600gs 256mb
2GB ram DDR2
grayman
Posts: 69
Joined: Thu May 12, 2005 10:48 am
Location: colombia

Post by grayman »

FINALLY!!! i did it!!!! after three days of hard battle i compile it!!! BUT!!!!

doesn't open!!!!... ok, really it tries to open but immediately it closes.


getting name: : hit
Time to load ascii X file: 140ms
Loaded mesh: media/dwarf.x
Loaded texture: media/stones.jpg
Loaded texture: media/water.jpg
Using supplied video config string [-dev=/dev/video0].
ARVideo may be configured using one or more of the following options,
separated by a space:

-mode=[PAL|NTSC]
specifies TV signal mode.

Fallo de segmentación


im not sure but i think what the camera is in /dev/dv1394 but i dont know how to make the symlink...
System

AMD X2 4200
nvidia 7600gs 256mb
2GB ram DDR2
grayman
Posts: 69
Joined: Thu May 12, 2005 10:48 am
Location: colombia

Post by grayman »

the location of the camera is in /dev/dv1394/0

Using supplied video config string [-dev=/dev/dv1394/0].
ARVideo may be configured using one or more of the following options,
separated by a space:

-mode=[PAL|NTSC]
specifies TV signal mode.

Fallo de segmentación

now it knows where the camera is but how set that of NTSC?
System

AMD X2 4200
nvidia 7600gs 256mb
2GB ram DDR2
FreakNigh
Posts: 122
Joined: Thu Oct 19, 2006 7:31 am
Location: Orlando FL, USA
Contact:

Post by FreakNigh »

Code: Select all

armgr->beginCamera("ardata/camera_para.dat","ardata/WDM_camera_flipV.xml", "-dev=/dev/dv1394/0 -mode=NTSC");
should work I guess. Congratulations !!! :D
Image

CvIrrCamController - 3D head tracking lib to create window effect with webcam
IrrAR - Attach Irrlicht nodes to real life markers
http://www.nighsoft.com/
grayman
Posts: 69
Joined: Thu May 12, 2005 10:48 am
Location: colombia

Post by grayman »

:( dude so sad!! it doesnt work!

Using supplied video config string [-dev=/dev/dv1394/0 -mode=NTSC].
ARVideo may be configured using one or more of the following options,
separated by a space:

-mode=[PAL|NTSC]
specifies TV signal mode.

Fallo de segmentación


:cry: but when i open kino i can see perfect and capture without problem...
System

AMD X2 4200
nvidia 7600gs 256mb
2GB ram DDR2
aceng
Posts: 3
Joined: Wed Sep 10, 2008 6:53 am

irrAR-0.3 demo error

Post by aceng »

Hi there
I downloaded irrAR-0.3, and when i try test_irrAR.exe, it's run for a while and then closed (error). I try to recompile the source code with dev-cc and artollkit pack for dev-cc with success, but it still crashed when i run the exe
My webcam is Prolink PCC1300. I don't know what is the problem, any suggest ?

Sorry for my english and thanks a lot
FreakNigh
Posts: 122
Joined: Thu Oct 19, 2006 7:31 am
Location: Orlando FL, USA
Contact:

Post by FreakNigh »

did you read the readme about setting up the config file in windows to work with your camera? Artoolkit is kind of a pain in windows.
Image

CvIrrCamController - 3D head tracking lib to create window effect with webcam
IrrAR - Attach Irrlicht nodes to real life markers
http://www.nighsoft.com/
aceng
Posts: 3
Joined: Wed Sep 10, 2008 6:53 am

Post by aceng »

FreakNigh wrote:did you read the readme about setting up the config file in windows to work with your camera? Artoolkit is kind of a pain in windows.
Yes, i already follow the instruction in readme file, and it's still crash
FreakNigh
Posts: 122
Joined: Thu Oct 19, 2006 7:31 am
Location: Orlando FL, USA
Contact:

Post by FreakNigh »

Can you get the artoolkit sample programs to work?
Image

CvIrrCamController - 3D head tracking lib to create window effect with webcam
IrrAR - Attach Irrlicht nodes to real life markers
http://www.nighsoft.com/
aceng
Posts: 3
Joined: Wed Sep 10, 2008 6:53 am

Post by aceng »

FreakNigh wrote:Can you get the artoolkit sample programs to work?
artoolkit sample works fine.
FreakNigh
Posts: 122
Joined: Thu Oct 19, 2006 7:31 am
Location: Orlando FL, USA
Contact:

Post by FreakNigh »

well then if you have the camera information right then its a matter of artoolkit not bringing in the data in a way i've seen before and you'll have to fix it yourself because I don't have your computer or camera.
Image

CvIrrCamController - 3D head tracking lib to create window effect with webcam
IrrAR - Attach Irrlicht nodes to real life markers
http://www.nighsoft.com/
Mizjaaa
Posts: 2
Joined: Sat Sep 13, 2008 1:08 pm

Post by Mizjaaa »

Hi there,

I am getting a lot of error's like below when compiling your project:

Error 1 error LNK2019: unresolved external symbol "public: class irr::video::ITexture * __thiscall IARManager::getCameraTexture(void)" (?getCameraTexture@IARManager@@QAEPAVITexture@video@irr@@XZ) referenced in function _main Nieuwe dan.obj

Is there anyone who knows what i am doing wrong here ?
FreakNigh
Posts: 122
Joined: Thu Oct 19, 2006 7:31 am
Location: Orlando FL, USA
Contact:

Post by FreakNigh »

you have to link to the right libraries
Image

CvIrrCamController - 3D head tracking lib to create window effect with webcam
IrrAR - Attach Irrlicht nodes to real life markers
http://www.nighsoft.com/
Post Reply