<?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 for rchoetzlein - Theory</title>
	<atom:link href="http://www.rchoetzlein.com/theory/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rchoetzlein.com/theory</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 13 Feb 2012 16:29:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>Comment on Size Matters: A Smartphone Comparison by admin</title>
		<link>http://www.rchoetzlein.com/theory/2012/size-matters-a-smartphone-comparison/comment-page-1/#comment-11104</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 13 Feb 2012 16:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=314#comment-11104</guid>
		<description>After writing this article, I learned of a very nice site for comparing phone sizes: 
http://phone-size.com</description>
		<content:encoded><![CDATA[<p>After writing this article, I learned of a very nice site for comparing phone sizes:<br />
<a href="http://phone-size.com" rel="nofollow">http://phone-size.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fukushima Radiation &#8211; Regional Effects Animation by Shige Moriyama</title>
		<link>http://www.rchoetzlein.com/theory/2011/fukushima-radiation-regional-effects-animation/comment-page-1/#comment-4767</link>
		<dc:creator>Shige Moriyama</dc:creator>
		<pubDate>Thu, 16 Jun 2011 01:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=210#comment-4767</guid>
		<description>Do appreciate your great effort on the three works you have done. As you have shown, I also feel we require to have a bird&#039;s eye point of view to understand what is the reality of this disaster. Concerned to this problem, it is so complicated but really necessary to find out good solution !  I was amazed how you got all the data(I believe all from the Internet)as well !</description>
		<content:encoded><![CDATA[<p>Do appreciate your great effort on the three works you have done. As you have shown, I also feel we require to have a bird&#8217;s eye point of view to understand what is the reality of this disaster. Concerned to this problem, it is so complicated but really necessary to find out good solution !  I was amazed how you got all the data(I believe all from the Internet)as well !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Film Viewing List for Contemporary Artists by Anonymous</title>
		<link>http://www.rchoetzlein.com/theory/2011/contemporary-artists-required-viewing/comment-page-1/#comment-4639</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 08 Jun 2011 16:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=288#comment-4639</guid>
		<description>Then you should definitely add &quot;Synecdoche, New York&quot; to that list and consider adding some of his other work (Adaptation, Eternal Sunshine).</description>
		<content:encoded><![CDATA[<p>Then you should definitely add &#8220;Synecdoche, New York&#8221; to that list and consider adding some of his other work (Adaptation, Eternal Sunshine).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Film Viewing List for Contemporary Artists by admin</title>
		<link>http://www.rchoetzlein.com/theory/2011/contemporary-artists-required-viewing/comment-page-1/#comment-4613</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 06 Jun 2011 21:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=288#comment-4613</guid>
		<description>If Kiss Kiss Bang Bang turns out to be no good, I&#039;ll remove it. But I&#039;ve heard good things and I&#039;m looking forward to see it - it basically a place holder.. I mentioned above why I&#039;ve chosen Curse of the Jade Scorpion, as Woody Allen&#039;s other films are already well known. At some point I may sit down and watch them both again back-to-back to see if it still fits the list... Good point about Blade Runner. I think I may add that one to the list. I expect the list will evolve.

What they have in common is what might be called a post-modern perspective, consisting of a high degree of self-reference, appropriation from other works, or modern cultural criticism. These features may not exist only in the narrative, but might also be visual, musical, or linguistic.</description>
		<content:encoded><![CDATA[<p>If Kiss Kiss Bang Bang turns out to be no good, I&#8217;ll remove it. But I&#8217;ve heard good things and I&#8217;m looking forward to see it &#8211; it basically a place holder.. I mentioned above why I&#8217;ve chosen Curse of the Jade Scorpion, as Woody Allen&#8217;s other films are already well known. At some point I may sit down and watch them both again back-to-back to see if it still fits the list&#8230; Good point about Blade Runner. I think I may add that one to the list. I expect the list will evolve.</p>
<p>What they have in common is what might be called a post-modern perspective, consisting of a high degree of self-reference, appropriation from other works, or modern cultural criticism. These features may not exist only in the narrative, but might also be visual, musical, or linguistic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Film Viewing List for Contemporary Artists by Anonymous</title>
		<link>http://www.rchoetzlein.com/theory/2011/contemporary-artists-required-viewing/comment-page-1/#comment-4611</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 06 Jun 2011 18:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=288#comment-4611</guid>
		<description>Interesting that you would pick this particular list.  Why would you think &quot;Kiss-Kiss Bang-Bang&quot; is required viewing, especially since you haven&#039;t seen it yourself?  And why &quot;Curse of the Jade Scorpion&quot; instead of something like &quot;Deconstructing Harry&quot;?  And &quot;District 9&quot; instead of &quot;Blade Runner&quot;?

It seems like an odd list of movies that are only loosely connected.  What do each of these have in common?</description>
		<content:encoded><![CDATA[<p>Interesting that you would pick this particular list.  Why would you think &#8220;Kiss-Kiss Bang-Bang&#8221; is required viewing, especially since you haven&#8217;t seen it yourself?  And why &#8220;Curse of the Jade Scorpion&#8221; instead of something like &#8220;Deconstructing Harry&#8221;?  And &#8220;District 9&#8243; instead of &#8220;Blade Runner&#8221;?</p>
<p>It seems like an odd list of movies that are only loosely connected.  What do each of these have in common?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multi-Monitor Rendering in OpenGL by admin</title>
		<link>http://www.rchoetzlein.com/theory/2010/multi-monitor-rendering-in-opengl/comment-page-1/#comment-4379</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 16 May 2011 20:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=103#comment-4379</guid>
		<description>Glad it installed ok. I&#039;ll look into the install path issue.
You can find a very quick tutorial for LUNA here:
http://www.karasemantic.com/node/14</description>
		<content:encoded><![CDATA[<p>Glad it installed ok. I&#8217;ll look into the install path issue.<br />
You can find a very quick tutorial for LUNA here:<br />
<a href="http://www.karasemantic.com/node/14" rel="nofollow">http://www.karasemantic.com/node/14</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multi-Monitor Rendering in OpenGL by Leo</title>
		<link>http://www.rchoetzlein.com/theory/2010/multi-monitor-rendering-in-opengl/comment-page-1/#comment-4373</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Mon, 16 May 2011 16:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=103#comment-4373</guid>
		<description>Thx for the link! I&#039;ve installed it (successfully), but if I install in a non default folder nothing will happens when launching, nothing at all, no matter if I launch if from double-click on the luna.exe or command line. However, if I install it in the default folder, it runs nicely (but I need some more time to explore it more deeply :) )</description>
		<content:encoded><![CDATA[<p>Thx for the link! I&#8217;ve installed it (successfully), but if I install in a non default folder nothing will happens when launching, nothing at all, no matter if I launch if from double-click on the luna.exe or command line. However, if I install it in the default folder, it runs nicely (but I need some more time to explore it more deeply <img src='http://www.rchoetzlein.com/theory/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multi-Monitor Rendering in OpenGL by admin</title>
		<link>http://www.rchoetzlein.com/theory/2010/multi-monitor-rendering-in-opengl/comment-page-1/#comment-4353</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 14 May 2011 14:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=103#comment-4353</guid>
		<description>Easier to answer in reverse order:
- A demo version of LUNA is now available for download to play with here:
  http://www.karasemantic.com/node/6
You&#039;re welcome to try it out. Let me know if you have any install issues.

- I am still working on the full version, and also on streamlining the code so the full source is not yet available. However, will send you the code files for device management and window detection by e-mail. 

- You use the function EnumDisplayDevices to report the adapters present. Note that in Windows with OpenGL, each monitor will appear as a new adapter even though they may be on the same card. The EnumDisplaySettingsEx function is then used determine the dimensions and position of the monitor in Windows layout format. The x/y coordinate of the monitor is used to tell OpenGL which card/device the display resides on.

- In general, you don&#039;t need to worry about which hDC it is. You create windows, Windows OS places them in a spatial layout, and creates any new hDC device contexts internally if necessary across cards. That&#039;s why you should use GetDC to return the correct hDC for a specific window. It may be identical to others or it may not. 

- Using cards from different manufacturers is generally a bad idea. There can be incompatibilites in how they respond to the OpenGL server. Thus, I highly recommend getting cards from the same vendor, and all the same card if possible.

Hope this helps! 
Check the code I sent as the final word on how to actually do the above.</description>
		<content:encoded><![CDATA[<p>Easier to answer in reverse order:<br />
- A demo version of LUNA is now available for download to play with here:<br />
  <a href="http://www.karasemantic.com/node/6" rel="nofollow">http://www.karasemantic.com/node/6</a><br />
You&#8217;re welcome to try it out. Let me know if you have any install issues.</p>
<p>- I am still working on the full version, and also on streamlining the code so the full source is not yet available. However, will send you the code files for device management and window detection by e-mail. </p>
<p>- You use the function EnumDisplayDevices to report the adapters present. Note that in Windows with OpenGL, each monitor will appear as a new adapter even though they may be on the same card. The EnumDisplaySettingsEx function is then used determine the dimensions and position of the monitor in Windows layout format. The x/y coordinate of the monitor is used to tell OpenGL which card/device the display resides on.</p>
<p>- In general, you don&#8217;t need to worry about which hDC it is. You create windows, Windows OS places them in a spatial layout, and creates any new hDC device contexts internally if necessary across cards. That&#8217;s why you should use GetDC to return the correct hDC for a specific window. It may be identical to others or it may not. </p>
<p>- Using cards from different manufacturers is generally a bad idea. There can be incompatibilites in how they respond to the OpenGL server. Thus, I highly recommend getting cards from the same vendor, and all the same card if possible.</p>
<p>Hope this helps!<br />
Check the code I sent as the final word on how to actually do the above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multi-Monitor Rendering in OpenGL by Leo</title>
		<link>http://www.rchoetzlein.com/theory/2010/multi-monitor-rendering-in-opengl/comment-page-1/#comment-4335</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Thu, 12 May 2011 21:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=103#comment-4335</guid>
		<description>Thanks for that fast reply!

So:

1- how do you create window for each monitor? Is that by using the x, y arguments of the createwindow function? (I can\&#039;t see any other possible way of doing that) Is that why you mention EnumDisplayDevices and EnumDisplaySettingsEx, so that you can get the devmod.dmPosition field to know each monitor\&#039;s coordinate on the desktop coordinates system?
2- How do you know that the hDC associated to a particular window is related to a given card? The fact of creating a window on its desktop part is enough to guarantee this?

I ask this because when I try creating it like this, I have the impression that the opengl context created (with the steps you mentioned) will always belong to the primary card no matter where the window is created. In my system, the AMD card is the primary and the NVIDIA is the secondary, and when I try creating the OpenCL context from GL it always give me this error: CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR (when an invalid OpenGL context or share group object handle is specified to the opencl context creation), like the gl context do not belong to the NVIDIA card (?). Maybe creating one window to each monitor and using wglsharelists will make it work? Do you have made any experience with CL/GL particularly with multi-gpu of different manufacturers?

3- Have you tried your experiments with cards from different manufactures?

4- One last question, how about the LUNA project, is it officially launched? :)

Best regards</description>
		<content:encoded><![CDATA[<p>Thanks for that fast reply!</p>
<p>So:</p>
<p>1- how do you create window for each monitor? Is that by using the x, y arguments of the createwindow function? (I can\&#8217;t see any other possible way of doing that) Is that why you mention EnumDisplayDevices and EnumDisplaySettingsEx, so that you can get the devmod.dmPosition field to know each monitor\&#8217;s coordinate on the desktop coordinates system?<br />
2- How do you know that the hDC associated to a particular window is related to a given card? The fact of creating a window on its desktop part is enough to guarantee this?</p>
<p>I ask this because when I try creating it like this, I have the impression that the opengl context created (with the steps you mentioned) will always belong to the primary card no matter where the window is created. In my system, the AMD card is the primary and the NVIDIA is the secondary, and when I try creating the OpenCL context from GL it always give me this error: CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR (when an invalid OpenGL context or share group object handle is specified to the opencl context creation), like the gl context do not belong to the NVIDIA card (?). Maybe creating one window to each monitor and using wglsharelists will make it work? Do you have made any experience with CL/GL particularly with multi-gpu of different manufacturers?</p>
<p>3- Have you tried your experiments with cards from different manufactures?</p>
<p>4- One last question, how about the LUNA project, is it officially launched? <img src='http://www.rchoetzlein.com/theory/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multi-Monitor Rendering in OpenGL by admin</title>
		<link>http://www.rchoetzlein.com/theory/2010/multi-monitor-rendering-in-opengl/comment-page-1/#comment-4328</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 12 May 2011 15:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.rchoetzlein.com/theory/?p=103#comment-4328</guid>
		<description>Responses:
1. By Create OS Window, I just mean window CreateWindow or CreateWindowEx function
2. I use the same window class for all windows
3. There was an error in the pseudo-code above regarding HDC (which I just fixed). Actually, the only step is to Create HGLRC to create the OpenGL render context. The operating system device context (hDC) comes from the window using GetDC, as you mention. The steps I am using are these:

HWND hw = CreateWindow ( L&quot;LUNA&quot;, L&quot;&quot;, WS_OVERLAPPEDWINDOW, ... )
hDC = GetDC ( hw );
nPixelFormat = ChoosePixelFormat ( hDC, &amp;pfd);
if ( nPixelFormat==0 )	{ error.PrintF ( &quot;devgl&quot;, &quot;Cannot choose pixel format.\n&quot; ); }
result = SetPixelFormat ( hDC, nPixelFormat, &amp;pfd);
HGLRC hRC = wglCreateContext ( hDC );
result = wglMakeCurrent ( hDC, hRC);

All of the above steps are repeated for each display. These are the setup steps. During rendering only the wglMakeCurrent function is called (for each screen)
The last function wglMakeCurrent associates the OpenGL render context hRC with the current device context hDC. During the render loop, each OpenGL context is assigned to the device context in turn. This function is what causes opengl to target the output to a particular screen. Notice that the OpenGL context (hRC) is created on the hDC which is retrieved from a particular window using GetDC above. Thus, there is a unique hDC and unique hRC for each screen, although Windows (the OS) creates the hDCs for you after each window is created.</description>
		<content:encoded><![CDATA[<p>Responses:<br />
1. By Create OS Window, I just mean window CreateWindow or CreateWindowEx function<br />
2. I use the same window class for all windows<br />
3. There was an error in the pseudo-code above regarding HDC (which I just fixed). Actually, the only step is to Create HGLRC to create the OpenGL render context. The operating system device context (hDC) comes from the window using GetDC, as you mention. The steps I am using are these:</p>
<p>HWND hw = CreateWindow ( L&#8221;LUNA&#8221;, L&#8221;", WS_OVERLAPPEDWINDOW, &#8230; )<br />
hDC = GetDC ( hw );<br />
nPixelFormat = ChoosePixelFormat ( hDC, &#038;pfd);<br />
if ( nPixelFormat==0 )	{ error.PrintF ( &#8220;devgl&#8221;, &#8220;Cannot choose pixel format.\n&#8221; ); }<br />
result = SetPixelFormat ( hDC, nPixelFormat, &#038;pfd);<br />
HGLRC hRC = wglCreateContext ( hDC );<br />
result = wglMakeCurrent ( hDC, hRC);</p>
<p>All of the above steps are repeated for each display. These are the setup steps. During rendering only the wglMakeCurrent function is called (for each screen)<br />
The last function wglMakeCurrent associates the OpenGL render context hRC with the current device context hDC. During the render loop, each OpenGL context is assigned to the device context in turn. This function is what causes opengl to target the output to a particular screen. Notice that the OpenGL context (hRC) is created on the hDC which is retrieved from a particular window using GetDC above. Thus, there is a unique hDC and unique hRC for each screen, although Windows (the OS) creates the hDCs for you after each window is created.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

