<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Screen to World matrix]]></title><description><![CDATA[<p dir="auto"><em>On 01/08/2018 at 20:40, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">User Information:<br />
Cinema 4D Version:   R19 <br />
Platform:   Windows  ; Mac  ;  Mac OSX  ; <br />
Language(s) :     C++  ;</p>
<p dir="auto">---------<br />
Hi,</p>
<p dir="auto">I'm using a library that needs the Viewport to World transform matrix.</p>
<p dir="auto">I know BaseView::WS() can be used to convert such coordinate, but I can't find anywhere the Matrix used by it.</p>
<p dir="auto">BaseView::GetMg() is clearly is the Camera matrix, not Screen, and since we have also CS() and SC(), there must be a missing matrix somewhere.</p>
<p dir="auto">Thanks</p>
]]></description><link>http://developers.maxon.net/forum/topic/10896/14345_screen-to-world-matrix</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 21:59:13 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/10896.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Sep 2018 10:53:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Screen to World matrix on Sat, 01 Sep 2018 10:53:29 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 02/08/2018 at 18:45, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Got it, thanks!</p>
]]></description><link>http://developers.maxon.net/forum/post/55373</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/55373</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:53:29 GMT</pubDate></item><item><title><![CDATA[Reply to Screen to World matrix on Sat, 01 Sep 2018 10:53:26 GMT]]></title><description><![CDATA[<p dir="auto"><em>On 02/08/2018 at 03:47, <strong>xxxxxxxx</strong> wrote:</em></p>
<p dir="auto">Hi rsodre, thanks for writing us.</p>
<p dir="auto">With regard to your question, you can consider to use <a href="https://developers.maxon.net/docs/cpp/2023_2/class_base_view.html#abc0d83bab5bcb9cd2d0e878098afb8ae" target="_blank" rel="noopener noreferrer nofollow ugc">BaseView::GetMG()</a> to get the view matrix as well the <a href="https://developers.maxon.net/docs/cpp/2023_2/class_base_draw.html#a967272f95f213b68bf1c035e64f878a7" target="_blank" rel="noopener noreferrer nofollow ugc">BaseDraw::GetViewMatrix</a>(<a href="https://developers.maxon.net/docs/cpp/2023_2/group___d_r_a_w___g_e_t___v_i_e_w_m_a_t_r_i_x.html#ga08df42491a608951546afe5719076c2d" target="_blank" rel="noopener noreferrer nofollow ugc">DRAW_GET_VIEWMATRIX_PROJECTION</a>) to get the projection matrix. From this point on you are provided with all the bricks to construct your needed matrix.<br />
Further details on view/projection/model matrix composition can be found <a href="http://www.songho.ca/opengl/gl_transform.html" target="_blank" rel="noopener noreferrer nofollow ugc">here.</a></p>
<p dir="auto">Best, Riccardo</p>
]]></description><link>http://developers.maxon.net/forum/post/55372</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/55372</guid><dc:creator><![CDATA[Helper]]></dc:creator><pubDate>Sat, 01 Sep 2018 10:53:26 GMT</pubDate></item></channel></rss>