<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.graphics.openscenegraph.user">
    <title>gmane.comp.graphics.openscenegraph.user</title>
    <link>http://blog.gmane.org/gmane.comp.graphics.openscenegraph.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79957"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79950"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79938"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79936"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79932"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79929"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79921"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79917"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79916"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79902"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79899"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79895"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79894"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79891"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79889"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79879"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79877"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79873"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79870"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79869"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79957">
    <title>DatabasePager setTargetMaximumNumberOfPageLOD behavior</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79957</link>
    <description>&lt;pre&gt;Hi,

I'm hoping to get some clarification on how the
DatabasePager::setTargetMaximumNumberOfPageLOD is supposed to work. I am
setting this value to 3 in my application. I then use the following
function to create and add PagedLODs the the scene:

void AddPagedLOD()
{
  osg::ref_ptr&amp;lt;osg::PagedLOD&amp;gt; lod = new osg::PagedLOD;
  lod-&amp;gt;addChild( new osg::Group, 10.0f, FLT_MAX );
  lod-&amp;gt;setFileName(1,"large.osgb");
  lod-&amp;gt;setRange(1,0.0f,10.0f);
  root-&amp;gt;addChild(lod);
}

When I add 3 PagedLODs to my scene and have them load the file, they are
never released from memory once I leave the active range. This makes sense
since the number PagedLODs is not above the target.

However, when I add 4 PagedLODs then leave the active range, all 4 files
are released from memory. I was expecting only 1 of the files to be
released.

Am I misunderstanding the behavior of this setting or should only 1 file be
released in this case?

I had a quick glance at the DatabasePager source and was able to make two
small changes to get the beha&lt;/pre&gt;</description>
    <dc:creator>Farshid Lashkari</dc:creator>
    <dc:date>2013-05-21T03:41:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79950">
    <title>[Viewer] Detecting mouse move</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79950</link>
    <description>&lt;pre&gt;Hi all,

In some of my application, I would like to detect when a clic + mouse move
event happen. My goal is to display on screen during the clic + mouse move
only objects bounding boxes.

Do you have any hint on how to do this? Maybe some tips starting from
osgviewer could help!

Best regards,

Asher
&lt;/pre&gt;</description>
    <dc:creator>Asher Kamiraze</dc:creator>
    <dc:date>2013-05-20T21:00:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79938">
    <title>osgGA::TrackballManipulator Bottom View (Look DirectlyUp)</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79938</link>
    <description>&lt;pre&gt;Hi,

This should be a simple answer, hopefully this hasn't been asked. I have some buttons for switching to the views between top, right,... and bottom. my code is all in the following function:


Code:


void M_OSG_viewer::setViewpoint(Viewpoint new_viewpoint, double distance)
{
switch (new_viewpoint)
{
case MINUS_X: 
manipulator-&amp;gt;home(0);
manipulator-&amp;gt;setCenter(osg::Vec3d(0.0, 0.0, 0.0));
manipulator-&amp;gt;setRotation(osg::Quat(-90.0f, osg::Vec3f(0.0f, 1.0f, 0.0f)));
manipulator-&amp;gt;setCenter(osg::Vec3d(0.0, 0.0, 1800.0));
manipulator-&amp;gt;setElevation(0.0f);
manipulator-&amp;gt;setDistance(distance);
break;
case PLUS_X:
manipulator-&amp;gt;home(0);
manipulator-&amp;gt;setCenter(osg::Vec3d(0.0, 0.0, 0.0));
manipulator-&amp;gt;setRotation(osg::Quat(90.0f, osg::Vec3f(0.0f, 1.0f, 0.0f)));
manipulator-&amp;gt;setCenter(osg::Vec3d(0.0, 0.0, 1800.0));
manipulator-&amp;gt;setElevation(0.0f);
manipulator-&amp;gt;setDistance(distance);
break;
case MINUS_Y: 
manipulator-&amp;gt;home(0);
manipulator-&amp;gt;setCenter(osg::Vec3d(0.0,0.0&lt;/pre&gt;</description>
    <dc:creator>Patrick Keenan</dc:creator>
    <dc:date>2013-05-18T15:46:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79936">
    <title>osgUtil::Optimizer::optimize not obeying PermissibleOptimizations for MERGE_GEODES</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79936</link>
    <description>&lt;pre&gt;Greetings!

This may be by design, but just in case, I wanted to ask about it. I'm using version 3.0.0, and if I look on Line 282 of osgUtil/Optimizer.cpp, the MergeGeodesVisitor is created. However, the optimizer object (this) is not passed into the constructor, and so the visitor does not have a pointer to the optimizer object. 

As a consequence, the visitor cannot access the optimizer's _permissibleOptimizationsMap and thus returns true every time isOperationPermissibleForObject is called. 

The reason I bring this up is that I do want to merge geodes, but I have four geodes in the model that I cannot allow to be merged. I was able to work around this problem by creating my own MergeGeodesVisitor, and that seems to be working well. I just have to remember not to include MERGE_GEODES in my options bit field that I pass into Optimizer::optimize(), and handle it manually myself as I described.

Thank you!

Cheers,
Frank

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtop&lt;/pre&gt;</description>
    <dc:creator>Frank Sullivan</dc:creator>
    <dc:date>2013-05-17T23:18:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79932">
    <title>[build] Building OpenThreads on Windows</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79932</link>
    <description>&lt;pre&gt;How does one build OpenThreads library standalone on Windows?

Downloaded OpenThreads (http://openthreads.sourceforge.net/) and it built fine with make on Linux, but when I try using make with Gnu Make for Windows, it shows this error:
F:\ProgramFiles\OpenThreads&amp;gt;make
process_begin: CreateProcess(NULL, uname, ...) failed.
f was unexpected at this time.
make: *** [default] Error 255

and when I tried with MinGW, it gave errors I've attached as an image with this message (couldn't copy text in the Mingw prompt). 

Help please...

------------------------
Nav or Joseph? You can call me Nav :-)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=54039#54039



&lt;/pre&gt;</description>
    <dc:creator>Nav Joseph</dc:creator>
    <dc:date>2013-05-17T05:49:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79929">
    <title>Dynamically change the "persistence" of the motion blurexample</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79929</link>
    <description>&lt;pre&gt;Hi,

I've been using the Accumulation buffer to apply motion blur to point cloud animations, directly taken from the osgMotionBlur example, where the motion blur is applied to each window as an osg::Operation.  What I'd like to be able to do is dynamically change the amount of blur by varying the persistence parameter.  I've poked around the API and found that I can remove the motion blur operation with a removeAllOperations call then reapply the motion blur with a different persistence value, but this causes the accumulation buffer to be cleared.  I can't see any other way to access the Operator once its been applied.

Below is the code, 

#include &amp;lt;osgViewer/ViewerBase&amp;gt;
#include &amp;lt;osgViewer/Viewer&amp;gt;
#include &amp;lt;iostream&amp;gt;

class MotionBlurOperation: public osg::Operation
{
public:
    MotionBlurOperation(double persistence):
        osg::Operation("MotionBlur",true),
        cleared_(false),
        persistence_(persistence)
    {
    }

    virtual void operator () (osg::Object* object)
    {
        osg::Grap&lt;/pre&gt;</description>
    <dc:creator>William Hart</dc:creator>
    <dc:date>2013-05-16T22:15:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79921">
    <title>Crashes after unloading library</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79921</link>
    <description>&lt;pre&gt;Hi,

I have an application built with Qt that uses osg to create a scene and to display it. I have also created a shared library that is loaded and unloaded by my application using QLibrary. In this library I create osg objects that are retained in objects created in the application. If I do not unload the library, all is ok but after I unload the library, strange crashes occurs in osg.

I suspect that these are related to memory allocation because osg objects are created on the heap in the shared library and then the shared library in unloaded. Any suggestions?
... 

Thank you!

Cheers,
Gabriel

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=54028#54028





&lt;/pre&gt;</description>
    <dc:creator>Gabriel Francu</dc:creator>
    <dc:date>2013-05-16T09:09:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79917">
    <title>problem with include/osgViewer/config for windows users (svn commit 13403)</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79917</link>
    <description>&lt;pre&gt;Hi Robert,

with svn commit a problem for windows users emerged, the file
include/osgViewer/Config
prohibits the creation of the directory
include/osgViewer/config/
on non case sensitive filesystems.

(Turtoise)svn update fails with a permissions error.

I would suggest renaming the directory (to winconfig or screenconfig 
perhaps?).

Regards,
Laurens Voerman.

&lt;/pre&gt;</description>
    <dc:creator>Laurens Voerman</dc:creator>
    <dc:date>2013-05-16T08:20:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79916">
    <title>crashing with paged LODs,line intersector on computeBound</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79916</link>
    <description>&lt;pre&gt;Hi,

I wonder if anyone can offer some insight on why I may be experiencing these random crashes. 

Essentially I have many line intersection visitors following a node which is moving through the scene and performing line intersections on terrain, which is a pagedLOD database of proxynodes.

This is done in a multithreaded fashion, i.e. there are many threads each with a lineSegmentIntersector and intersectionVisitor of its own. By and large, it works great, but on very rare and seemingly random occasions the application crashes with a segmentation fault.

It traces to the accept call, where I am calling the terrain's group node's accept function on an intersection visitor.

A human-friendly version of the backtrace is as follows:
 

Code:

osg::Group::computeBound at Group.cpp
 osg::LOD::computeBound at LOD.cpp
getBound at Node.cpp
isCullingActive at Node.cpp
enter at LineSegmentIntersector.cpp
enter at IntersectionVisitor.cpp
accept at Group.cpp
traverse at Group.cpp
apply at IntersectionVisitor.cpp
accept&lt;/pre&gt;</description>
    <dc:creator>Joe Doob</dc:creator>
    <dc:date>2013-05-15T21:08:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79902">
    <title>OpenSceneGraph-3.1.6 development released tagged</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79902</link>
    <description>&lt;pre&gt;Hi All,

I have just tagged the OpenSceneGraph-3.1.6 development release:

*O**pen**SceneGraph-3.1.6, ** released on **13th May** 2013*, key
deliverables in this dev release are:

   - New Keystone support in osgViewer for handling distortion correction
   and calibration for off axis projection.
   - New event handle scheme within osgViewer for handling viewer
   configurations that include distortion correction in a seamless way.

*source package :*
OpenSceneGraph-3.1.6.zip&amp;lt;http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-3.1.5.zip&amp;gt;

*svn tag:* svn co
http://svn.openscenegraph.org/osg/OpenSceneGraph/tags/OpenSceneGraph-3.1.6OpenSceneGraph
--

To try out the keystone correction support try:

 osgviewer cow.osg --keystone mykeystone.osgt

Then press Ctrl-g to bring up the calibration grid, then drag the corners
of the grid around to creation the desired correction, then press Ctril-s
to save the keystone values to the specified mykeystone.osgt file.
Pressing Ctrl-g will hide the grid&lt;/pre&gt;</description>
    <dc:creator>Robert Osfield</dc:creator>
    <dc:date>2013-05-13T14:40:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79899">
    <title>problem compiling SVN</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79899</link>
    <description>&lt;pre&gt;Hi Robert/all,

I am receiving some errors in compiling the latest SVN due to some recent
changes..

Sure its the windows export issue, not sure where to place them!

 

Cheers

 

Martin

 

 

Error      1              error LNK2019: unresolved external symbol "public:
class osg::Texture * __thiscall
osgUtil::LineSegmentIntersector::Intersection::getTextureLookUp(class
osg::Vec3f &amp;amp;)const "
(?getTextureLookUp&amp;lt; at &amp;gt;Intersection&amp;lt; at &amp;gt;LineSegmentIntersector&amp;lt; at &amp;gt;osgUtil&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;QBEPAVTextur
e&amp;lt; at &amp;gt;osg&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;AAVVec3f&amp;lt; at &amp;gt;5&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;Z) referenced in function "protected: void __thiscall
osgViewer::CompositeViewer::generateSlavePointerData(class osg::Camera
*,class osgGA::GUIEventAdapter &amp;amp;)"
(?generateSlavePointerData&amp;lt; at &amp;gt;CompositeViewer&amp;lt; at &amp;gt;osgViewer&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;IAEXPAVCamera&amp;lt; at &amp;gt;osg&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;AAV
GUIEventAdapter&amp;lt; at &amp;gt;osgGA&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;&amp;lt; at &amp;gt;Z)
H:\Coding\OSG\OpenSceneGraph\src\osgViewer\CompositeViewer.obj
osgViewer

 

Error      2              error LNK2001: unresolved external symbol "public:
class osg::Texture * __thiscall
osgUtil::LineSegmentIntersector::Intersection::getTextureLookUp(class
osg::Vec3f &amp;amp;&lt;/pre&gt;</description>
    <dc:creator>Martin Naylor</dc:creator>
    <dc:date>2013-05-13T13:04:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79895">
    <title>Detecting windows focus</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79895</link>
    <description>&lt;pre&gt;Hi,

I've been looking for a while on the forum and using google, and looking in the documentation and the code, but i can't seem to find:

how can I detect if a window (osgViewer::GraphicsWindow) has lost focus? I see there is a function to GRAB focus, but isn't it possible to check whether or not the window HAS focus? 

Thank you!

Cheers,
Bram

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53990#53990





&lt;/pre&gt;</description>
    <dc:creator>Bram Vaessen</dc:creator>
    <dc:date>2013-05-12T18:54:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79894">
    <title>OSX rendering context</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79894</link>
    <description>&lt;pre&gt;Hi forum,

I need to dynamically cast the osgviewer graphics context to more platform specific context for some platform oriented window creation .  I am doing it as followS:


Code:

#ifdef WIN32
dynamic_cast&amp;lt;osgViewer::GraphicsHandleWin32*&amp;gt;( firstContext )
#else
dynamic_cast&amp;lt;osgViewer::GraphicsHandleX11*&amp;gt;( firstContext )
#endif


 


What would be the handle for OSX ? 

Thank you!

Cheers,
Sajjadul

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53989#53989





&lt;/pre&gt;</description>
    <dc:creator>Sajjadul Islam</dc:creator>
    <dc:date>2013-05-11T14:05:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79891">
    <title>problems with clip node and clip planes</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79891</link>
    <description>&lt;pre&gt;Hi,

I have a very strange bahaviour of my scene.
The following diagram shows the scene structure.
On the left side the last node is the actual main scene to be displayed.
As you can see there is a clip node above this node.
To my understandung this should do clipping of its children.
On my Linux system with a simple Intel Corporation graphics chip the clipping is OK.
Under Windows 7/64 with nVidia GeForce GT 330M there is no clipping.
But if I assign a shadow technology to the shadow node I see that the shadow creating scene is obviously clipped.
Any hint?

My scene graph diagram is attached.

Thank you!

Cheers,
Werner

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53986#53986




Attachments: 
http://forum.openscenegraph.org//files/scene_176.jpg


&lt;/pre&gt;</description>
    <dc:creator>Werner Modenbach</dc:creator>
    <dc:date>2013-05-10T12:15:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79889">
    <title>osgParticle::ExplosionEffect: assistance needed</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79889</link>
    <description>&lt;pre&gt;I have been exploring osgParticle::ExplosionEffect for use with our software and have run into a few things I haven't yet been able to figure out.

1) We use the Qt resource system to compile and link into our executable some of the binary resources we need, including some images. I have used this system to store a .png file as a resource and have been trying to use that png file as the texture for the particle effects in an ExplosionEffect. When I invoke myExplosion-&amp;gt;setTextureFileName(":explosiontexture"), the texture appears not to have been loaded. When I invoke it with an actual path to the same file sitting on my hard drive, it works without problem. So, can anyone tell me if the Qt Resource system's naming convention for referring to internal binary resources is in some way usable with the setTextureFileName interface in ExplosionEffects? 

2) The ExplosionEffect seems to be oriented with a z-up orientation. I am using OSGEarth and would like to have the explosions oriented at a local up axis, not a g&lt;/pre&gt;</description>
    <dc:creator>Mike Metcalf</dc:creator>
    <dc:date>2013-05-09T17:32:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79879">
    <title>for PAN problem</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79879</link>
    <description>&lt;pre&gt;I am trying to pan my model pls check the code snippet below.
viewer = composite view.
getTransform() will return a osg::PositionAttitudeTransform list.

But my object is moving in z direction as well inwards outwards. What am I
doing wrong please help. Thanks Sujan
void CSGraphicsView::pan( float dx, float dy )
{
osg::Vec3 transform =
viewer-&amp;gt;getTransform()-&amp;gt;getTrans().first()-&amp;gt;getPosition();
transform += osg::Vec3(dx,dy,0.0f);
viewer-&amp;gt;getTransform()-&amp;gt;getTrans().first()-&amp;gt;setPosition(transform);
}

&lt;/pre&gt;</description>
    <dc:creator>Sujan Dasmahapatra</dc:creator>
    <dc:date>2013-05-09T11:03:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79877">
    <title>Some OSG Windows functionality not available in Linux?</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79877</link>
    <description>&lt;pre&gt;Hi,

Posting this on behalf of a colleague:

I have built OSG3.0.1 in /usr/local directory. But I found that few of the files were missing in /usr/local/include/osgShadow directory which are already there in the windows equivalent.
NOTE: - I have a windows based application (contains OSG and OSGEarth) that I need to port to Linux.
These files are:
1. ViewDependentShadowMap
2. ShadowSettings
In addition to this, ShadowedScene file in /usr/local/include/osgShadow also appeared to be different, as it was not having setShadowSettings method in it.
My questions are:-
1. Did I miss some flag while building OSG or are these files absent in the LINUX variant of OSG?
2. How to go about it if these files are absent by default in the LINUX variant?
I guess, copying missing OSG files from windows to Linux will not serve my purpose. Please advise.

Thanks in advance!
Cheers,
Nav

------------------------
Nav or Joseph? You can call me Nav :-)

------------------
Read this topic online here:
http://forum.openscenegraph.or&lt;/pre&gt;</description>
    <dc:creator>Nav Joseph</dc:creator>
    <dc:date>2013-05-09T10:18:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79873">
    <title>Pan in OSG QT</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79873</link>
    <description>&lt;pre&gt;I am trying to implement my own pan functionality in osg scene using Qt.
Please tell me if it is right ?.....But it's not happening.

Check my snippet.

void CSGraphicsView::mousePressEvent(QMouseEvent *e)
{
lastPos = e-&amp;gt;pos();
}

void CSGraphicsView::mouseMoveEvent(QMouseEvent *e)
{
 float dx = (e-&amp;gt;y() - lastPos.y());
     float dy = (e-&amp;gt;x() - lastPos.x());



     const bool panFlag    = ( e-&amp;gt;buttons() &amp;amp; Qt::MidButton   );
     const bool rotateFlag = ( e-&amp;gt;buttons() &amp;amp; Qt::LeftButton  );
     const bool zoomFlag   = ( e-&amp;gt;buttons() &amp;amp; Qt::RightButton );


     if ( zoomFlag )
     {
         zoom( dy );
     }
     else if ( rotateFlag )
     {
         rotate( dx, dy );
     }
     else if ( panFlag )
     {
         pan( dx, dy );
     }

 viewer-&amp;gt;frame();

 lastPos = e-&amp;gt;pos();
}

void CSGraphicsView::pan( int dx, int dy )
{
viewer-&amp;gt;getView()-&amp;gt;getCamera()-&amp;gt;setViewMatrix(osg::Matrix::translate(dx,dy,0));
}

//viewer is composite viewer osg
//getView() returns the osgViewer::View

//but my object is not movin&lt;/pre&gt;</description>
    <dc:creator>Sujan Dasmahapatra</dc:creator>
    <dc:date>2013-05-09T08:44:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79870">
    <title>Translate problem</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79870</link>
    <description>&lt;pre&gt;I am trying to translate my objects in scene, when the right mouse button
is pressed. But it is not moving. Pls check the snippet.

[code]
//CSGraphicsView
//.h
class CSGraphicsView : public osgQt::GLWidget
{
Q_OBJECT
public:
CSGraphicsView(QWidget* parent=0);
~CSGraphicsView();
virtual void mousePressEvent(QMouseEvent *e);
virtual void mouseReleaseEvent(QMouseEvent *e);
virtual void mouseMoveEvent(QMouseEvent *e);

};

#endif // GVIEW_H
////////////////////////////////////////////.cpp
void CSGraphicsView::mousePressEvent(QMouseEvent *e)
{
if(e-&amp;gt;button()==Qt::LeftButton)
{
QMessageBox msg;
msg.setText("Left Mouse pressed");
msg.exec();
}
else if(e-&amp;gt;button()==Qt::RightButton)
{
//QMessageBox msg;
//msg.setText("Right Mouse pressed");
//msg.exec();

ViewerWidget* viewerWid = qobject_cast&amp;lt;ViewerWidget*&amp;gt;(parent());
viewerWid-&amp;gt;getView()-&amp;gt;getCamera()-&amp;gt;setViewMatrix(::osg::Matrix::translate(1000.5,
0.0, 0.0));
}
else if(e-&amp;gt;button()==Qt::MiddleButton)
{
QMessageBox msg;
msg.setText("Middle Mouse pressed");
msg.exec(&lt;/pre&gt;</description>
    <dc:creator>Sujan Dasmahapatra</dc:creator>
    <dc:date>2013-05-09T02:09:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79869">
    <title>OpenCL context creation</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79869</link>
    <description>&lt;pre&gt;Hi forum,

I believe that there are similar threads almost about this issue, but they did not answer the problem i am having now. I have been the going through the source of osgCuda and took the hint from it about context creation. I created a separate class that handles all the OpenCL context creation from osg as follows:


Code:

  osgOpenCLContext::osgOpenCLContext(): m_clContext(NULL),
 m_clPlatform(NULL),
 m_clDevice(NULL),
 m_clCommandQueue(NULL)
   {

   }

   osgOpenCLContext::~osgOpenCLContext()
   {
      if(m_clCommandQueue) clReleaseCommandQueue(m_clCommandQueue);
      if(m_clContext) clReleaseContext(m_clContext);
   }


   bool osgOpenCLContext::setupOsgOpenCLAndViewer(osgViewer::ViewerBase &amp;amp;viewer,
  int ctxID /*= -1 */)
   {
      // You must use single threaded version since osgCompute currently
      // does only support single threaded applications. 
      viewer.setThreadingModel( osgViewer::ViewerBase::SingleThreaded );
      
      // Does create a single OpenGL co&lt;/pre&gt;</description>
    <dc:creator>Sajjadul Islam</dc:creator>
    <dc:date>2013-05-09T01:14:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79868">
    <title>OcclusionQueryNode and Depth Splitting</title>
    <link>http://comments.gmane.org/gmane.comp.graphics.openscenegraph.user/79868</link>
    <description>&lt;pre&gt;Hi all,

I am facing a problem when trying to use the occlusion query node while implementing Z splitting for rendering large scenes.

I know osg has z splitting but I had to implement by my self since I have a separated frustum and projection system (projection matrices are placed within osg camera).

I am currently trying this:

1) I made a "pausable" occlusion query node that can be "paused" and its current "passed" state reamains unchanged.

2) I render the whole scene using a very large frustum (represeting the sum of all partitions, i.e the original large frustum).

3) I pause all OQN by using a visitor.

4) Render the scene using the partitions and the "pre-set" occlusion state that was paused while rendering the partitions.

It is not working not even for a single object.. it blinks non-stop...

Does anyone has any suggestion? 

Does Openscenegraph currently supports Z-Splitting along with OQNodes?

Thanks!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php&lt;/pre&gt;</description>
    <dc:creator>Pablo Carneiro Elias</dc:creator>
    <dc:date>2013-05-08T21:21:24</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.graphics.openscenegraph.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.graphics.openscenegraph.user</link>
  </textinput>
</rdf:RDF>
