<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic getModelToWorldTransform empty in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/getmodeltoworldtransform-empty/m-p/12299929#M1388</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully someone can shed some light on this - we have some custom entities that render relative to the current world transform (in order to preserve orientation, regardless of pushed transforms), and this works fine during a normal worldDraw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when worldDraw is called when the document is saved and the regen type is&amp;nbsp;kAcGiSaveWorldDrawForProxy to generate the geometry for the proxy graphics, the AcGiWorldDraw object that is supplied to the method returns an identity matrix when -&amp;gt;rawGeometry()-&amp;gt;getModelToWorldTransform() is called, which in our case throws off the proxy graphics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to obtain the current world transform matrix during worldDraw when the regen type is kAcGiSaveWorldDrawForProxy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks muchly! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 19:57:08 GMT</pubDate>
    <dc:creator>tech</dc:creator>
    <dc:date>2023-10-11T19:57:08Z</dc:date>
    <item>
      <title>getModelToWorldTransform empty</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/getmodeltoworldtransform-empty/m-p/12299929#M1388</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully someone can shed some light on this - we have some custom entities that render relative to the current world transform (in order to preserve orientation, regardless of pushed transforms), and this works fine during a normal worldDraw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when worldDraw is called when the document is saved and the regen type is&amp;nbsp;kAcGiSaveWorldDrawForProxy to generate the geometry for the proxy graphics, the AcGiWorldDraw object that is supplied to the method returns an identity matrix when -&amp;gt;rawGeometry()-&amp;gt;getModelToWorldTransform() is called, which in our case throws off the proxy graphics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to obtain the current world transform matrix during worldDraw when the regen type is kAcGiSaveWorldDrawForProxy?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks muchly! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 19:57:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/getmodeltoworldtransform-empty/m-p/12299929#M1388</guid>
      <dc:creator>tech</dc:creator>
      <dc:date>2023-10-11T19:57:08Z</dc:date>
    </item>
  </channel>
</rss>

