<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Peer&#45;to&#45;Peer Forum</title>
    <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/" />
    <link rel="self" type="application/atom+xml" href="http://www.presagis.com/peer_forum/atom/" />
    <updated></updated>
    <rights>Copyright (c) 2012</rights>
    <generator uri="http://expressionengine.com/" version="1.6.9">ExpressionEngine</generator>
    <id>tag:presagis.com,2012:02:06</id>


    <entry>
      <title>Trigger window resize using setReshapeFunc</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1155/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1155</id>
      <published>2012-02-03T01:10:25Z</published>
      <updated></updated>
      <author><name>tanzhiping</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi,</p>

<p>I would like to trigger resizing event handler using setReshapeFunc as shown below:</p>

<p>&lt;Header&gt;<br />
...<br />
static void OnWinResize(vrWindow *vrWin, int width, int height, void *pClass);<br />
void ResizeMe(void);&nbsp;  &nbsp;  &nbsp;  // event handler for window resizing <br />
..</p>

<p>&lt;Cpp&gt;<br />
void vpClass::OnWinResize(vrWindow *vrWin, int width, int height, void * pClass)<br />
&#123;<br />
&nbsp;   static_cast&lt;vpEigL2Sight*&gt;(pClass)-&gt;ResizeMe();<br />
&#125;<br />
void vpClass::configure()<br />
&#123;<br />
&nbsp;  &nbsp;  &nbsp; .....<br />
&nbsp;  &nbsp;  &nbsp; vpWindow *pWindow = vpWindow::begin()<br />
&nbsp;  &nbsp;  &nbsp; pWindow-&gt;setReshapeFunc(OnWinResize,this);<br />
&nbsp;  &nbsp;  &nbsp; ....<br />
&#125;</p>

<p>There is no compiler or run-time error but the OnWinResize is not been triggered during the resizing event. Could this problem occurs due to the fact that it can only used in vsgr applications. If so, is there any way to resolve the matter?</p>

<p>With Thanks,<br />
ZP
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>VP 5.0 sun problem</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1151/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1151</id>
      <published>2012-02-01T05:45:53Z</published>
      <updated></updated>
      <author><name>vadgrig</name></author>
      <content type="html">
      <![CDATA[
        <p>I notice problem with vpEnvSun in VP 5.0. If I start Lynx Prime, disable cloud layer and change position Z Axis for myObserver from 343.347 to 5343.347, I see two suns. First is usual disk, second has different shape, it’s hard to describe. I didn’t encounter this problem in VP 2.1 and VP 4.1. What can I do to have one normal sun disk?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>VP 5.0 and Visual Studio 2010 &#45; x86/x64</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1152/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1152</id>
      <published>2012-02-01T11:57:20Z</published>
      <updated></updated>
      <author><name>rlogan</name></author>
      <content type="html">
      <![CDATA[
        <p>I have very limited hours to migrate an old VP2.1 app from XP to VP 5.0 Win7 64 bit. Anyone using Visual studio 10, I know docs only mention VS 8/9. Secondly, are the VP dlls 64 bit (should my target machine be x86 or x64)</p>

<p>I feel like I am very close but I keep getting&#8230;</p>

<p>LNK1112: module machine type &#8216;x64&#8217; conflicts with target machine type &#8216;X86&#8217;</p>

<p>I have tried targeting both platforms but it doesn&#8217;t seem to matter.</p>

<p>Thanks,<br />
Ryan
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Windows 7 slowdown</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1150/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1150</id>
      <published>2012-01-30T09:32:39Z</published>
      <updated></updated>
      <author><name>dbdave</name></author>
      <content type="html">
      <![CDATA[
        <p>Since I have switched to Windows 7 I have found that Creator loads files with many external refs much more slowly.&nbsp; This includes switching back to a previously loaded file using the Window pulldown.&nbsp; A file with several hundred simple-building ext refs takes several minutes to appear when switching back to it from another  file..</p>

<p>I am running 64-bit Windows 7 on a Dell T5400.&nbsp; I have 12 GB of RAM and a Zotac Geforce GTX 580 graphics card.&nbsp; I&#8217;m hoping that there is some system or graphics setting that will alleviate this problem.&nbsp; I have also noticed that TerraVista builds much more slowly..but that is an issue for a different forum.</p>

<p>Has anyone else seen this problem?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Trigger event Handler for resizing Window</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1148/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1148</id>
      <published>2012-01-26T20:31:26Z</published>
      <updated></updated>
      <author><name>tanzhiping</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi, </p>

<p>I tried to trigger an event handler for Window resizing using these following code</p>

<p>#header file<br />
static bool OnWinResize(vrWindow *vrWin, vrWindow::Message id, int param1, int param2, int param3);</p>

<p>#.cpp<br />
#inside the Configuration function<br />
vpWindow::find(&#8220;myWindow&#8221;)-&gt;setUserMessageHandler(OnWinResize);&nbsp; </p>

<p>static bool OnWinResize(vrWindow *vrWin, vrWindow::Message id, int param1, int param2, int param3)<br />
&#123;<br />
&nbsp;  &nbsp;  &nbsp; switch(id)<br />
&nbsp;  &nbsp;  &nbsp; &#123;<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;   case vrWindow::MESSAGE_SIZE:<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  &nbsp;  vuNotify::print(vuNotify::LEVEL_NOTICE, NULL,&#8220;vpEigL2Sight::preConfigure func called\n&#8221;);<br />
&nbsp;  &nbsp;  &nbsp;  &nbsp;  break;<br />
&nbsp;  &nbsp;  &nbsp; &#125;<br />
&nbsp;  &nbsp;   return false;<br />
&#125;</p>

<p>But the program hanged (white screen on the window) during runtime. <br />
Do anyone has any idea to resolve the problem?</p>

<p>with thanks,<br />
ZP
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Vega Prime within C#</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1149/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1149</id>
      <published>2012-01-30T01:51:50Z</published>
      <updated></updated>
      <author><name>yonglh</name></author>
      <content type="html">
      <![CDATA[
        <p>Is it possible to run Vega Prime within the C# codes? </p>

<p>We are considering to create a 3D viewer application with Vega Prime handling the 3D visualisation while the UI controls are handled by C#.</p>

<p>Thanks.</p>

<p>regards
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Scattered points not avoiding walls&#63;</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1147/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1147</id>
      <published>2012-01-26T09:06:07Z</published>
      <updated></updated>
      <author><name>althousema</name></author>
      <content type="html">
      <![CDATA[
        <p>Is there a way for the scatter points pass to automatically avoid wall features? I have a set of buildings scattered around an areal, and it avoids putting them on or near roads and rivers, but buildings will be placed intersecting a wall. Any way to fix this? To clarify, I am using complex walls, not 2D &#8220;fence&#8221; walls.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Complex Lake/Pond 2 issue</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1146/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1146</id>
      <published>2012-01-25T08:44:04Z</published>
      <updated></updated>
      <author><name>JoergEngel</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello Community,</p>

<p>I try to make a &#8220;Complex Lake&#8221; in TerraVista. Therefor I have an areal shape and the default Areal Feature Model &#8220;Complex Lake/Pond 2 - for use with ...&#8221; which uses the default &#8220;Complex Lake2&#8221; Prosessing Pass.<br />
When I built my terrain tile I get my Inner and outer ring, my lake bottom and my water surface.</p>

<p>PROBLEM is, that the water surface near the shore line has all polygons flipped (surface normals are downwards). At some distance of the shore line all Polygons are as the should be (surface normals are upwards).</p>

<p>Setting the waterpolys as &#8220;Draw both sides&#8221; gives unwanted shading results.<br />
Tried in TV 5.1 and 5.3 with same results.</p>

<p>help is needed.</p>

<p>Thanks in advance <br />
Joerg
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Quick Map Quad &#45; Python Script</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1145/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1145</id>
      <published>2012-01-24T14:05:32Z</published>
      <updated></updated>
      <author><name>cjdellap</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello All,</p>

<p>I see that the &#8220;Quick Map Quad&#8221; function is not currently available through the scripting API. Would it be possible for me to reproduce this functionality using the &#8220;Put Texture&#8221; command? I am trying to map a group of textures to a group of square polygons. </p>

<p>Here is what I am currently doing:<br />
I am using the geo-coordinates of the texture corners to generate a polygon. I am then mapping that texture to the polygon using Put Texture. I am using three corners of the polygon as the &#8220;To Origin&#8221;, &#8220;To Alignment&#8221; and &#8220;To Shear&#8221; values (an L-shape with positive Y facing up). I am using the same xy coordinates that I am inputing when creating the polygon. Doing this method in the scripting language doesn&#8217;t seem to be working correctly. If I do the same thing manually (clicking on the three corners of the polygon) the texture looks fine. Also, if I use the Quick Map Quad function, the texture is mapped correctly as well. </p>

<p>Any help would be greatly appreciated.</p>

<p>Thanks!</p>

<p>CJ
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Non editable polygon</title>
      <link rel="alternate" type="text/html" href="http://www.presagis.com/peer_forum/viewthread/1144/" />      
      <id>tag:presagis.com,2012:peer_forum/viewthread/.1144</id>
      <published>2012-01-23T14:45:05Z</published>
      <updated></updated>
      <author><name>Gam</name></author>
      <content type="html">
      <![CDATA[
        <p>When you have a DOF, you can&#8217;t translate it in DOF mode.&nbsp; Sooo,&nbsp; is there a way to &#8220;lock&#8221; a polygon /obj/group so that you cannot translate it similarily?</p>

<p>Some of the crew here accidently keep translating a polygon with texture while creating footprints.&nbsp; They have too many polys with textures to simply use a background image.</p>

<p>As a temporary work around they can use the poly with texture as  an external reference aqnd that freezes it, but it would be nice of there is a way to make a polygon/obj/group  non-editable
</p>
      ]]>
      </content>
    </entry>


</feed>
