<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Augmented Reality with NyARToolkit, OpenCV &amp; OpenGL</title>
	<atom:link href="http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/</link>
	<description>On software, code, the internet and more.</description>
	<lastBuildDate>Mon, 08 Mar 2010 13:48:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Roy</title>
		<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/comment-page-1/#comment-138</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Wed, 25 Nov 2009 20:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=298#comment-138</guid>
		<description>Thank you! Yoel, for your contribution
כן ירבו, תודה

Roy.</description>
		<content:encoded><![CDATA[<p>Thank you! Yoel, for your contribution<br />
כן ירבו, תודה</p>
<p>Roy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoel</title>
		<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/comment-page-1/#comment-137</link>
		<dc:creator>Yoel</dc:creator>
		<pubDate>Wed, 25 Nov 2009 00:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=298#comment-137</guid>
		<description>Oh forgot one more thing - minor modification on util.cpp
http://paste.cdtag.de/view.php?id=3462</description>
		<content:encoded><![CDATA[<p>Oh forgot one more thing &#8211; minor modification on util.cpp<br />
<a href="http://paste.cdtag.de/view.php?id=3462" rel="nofollow">http://paste.cdtag.de/view.php?id=3462</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoel</title>
		<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/comment-page-1/#comment-136</link>
		<dc:creator>Yoel</dc:creator>
		<pubDate>Wed, 25 Nov 2009 00:01:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=298#comment-136</guid>
		<description>Hi Roy!
Thanks a lot for the tutorial, i found it very usefull =)

For anyone trying to build it with latest NyARToolKit on visual studio 2008 there are some minor changes you need to do.
To save you the trouble you can take a look here:
http://paste.cdtag.de/view.php?id=3460

This is what you should expect:
http://paste.cdtag.de/uploads/2209/marker-4.JPG

(I took the liberty of fixing the lighting a bit and switching to teapot =D)

I had to rebuild NyARToolKit and do the following change:
http://paste.cdtag.de/view.php?id=3461

(Pretty brute, but works...)

Just wanted to save some other people the time it took me to figure this out =)

Thanks again Roy for this tutorial, it was great :)</description>
		<content:encoded><![CDATA[<p>Hi Roy!<br />
Thanks a lot for the tutorial, i found it very usefull =)</p>
<p>For anyone trying to build it with latest NyARToolKit on visual studio 2008 there are some minor changes you need to do.<br />
To save you the trouble you can take a look here:<br />
<a href="http://paste.cdtag.de/view.php?id=3460" rel="nofollow">http://paste.cdtag.de/view.php?id=3460</a></p>
<p>This is what you should expect:<br />
<a href="http://paste.cdtag.de/uploads/2209/marker-4.JPG" rel="nofollow">http://paste.cdtag.de/uploads/2209/marker-4.JPG</a></p>
<p>(I took the liberty of fixing the lighting a bit and switching to teapot =D)</p>
<p>I had to rebuild NyARToolKit and do the following change:<br />
<a href="http://paste.cdtag.de/view.php?id=3461" rel="nofollow">http://paste.cdtag.de/view.php?id=3461</a></p>
<p>(Pretty brute, but works&#8230;)</p>
<p>Just wanted to save some other people the time it took me to figure this out =)</p>
<p>Thanks again Roy for this tutorial, it was great <img src='http://www.morethantechnical.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/comment-page-1/#comment-102</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Wed, 09 Sep 2009 06:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=298#comment-102</guid>
		<description>Hi Romano

Yes, I did the calibrations with the tools from ARToolkit.
I heard these calibration tools are outdated and there are better tools to do it (I know OpenCV has calib. tools), but there are compatibility issues with ARToolkit.

Roy.</description>
		<content:encoded><![CDATA[<p>Hi Romano</p>
<p>Yes, I did the calibrations with the tools from ARToolkit.<br />
I heard these calibration tools are outdated and there are better tools to do it (I know OpenCV has calib. tools), but there are compatibility issues with ARToolkit.</p>
<p>Roy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romano</title>
		<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/comment-page-1/#comment-100</link>
		<dc:creator>Romano</dc:creator>
		<pubDate>Tue, 08 Sep 2009 17:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=298#comment-100</guid>
		<description>Hello,

how do you calibrate the camera? Using ARToolkit?

Thanks,
Romano</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>how do you calibrate the camera? Using ARToolkit?</p>
<p>Thanks,<br />
Romano</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/comment-page-1/#comment-46</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Thu, 13 Aug 2009 17:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=298#comment-46</guid>
		<description>Hi Roy,

I just started figuring out how to use NyARToolkit (C++ version). I&#039;m still in the stage of setting everything up but your tutorial has been incredibly helpful so far. 

I&#039;m not sure if I have a later version or not, but a quick thing: the NyARSingleDetectMarker() function needed a fourth parameter. Something like this should work although I&#039;m not sure if it&#039;s correct since I&#039;m still finding my way around: 

ar = new NyARSingleDetectMarker(&amp;ap,code, 80.0,ra-&gt;getBufferReader().getBufferType());

As of right now ar-&gt;detectMarkerLite(*ra, 100) is always returning true, so I must be doing something else wrong somewhere.

Jimmy</description>
		<content:encoded><![CDATA[<p>Hi Roy,</p>
<p>I just started figuring out how to use NyARToolkit (C++ version). I&#8217;m still in the stage of setting everything up but your tutorial has been incredibly helpful so far. </p>
<p>I&#8217;m not sure if I have a later version or not, but a quick thing: the NyARSingleDetectMarker() function needed a fourth parameter. Something like this should work although I&#8217;m not sure if it&#8217;s correct since I&#8217;m still finding my way around: </p>
<p>ar = new NyARSingleDetectMarker(&amp;ap,code, 80.0,ra-&gt;getBufferReader().getBufferType());</p>
<p>As of right now ar-&gt;detectMarkerLite(*ra, 100) is always returning true, so I must be doing something else wrong somewhere.</p>
<p>Jimmy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roy</title>
		<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/comment-page-1/#comment-39</link>
		<dc:creator>Roy</dc:creator>
		<pubDate>Fri, 07 Aug 2009 19:07:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=298#comment-39</guid>
		<description>Hi Fugitive
I just used the function
&lt;code&gt;void arglCameraFrustumRH(const NyARParam&amp; cparam, const double focalmin, const double focalmax, GLdouble m_projection[16])
&lt;/code&gt;
with these parameters:
&lt;code&gt;arglCameraFrustumRH(ap,1.0,100.0,camera_proj);&lt;/code&gt;

Take a look in the void init ( GLvoid ) function in main.cpp.

This creates a projection matrix for OpenGL, with z-near = 1.0 and z-far = 1000.0 (plenty 3D space to draw in). The projection is based on the calibration inside the NyARParam (loaded from file) which I did earlier using the calib tools from ARToolkit.

Good Luck
Roy.</description>
		<content:encoded><![CDATA[<p>Hi Fugitive<br />
I just used the function<br />
<code>void arglCameraFrustumRH(const NyARParam&#038; cparam, const double focalmin, const double focalmax, GLdouble m_projection[16])<br />
</code><br />
with these parameters:<br />
<code>arglCameraFrustumRH(ap,1.0,100.0,camera_proj);</code></p>
<p>Take a look in the void init ( GLvoid ) function in main.cpp.</p>
<p>This creates a projection matrix for OpenGL, with z-near = 1.0 and z-far = 1000.0 (plenty 3D space to draw in). The projection is based on the calibration inside the NyARParam (loaded from file) which I did earlier using the calib tools from ARToolkit.</p>
<p>Good Luck<br />
Roy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fugitive</title>
		<link>http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/comment-page-1/#comment-37</link>
		<dc:creator>Fugitive</dc:creator>
		<pubDate>Thu, 06 Aug 2009 02:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.morethantechnical.com/?p=298#comment-37</guid>
		<description>Hi,

Nice tutorial!

I noticed you glossed over the line:
glLoadMatrixd(camera_proj);

without explaining how you managed to get the real-world camera projection matrix to conform to opengl.

I know that using the opencv projection matrix (http://opencv.willowgarage.com/documentation/camera_calibration_and_3d_reconstruction.html) directly doesn&#039;t work. Would you be so kind  as to explain a bit?

Full reference of question:
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&amp;topic=50767&amp;gonew=1</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Nice tutorial!</p>
<p>I noticed you glossed over the line:<br />
glLoadMatrixd(camera_proj);</p>
<p>without explaining how you managed to get the real-world camera projection matrix to conform to opengl.</p>
<p>I know that using the opencv projection matrix (<a href="http://opencv.willowgarage.com/documentation/camera_calibration_and_3d_reconstruction.html" rel="nofollow">http://opencv.willowgarage.com/documentation/camera_calibration_and_3d_reconstruction.html</a>) directly doesn&#8217;t work. Would you be so kind  as to explain a bit?</p>
<p>Full reference of question:<br />
<a href="http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&amp;topic=50767&amp;gonew=1" rel="nofollow">http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&amp;topic=50767&amp;gonew=1</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
