<?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 Re: Global Values for Viewing modes in 3D? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69660#M39110</link>
    <description>&lt;BLOCKQUOTE&gt;Matthew wrote:&lt;BR /&gt; Why do you need this?&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
For example, I have a library part which is (for simplicity) a CPRISM which has a LOT of vertical edges. I want to place a lot of these objects in the plan, say 100, plus.  &lt;BR /&gt;
 &lt;BR /&gt;
I you can control the status value, so for objects which are close to the camera I have defined as being 79 (showing the main edges of the object only).  But those objects which are further away, I make the status value 8 - no contours, just the face is visible.  &lt;BR /&gt;
 &lt;BR /&gt;
In shaded mode this is desirable because the faces can be seen (there's no need for the edges/contours because they are too small).  &lt;BR /&gt;
 &lt;BR /&gt;
However, if I want to view in wireframe or hidden line mode - The distance objects aren't visible! So, if I could query the 3D viewing mode, I could adjust the status value correspondingly. For section/elevation modes, this is not a problem as we have GLOBAL_CONTEXT on our side. &lt;BR /&gt;
 &lt;BR /&gt;
Hope that helps you understand my goals? &lt;BR /&gt;
 &lt;BR /&gt;
Ricki</description>
    <pubDate>Wed, 01 Dec 2004 01:25:34 GMT</pubDate>
    <dc:creator>ricki-fritz</dc:creator>
    <dc:date>2004-12-01T01:25:34Z</dc:date>
    <item>
      <title>Global Values for Viewing modes in 3D?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69657#M39107</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;HELP!&lt;BR /&gt;
&lt;BR /&gt;
I was wondering if anyone knows how to define conditions in GDL based on the current 3D viewing mode (block, wireframe, hidden, or shaded)?? - Yes, I know about the GLOBAL_CONTEXT to determine if the 3D view is active.&lt;BR /&gt;
&lt;BR /&gt;
Ricki&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Nov 2004 09:09:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69657#M39107</guid>
      <dc:creator>ricki-fritz</dc:creator>
      <dc:date>2004-11-30T09:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Global Values for Viewing modes in 3D?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69658#M39108</link>
      <description>You can use GLOB_CONTEXT to respond to views, for example:&lt;BR /&gt;
&lt;BR /&gt;
IF GLOB_CONTEXT = 2 THEN doorswing = 90&lt;BR /&gt;
IF GLOB_CONTEXT = 3 THEN doorswing = doorswing 3D&lt;BR /&gt;
IF GLOB_CONTEXT = 4 THEN doorswing = 0&lt;BR /&gt;
&lt;BR /&gt;
The first will keep the doors open in 2D, the second will open them per the 3D script and the third will close them for Section/Elevations.&lt;BR /&gt;
&lt;BR /&gt;
Then, in 2D you can then use PROJECT2 to determine whether you want a wireframe, hidden line or shaded view in 2D. Though I'm not sure why you'd want to control the GDL symbol separately from the overall 3D rendering parameters?&lt;BR /&gt;
&lt;BR /&gt;
Cheers, CAmeron</description>
      <pubDate>Tue, 30 Nov 2004 13:31:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69658#M39108</guid>
      <dc:creator>Vitruvius</dc:creator>
      <dc:date>2004-11-30T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Global Values for Viewing modes in 3D?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69659#M39109</link>
      <description>&lt;BLOCKQUOTE&gt;ricki_faris wrote:&lt;BR /&gt;I was wondering if anyone knows how to define conditions in GDL based on the current 3D viewing mode (block, wireframe, hidden, or shaded)?? &lt;/BLOCKQUOTE&gt;

I don't think there is anyway to detect the 3D view mode within a GDL script (perhaps with API?). Why do you need this?</description>
      <pubDate>Tue, 30 Nov 2004 18:22:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69659#M39109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-30T18:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Global Values for Viewing modes in 3D?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69660#M39110</link>
      <description>&lt;BLOCKQUOTE&gt;Matthew wrote:&lt;BR /&gt; Why do you need this?&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
For example, I have a library part which is (for simplicity) a CPRISM which has a LOT of vertical edges. I want to place a lot of these objects in the plan, say 100, plus.  &lt;BR /&gt;
 &lt;BR /&gt;
I you can control the status value, so for objects which are close to the camera I have defined as being 79 (showing the main edges of the object only).  But those objects which are further away, I make the status value 8 - no contours, just the face is visible.  &lt;BR /&gt;
 &lt;BR /&gt;
In shaded mode this is desirable because the faces can be seen (there's no need for the edges/contours because they are too small).  &lt;BR /&gt;
 &lt;BR /&gt;
However, if I want to view in wireframe or hidden line mode - The distance objects aren't visible! So, if I could query the 3D viewing mode, I could adjust the status value correspondingly. For section/elevation modes, this is not a problem as we have GLOBAL_CONTEXT on our side. &lt;BR /&gt;
 &lt;BR /&gt;
Hope that helps you understand my goals? &lt;BR /&gt;
 &lt;BR /&gt;
Ricki</description>
      <pubDate>Wed, 01 Dec 2004 01:25:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69660#M39110</guid>
      <dc:creator>ricki-fritz</dc:creator>
      <dc:date>2004-12-01T01:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Global Values for Viewing modes in 3D?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69661#M39111</link>
      <description>Now I see what you are getting at. &lt;BR /&gt;
&lt;BR /&gt;
Is it for performance reasons that you don't just use the 79 status value all the time? I find it hard to imagine that it makes that much difference.</description>
      <pubDate>Wed, 01 Dec 2004 04:10:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69661#M39111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-01T04:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Global Values for Viewing modes in 3D?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69662#M39112</link>
      <description>&lt;BLOCKQUOTE&gt;Matthew wrote:&lt;BR /&gt;
Is it for performance reasons that you don't just use the 79 status value all the time? I find it hard to imagine that it makes that much difference.&lt;/BLOCKQUOTE&gt;

I did a test with 100 objects, using the Internal 3D engine, with contours on &amp;amp; there was a 10-15% improvement with the status value set to 8.&lt;BR /&gt;
&lt;BR /&gt;
May be marginal if you expect your 3D view to come up in 10 seconds, but for larger projects (stadiums, multi-level developments, etc) could have its advantages.&lt;BR /&gt;
&lt;BR /&gt;
I guess at this stage, there is no way to determine if the 3D view is in shaded or hidden (or other) mode. So, as a work-around, I've programmed in a variable to manually set the status value...&lt;BR /&gt;
&lt;BR /&gt;
Ricki</description>
      <pubDate>Fri, 03 Dec 2004 04:18:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Global-Values-for-Viewing-modes-in-3D/m-p/69662#M39112</guid>
      <dc:creator>ricki-fritz</dc:creator>
      <dc:date>2004-12-03T04:18:49Z</dc:date>
    </item>
  </channel>
</rss>

