<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
    
    <channel>
    
    <title>Peer&#45;to&#45;Peer Forum</title>
    <link>http://www.presagis.com/peer_forum/</link>
    <description>Peer&#45;to&#45;Peer Forum</description>
    <dc:language>en</dc:language>
    <dc:rights>Copyright 2012</dc:rights>
    <dc:date>2012-02-06T17:32:33-05:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title>Trigger window resize using setReshapeFunc</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1155/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1155/#When:01:10:25Z</guid>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I would like to trigger resizing event handler using setReshapeFunc as shown below:&lt;/p&gt;

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

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

&lt;p&gt;There is no compiler or run&#45;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?&lt;/p&gt;

&lt;p&gt;With Thanks,&lt;br /&gt;
ZP
&lt;/p&gt;</description>
      <dc:date>2012-02-03T01:10:25-05:00</dc:date>
    </item>

    <item>
      <title>VP 5.0 sun problem</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1151/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1151/#When:05:45:53Z</guid>
      <description>&lt;p&gt;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?
&lt;/p&gt;</description>
      <dc:date>2012-02-01T05:45:53-05:00</dc:date>
    </item>

    <item>
      <title>VP 5.0 and Visual Studio 2010 &#45; x86/x64</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1152/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1152/#When:11:57:20Z</guid>
      <description>&lt;p&gt;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)&lt;/p&gt;

&lt;p&gt;I feel like I am very close but I keep getting&#8230;&lt;/p&gt;

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

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

&lt;p&gt;Thanks,&lt;br /&gt;
Ryan
&lt;/p&gt;</description>
      <dc:date>2012-02-01T11:57:20-05:00</dc:date>
    </item>

    <item>
      <title>Trigger event Handler for resizing Window</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1148/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1148/#When:20:31:26Z</guid>
      <description>&lt;p&gt;Hi, &lt;/p&gt;

&lt;p&gt;I tried to trigger an event handler for Window resizing using these following code&lt;/p&gt;

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

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

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

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

&lt;p&gt;with thanks,&lt;br /&gt;
ZP
&lt;/p&gt;</description>
      <dc:date>2012-01-26T20:31:26-05:00</dc:date>
    </item>

    <item>
      <title>Vega Prime within C#</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1149/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1149/#When:01:51:50Z</guid>
      <description>&lt;p&gt;Is it possible to run Vega Prime within the C# codes? &lt;/p&gt;

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

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt;regards
&lt;/p&gt;</description>
      <dc:date>2012-01-30T01:51:50-05:00</dc:date>
    </item>

    <item>
      <title>jitter problem when rendering using Vega Prime 5.0 under RedHat Linux</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1141/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1141/#When:07:02:22Z</guid>
      <description>&lt;p&gt;I Installed VP 5.0 under RedHat Linux (64 bit &#45; Kernel ver 2.6.14) ) and When I run the sample application, rendering is not smooth,&amp;nbsp; jittering happens. NVIDIA FX 5800 graphics cards and the driver ver 256.44 as recommneded by Presagis/NVIDIA is installed. Is there any setting to be made in the NVIDIA panel ? can anyone help to resolve this issue ?&lt;br /&gt;
rcsekar
&lt;/p&gt;</description>
      <dc:date>2012-01-17T07:02:22-05:00</dc:date>
    </item>

    <item>
      <title>issue rendering VSB terrain with texture</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1135/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1135/#When:00:00:07Z</guid>
      <description>&lt;p&gt;Hey,&lt;/p&gt;

&lt;p&gt;I am trying to render VSB terrain along with the texture in VP which is generated using Terra&#45;Vista 6.2.&lt;/p&gt;

&lt;p&gt;If i select ds100&#45;flight.mft and ds200&#45;vt.mft, it renders well in VP but if i select ds100&#45;vsb instead nothing is rendered !! It just throws an error saying that database needs to be re&#45;published using TV 6.2 or higher&lt;/p&gt;

&lt;p&gt;error thrown is as follows: &lt;b&gt;.../.../..&amp;gt; contains vsSmartMeshNode. Smart mesh nodes from VBSs created in vega prime 3.0 are not supported starting vega prime 5.0. It is recommended to re&#45;publish your data using terra&#45;vista 6.2 or newer. This will upgrade your VSBs to contain vsMorphingSmartMeshNodes, which replaces vsSmartMeshNodes.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;I am using VP version 5.0 and Terra&#45;Vista 6.2.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
Thanks
&lt;/p&gt;</description>
      <dc:date>2012-01-06T00:00:07-05:00</dc:date>
    </item>

    <item>
      <title>Create vpOverlay2DLineStrip</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1136/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1136/#When:03:36:54Z</guid>
      <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I would like to create an instance of vpOverlay2DLineStrip using these following codes in the configure ():&lt;/p&gt;

&lt;p&gt;&amp;nbsp;  &amp;nbsp;  &amp;nbsp; vpOverlay2DLineStrip* aa = new vpOverlay2DLineStrip();&lt;br /&gt;
&amp;nbsp;   aa&#45;&amp;gt;addChannel(m_pChannel.get());&lt;br /&gt;
&amp;nbsp;   aa&#45;&amp;gt;addVertex(0,0);&lt;br /&gt;
&amp;nbsp;   aa&#45;&amp;gt;addVertex(1,1);&lt;/p&gt;

&lt;p&gt;There is no error during compilation but an error is prompted during runtime:&lt;/p&gt;

&lt;p&gt;Unhandled exception at 0x00a91c98 (vsgu4.dll) in vprun.exe: 0xC0000005: Access violation reading location 0x00000014.&lt;/p&gt;

&lt;p&gt;What should i do to resolve this error&lt;/p&gt;

&lt;p&gt;With thanks,&lt;br /&gt;
ZP
&lt;/p&gt;</description>
      <dc:date>2012-01-06T03:36:54-05:00</dc:date>
    </item>

    <item>
      <title>Active preview wireframe</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1129/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1129/#When:07:48:40Z</guid>
      <description>&lt;p&gt;Hello everyone,&lt;/p&gt;

&lt;p&gt;This is my first post. I saw a different things when I switch to wireframe mod in active preview. I attached image you can see traffic lights and they are looks like merging when I switch to wireframe mod. What this is it problem or not? I think same texture models looks like merging.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
Thanks
&lt;/p&gt;</description>
      <dc:date>2011-12-13T07:48:40-05:00</dc:date>
    </item>

    <item>
      <title>Jitter problem on moving objects</title>
      <link>http://www.presagis.com/peer_forum/viewthread/1132/</link>
      <guid>http://www.presagis.com/peer_forum/viewthread/1132/#When:10:37:45Z</guid>
      <description>&lt;p&gt;Hello everyone&lt;/p&gt;

&lt;p&gt;We are using Vega Prime in our tram simulator and we have a jitter problem in moving objects. I attached a demo to demonstrate our problem.&lt;/p&gt;

&lt;p&gt;Scenario 1 : There are two regarding threads in the demo, where the positionGenerator thread produces a new position for the tram at 60Hz. Consumer &#8220;vega thread&#8221; checks the new current position and updates the tram in the 3D scene at each frame update() call.&lt;/p&gt;

&lt;p&gt;Scenario 2 : Also I added a define (&#8220;POS_PRODUCER_SEPERATE_THREAD&#8221;) to easily produce the new position on Vega thread instead of positionGenerator thread. In this case new position is both generated and consumed in the render loop.&lt;/p&gt;

&lt;p&gt;In both scenarios we have jitter. If you seem to think that there is not, you may take a look at the train from side. In some hardwares due to different pc speeds jitter is less or more noticable. But it is there &lt;img src=&quot;/images/smileys/smile.gif&quot; width=&quot;19&quot; height=&quot;19&quot; alt=&quot;smile&quot; style=&quot;border:0;&quot; /&gt; Simply, train is not moving smooth at all times. When we add extra geometry, DIguy and network components etc. in the real simulator, the jitter occuring here is immensely magnified.&lt;/p&gt;

&lt;p&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#45;&lt;/p&gt;

&lt;p&gt;Apart from what I have told and uploaded, we also tried accumulating the produced positions with a timestamp on a queue. Then we sampled the queue on each vega render loop with the current timestamp and interpolated between positions. This resolves first kind of jitter that is created by the inconsistency of position generator and consumer threads frequency. (Although both threads are 60Hz, they never perfectly match. Render thread has deviation)&lt;/p&gt;

&lt;p&gt;But second kind of jitter that still occurs on the second scenario, we couldn&#8217;t solve it.&lt;/p&gt;

&lt;p&gt;To compile the solution put it in : &lt;br /&gt;
C:PresagisVega_Prime_4resourcestutorialsVegaPrimetraining_apivp_app_basic &#45; jitter&lt;br /&gt;
folder and it should be fine.&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;

&lt;p&gt;Arif Yetkin&lt;/p&gt;

&lt;p&gt;PS: we had the same problem on OSG, OGRE and LEADWERKS (In leadwerks sampling&amp;interpolating; solved the problem though). So I guess it is kind of generic problem, how to feed graphics with physics output properly and SMOOTHLY ? &lt;img src=&quot;/images/smileys/smile.gif&quot; width=&quot;19&quot; height=&quot;19&quot; alt=&quot;smile&quot; style=&quot;border:0;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;UPLOAD LINK : ftp://81.214.87.33/&lt;br /&gt;
User : katron&lt;br /&gt;
Pass :katronftp
&lt;/p&gt;</description>
      <dc:date>2011-12-22T10:37:45-05:00</dc:date>
    </item>

    
    </channel>
</rss>
