Re: [osg-users] osgVTK

2010-07-10 Thread Wang Rui
Hi, ?

Have a look at the osg-users archive:
http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-November/018541.html

Download the attachment and rename it to osgVTK.zip. I'm not sure if it can
work well with the latest OSG version.

Wang Rui


在 2010年7月10日 下午11:33,FlySky 写道:

>
> Hello,
> I'm recently doing some work about VTK. I know there is a project called
> osgVTK,maybe long time ago. I would like to rewrite or update this project.
> Do you have the project's source code? Can you send this project to me?
>
> Thank you!
> Look forward to your reply!
> Good luck!
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osgVTK

2010-07-10 Thread FlySky
 
Hello,
I'm recently doing some work about VTK. I know there is a project called 
osgVTK,maybe long time ago. I would like to rewrite or update this project. Do 
you have the project's source code? Can you send this project to me?
 
Thank you! 
Look forward to your reply! 
Good luck!
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] synchronizing multi rendering?

2010-07-10 Thread Akilan Thangamani
Hi,

I have multi display set up in a way one graphics card to each monitor.
I created one context to each screen and framing one texture to each and 
rendering. The rendering I do in a loop(1..NSCREEN). Display is happening 
perfectly as stream of video in parallel. After some time, the displays are not 
getting synchronized with each other. Means that one is going bit ahead of 
another one. Even though I set my composite viewer with single threaded, I dnt 
understand why this happens so? I m not sure what needs to be done.

Akilan

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] NewBie Question Rotation question

2010-07-10 Thread Alberto Luaces
"Rakesh Parmar" writes:

> Hi,
>
> i am trying to do animation about own axis of object
> itself but i am not getting correctly. 
>
>
> Code:
>
>
> virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
>   { 
>   if (nv->getVisitorType() == osg::NodeVisitor::UPDATE_VISITOR)
>   {
>   osg::MatrixTransform* MT = 
> dynamic_cast(node);
>   if (MT) {
>   osg::Vec3 result(0,1,0);
>   osg::Matrix Rot;
>   Rot.makeRotate(1,result);
>   MT->setMatrix(Rot*MT->getMatrix());
>   }
>   }
>   ///traverse(node,nv);
>   }
> ]

Hi Rakesh,

at a glance I can't see anything wrong. What is happening when you run
your program that is different that you were expecting? Can you test
that the update callback is in fact being visited printing a message or
with the debugger?

-- 
Alberto

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Problem: All my OSG objetct are flipped

2010-07-10 Thread Robert Osfield
Hi Mannuel,

I don't know how you can expect others to help you fix the problem in
your app as you don't provide any information about how you've set up
scene graph.  Do you require us to guess??  Please be more specific.

Robert.

On Sat, Jul 10, 2010 at 12:13 PM, Manuel Garea  wrote:
> Hi, I have a very big problem with my OSG scene. all the objects I draw are 
> flipped, it's like OSG was a mirror. In the image below you can see the 
> textures I used and the drawed objetcs. Everything is flipped!!!
>
> Do someone know what is the problem??? Is it a problem with my camera???
>
> Thank you very much!!!
>
> Cheers,
> Manuel
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=29890#29890
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgVolume volume rendering ?

2010-07-10 Thread Robert Osfield
Hi Manu,

It sounds like you aren't using osgVolume correctly.  First up I would
recommend using 2.9.2 or svn/trunk as this will contain the latests
update to osgVolume.

Second up you talk about DCMTK build problems, you'll need to be more
precise that this for others to help.  In general I would say the
DCMTK under Windows can be a bit tricky, have a look through the
archives to see how others tackled it.  I'm under Linux so don't see
problems.

Using dicom files is currently the easiest route to loading a full 3D
volume, but building the 3D osg::Image yourself it's difficult.  With
the osgvolume example you'll just have to run with --images filenames
to get it to read a series of 2D images and pack them into an 3D
osg::Image for rendering.

Robert.

On Fri, Jul 9, 2010 at 10:47 AM, Emmanuel Roche
 wrote:
> Hi everyone,
>
> I'm just starting to play with the osgVolume sample and I have a very
> beginner question about it:
>
> -> Can you actually have any kind of volumetric rendering with this ???
>
> I perform many tests with various arguments,  but each time, all I get is a
> simple 2D image sequence of all the provided 2D images: so it's basically
> playinig just like a movie... Why would we have complex Raytracing  shader
> techniques just to render an image sequence ? I must be missing something
> here.
>
>
> Also, note that I actually managed to get a 3D rendering specifying zSize,
> ySize and xSize, but again the 3D result  is merly the projection of a
> single 2D image (an the image is dynamically changing...) I know the
> osgVolume still needs more development, but is that really all I can expect
> from it for the moment ??
>
> Also, I could not use DICOM images directly: I got errors from the dcmtk
> library, so I first used image magick to convert my dcm images to png
> images, could it be I lost "usefull 3D volumetric rendering info" with that
> step ?
>
> And last but not least, those tests were performed on Windows, with OSG
> 2.9.6. Any known limitation due to this ?
>
>
> In fact, if anyone as any screenshot I would be interested ! :-)
>
> Cheers,
> Manu.
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Dem file with OSG

2010-07-10 Thread Robert Osfield
Hi Elmar,

On Fri, Jul 9, 2010 at 6:53 AM, Elmar Alizade  wrote:
> I want to laod DEM file as terrain to my program. How can I do it? Generally 
> does OSG support DEM files?

There are a range of ways, from loading the DEM using the GDAL plugin
(you'll need to GDAL installed along with dev headers) or then set up
the osgTerrain::TerrainTile yourself, or use a tool like
VirtualPLanetBuilder to build a database for you, through to using the
osgEarth 3rd party NodeKit for loading your DEM's.

Which of this routes is appropriate for you I cannot say as you don't
provide enough information about what scale of data and what you are
trying to achieve.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] LOD Culling issue

2010-07-10 Thread Robert Osfield
Hi Vincent,

If a PagedLOD is not being visited then it'll likely be because it's
being view frustum culled or culled by an LOD above it.  Not setting
up the bounding volume of the PagedLOD correctly would be a likely
candidate for this happening inappropriately.

Robert.

On Fri, Jul 9, 2010 at 1:50 AM, Vincent Bourdier
 wrote:
> Hi all,
>
> Still having issues with PagedLOD... >_<
>
> My scene is composed by PagedLOD only at start-up. All is good, the files
> are loaded and the geometry are displayed.
>
> But when, before launching the render loop, I add a little geometry (not a
> pagedLOD, just a simple little sphere) in my scene, PagedLOD do not Load.
> The database pager request List is empty.
> I need to move the camera very close to a LOD (knowing it position without
> seeing it) to launch the PagedLOD loading.
>
> It seems that the PagedLOD nodes are not visited byt the CullVisitor, so
> they can't request the load of their children.
>
> Any idea would be very appreciated because after 8h on this issue, I still
> have no idea of the problem...
>
> Thanks for your help.
>
> Regards,
>   Vincent.
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] floating point exeption in VPB...

2010-07-10 Thread Robert Osfield
Hi Shayne,

I develop under 64bit system and haven't encountered any floating
point exceptions issues with 64bit build of VPB.

Could you please run osgdem in a debugger and see what happens.  Could
you also update to svn/trunk for OSG and VPB to see if the problem
persists.

Robert.

On Thu, Jul 8, 2010 at 11:01 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC  wrote:
> All,
>
>
>
> I’m using VPB 0.9.10 along with OSG 2.8.2 on a system that is using 64-bit
> Linux (Fadora core 10) i386. Both packages were built from source.
>
>
>
> No matter what database I try to build, I get a floating point exception
> when running osgdem. I know the DTED and imagery are good since I’ve built
> VPB databases with this content on a windows 32-bit system.
>
>
>
> Here is a sample command that fails: osgdem –TERRAIN –geocentric –PagedLOD
> –whole-globe –t wholeearthtexture.tif –l 10 –o output.ive
>
>
>
> My question is, has anyone else seen problems with VPB in a similar
> environment. Are there some 64-bit issues going on here? I’m at a loss as to
> why I’m getting this floating point exception. If I use any other content
> (i.e. dted or imagery), I get the same results.
>
>
>
> Any help or input would be most appreciated…
>
> -Shayne
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] ABSOLUTE_RF problem

2010-07-10 Thread Robert Osfield
HI Guillaume,

2010/7/8 Guillaume Tazé :
> Hello, i'm trying to understand how ABSOLUTE_RF works, and i've made a small
> example. The problem is that it should works but it actually doesn't...

ABSOLTE_RF means that the when the cull traversal encounters a
Transform node it ignores the inherited modelview matrix so that the
local transform matrix on the Transform node becomes the new modelview
matrix.  This means that the Transform nodes subgraph is placed in new
coordinate frame rather than that of it's parents.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] NewBie Question Rotation question

2010-07-10 Thread Rakesh Parmar
Hi,

i am trying to do animation about own axis of object
itself but i am not getting correctly. 


Code:


virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
  { 
  if (nv->getVisitorType() == osg::NodeVisitor::UPDATE_VISITOR)
  {
  osg::MatrixTransform* MT = 
dynamic_cast(node);
  if (MT) {
osg::Vec3 result(0,1,0);
osg::Matrix Rot;
Rot.makeRotate(1,result);
MT->setMatrix(Rot*MT->getMatrix());
  }
  }
  ///traverse(node,nv);
  }
]

Please help me i am just learning OSG

Thank you!

Cheers,
Rakesh



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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org