[osg-users] Problem with animations on VR platform.

2009-02-20 Thread David Michéa
Hi,

I have posted recently a topic about problem with ImageSequence that Robert 
solved very quickly. Indeed, it works on my laptop now.

But I also work on a virtual reality workbench, I use OSG with VRJuggler to 
make VR vizualisation program. I just make prototype on my laptop.

VRJ don't use the osgViewer, it uses sceneView and its update method.

Animations (animationPath  Volume ImageSequence) don't work with VRJuggler, 
but the other NodeCallbacks work fine.

Has someone an idea of what I could do to make animations work properly 
(something to trigger explicitly maybe ??)

Thanks,
David.

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





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


Re: [osg-users] slight problem of image distortion with osgVolume

2009-02-13 Thread David Michéa
The resolution is 34x34x10.

I forgot to mention that i have scaled this volume with :

osg::Matrix::scale(160.,160.,32.)

to fit the study area.



Paul Melis wrote:
 David Michéa wrote:
 
  Hi,
  
  for information : on the screen captures attached, you can see that the 
  regular hexahedric volumes I have generated with my data are slightly 
  distorted following the point of view. 
  
  
 Just curious, what resolution is your volume data?
 
 Paul
 ___
 osg-users mailing list
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
  --
 Post generated by Mail2Forum


--
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=6755#6755





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


Re: [osg-users] problem with imageSequence in example osgvolume

2009-02-11 Thread David Michéa
Hi Robert,

Excellent ! the problem is fixed on my side.

Thank you very much.

Best regards,
David.


Robert Osfield wrote:
 Hi David,
 
 On Tue, Feb 10, 2009 at 2:47 PM, Robert Osfield
  wrote:
 
  I have to head out right now, but by on my return I'll fix
  osgVolume::VolumeTile so that it passes on updates to the ImageLayer
  which contains the ImageSequence.  I'll will fix this prior to the
  OSG-2.8.0 release.
  
 
 I've now fixed the update issue in osgVolume, I've merged the fixes
 with OSG-2.8 branch and svn/trunk.
 
 Could you please update and double check that my changes solve the
 problem at your end as well.
 
 Robert.
 ___
 osg-users mailing list
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
  --
 Post generated by Mail2Forum


--
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=6542#6542





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


Re: [osg-users] problem with imageSequence in example osgvolume

2009-02-10 Thread David Michéa
Same behavior if I add the image filenames via the commandline : only the first 
image is displayed. (images written on disk in .dds format)

note: the image has not the same look when I load it from the .dds file in 
which I had written rather than creating it directly.

David.



Robert Osfield wrote:
 Hi David,
 
 I'm afraid I have testing the ImageSequence/osgvolume code paths
 recently.  What happens if you just add the image filenames via the
 commandline?
 
 Robert.
 
 On Mon, Feb 9, 2009 at 3:12 PM, David MichÃ(c)a  wrote:
 
  Hi,
  
  I would like to use the new features osgvolume to visualize scalar 4D data 
  (3D+time)
  
  I started by using the example osgvolume provided with v2.8.0, I have just 
  added code to read my data:
  
  ...
  
  while (...)
  {   osg::ref_ptrosg::Image my_3d_image = new osg::Image ();
  ...
  / / Read data from disk and fill my_3d_image
  ...
  images.push_back (my_3d_image.get());
  }
  
  ...
  
  Unfortunately, although the sequence image is actually created: Creating 
  sequence of 10 volumes. I just can visualize the first image on screen, 
  not the sequence.
  
  Do I forget something? I'm fairly new, so please excuse my question if it 
  is stupid.
  
  Thx a lot.
  
  --
  Read this topic online here:
  http://osgforum.tevs.eu/viewtopic.php?p=6298#6298
  
  
  
  
  
  ___
  osg-users mailing list
  
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  
  
 ___
 osg-users mailing list
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
  --
 Post generated by Mail2Forum


--
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=6398#6398





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


[osg-users] problem with imageSequence in example osgvolume

2009-02-09 Thread David Michéa
Hi,

I would like to use the new features osgvolume to visualize scalar 4D data 
(3D+time)

I started by using the example osgvolume provided with v2.8.0, I have just 
added code to read my data:

...

while (...)
{   osg::ref_ptrosg::Image my_3d_image = new osg::Image ();
...
/ / Read data from disk and fill my_3d_image
...
images.push_back (my_3d_image.get());
}

...

Unfortunately, although the sequence image is actually created: Creating 
sequence of 10 volumes. I just can visualize the first image on screen, not 
the sequence.

Do I forget something? I'm fairly new, so please excuse my question if it is 
stupid.

Thx a lot.

--
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=6298#6298





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