Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Robert Osfield
: [osg-users] osgVolume ready for testing Ho Guillaume, On Mon, Aug 17, 2009 at 4:58 PM, Guillaume Poirierguillaume.poir...@nrc.ca wrote: Sorry for the simple question... I am trying to load a list of images using the --images flag. Looking at the osgvolume.cpp code in 2.8.2, I don't see how

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Poirier, Guillaume
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: August-18-09 6:12 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgVolume ready for testing Hi Guillaume, I'm sorry but your explanation doesn't mean anything to me, I just don't understand the problem you have

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Robert Osfield
Hi Guiillaume, On Tue, Aug 18, 2009 at 2:52 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote: My question is: If I have 1024 slices as 1024 png image files, how do I load them in osgvolume ? Sorry this is trivial... osgconv --image *.png is how I'd do it... Also I noticed a typo

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Poirier, Guillaume
-users] osgVolume ready for testing Hi Guiillaume, On Tue, Aug 18, 2009 at 2:52 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote: My question is: If I have 1024 slices as 1024 png image files, how do I load them in osgvolume ? Sorry this is trivial... osgconv --image *.png is how I'd

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Robert Osfield
On Tue, Aug 18, 2009 at 3:40 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote: Thanks. The typos are on lines 687, 689, 695, and 930. And which version of the OSG are you talking about??? These line numbers don't make sense for the svn/trunk version. The best way to point to an

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Poirier, Guillaume
-18-09 10:53 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgVolume ready for testing On Tue, Aug 18, 2009 at 3:40 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote: Thanks. The typos are on lines 687, 689, 695, and 930. And which version of the OSG are you talking about

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Robert Osfield
] osgVolume ready for testing On Tue, Aug 18, 2009 at 3:40 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote: Thanks. The typos are on lines 687, 689, 695, and 930. And which version of the OSG are you talking about???  These line numbers don't make sense for the svn/trunk version

Re: [osg-users] osgVolume ready for testing

2009-08-18 Thread Poirier, Guillaume
To: OpenSceneGraph Users Subject: Re: [osg-users] osgVolume ready for testing Hi Guillaume, Just to be clear, it looks to me that the typo was LUMINANACE (an extra A crept in) which should be LUMINANCE. Robert. On Tue, Aug 18, 2009 at 4:01 PM, Poirier, Guillaumeguillaume.poir...@nrc-cnrc.gc.ca wrote

Re: [osg-users] osgVolume ready for testing

2009-08-17 Thread Guillaume Poirier
Hi, Sorry for the simple question... I am trying to load a list of images using the --images flag. Looking at the osgvolume.cpp code in 2.8.2, I don't see how it can detect *.png like you mentioned, or detect the list of slices from the filenames. Am I right on this ? Thank you! Cheers,

Re: [osg-users] osgVolume ready for testing

2009-08-17 Thread Robert Osfield
Ho Guillaume, On Mon, Aug 17, 2009 at 4:58 PM, Guillaume Poirierguillaume.poir...@nrc.ca wrote: Sorry for the simple question... I am trying to load a list of images using the --images flag. Looking at the osgvolume.cpp code in 2.8.2, I don't see how it can detect *.png like you mentioned,

Re: [osg-users] osgVolume ready for testing

2009-08-17 Thread Poirier, Guillaume
-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: August-17-09 1:04 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] osgVolume ready for testing Ho Guillaume, On Mon, Aug 17, 2009 at 4:58 PM, Guillaume Poirierguillaume.poir...@nrc.ca wrote: Sorry

Re: [osg-users] osgVolume ready for testing

2009-01-30 Thread Robert Osfield
Hi Paul, On Fri, Jan 30, 2009 at 12:55 PM, Paul Melis p...@science.uva.nl wrote: BTW, is there currently support in osgVolume for interactively manipulating a transfer function? I haven't tried it yet, but it should work automatically. osg::TransferFunction1D holds an osg::Image that it should

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Paul Melis
Robert Osfield wrote: Hi All, Over the last ten days I've been pulling together parts of my work on volume rendering to create a usable osgVolume NodeKit. The osgVolume NodeKit is still in it's infancy, but should be have enough features for end users to start trying it out. This rev of

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Robert Osfield
Hi Paul, On Wed, Jan 28, 2009 at 3:07 PM, Paul Melis p...@science.uva.nl wrote: Robert Osfield wrote: The osgvolume example supports reading a file containing a transfer function. Am I correct in assuming this file must have the format scalar value r g b a where the color values are in the

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Paul Melis
Hi Robert, Robert Osfield wrote: On Wed, Jan 28, 2009 at 3:07 PM, Paul Melis p...@science.uva.nl wrote: Robert Osfield wrote: The osgvolume example supports reading a file containing a transfer function. Am I correct in assuming this file must have the format scalar value r g b a where the

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Robert Osfield
Hi Paul, On Wed, Jan 28, 2009 at 3:31 PM, Paul Melis p...@science.uva.nl wrote: Ok, good to hear. The 8-bit files I tried seem to work fine, but there seems to be some problem with 16-bit png files that don't get read in correctly. I'll see if I can dig deeper in the near future. Are building

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Paul Melis
Robert Osfield wrote: Hi Paul, On Wed, Jan 28, 2009 at 3:31 PM, Paul Melis p...@science.uva.nl wrote: Ok, good to hear. The 8-bit files I tried seem to work fine, but there seems to be some problem with 16-bit png files that don't get read in correctly. I'll see if I can dig deeper in the

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Robert Osfield
Hi Paul, On Wed, Jan 28, 2009 at 3:53 PM, Paul Melis p...@science.uva.nl wrote: Yes, the input actually is a set of DICOM files but OSG fails on reading these as there is no DICOMDIR file and creating that one with a tool in DCMTK also fails. So I converted them to PNG files. I haven't come

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Gerrick Bivins
Hi guys, Perhaps you mean the dicom data dictionary? http://www.mevis-research.de/~meyer/dcmtk/docs_352/dcmdata/datadict.txt On Mac I had to point to the installed dictionary file: export DCMDICTPATH=/opt/local/lib/dicom.dic Otherwise I'd receive an error like this: Error in reading dicom file

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Paul Melis
Gerrick Bivins wrote: Perhaps you mean the dicom data dictionary? http://www.mevis-research.de/~meyer/dcmtk/docs_352/dcmdata/datadict.txt Yes, you're right. I remembered having to set the DCMDICTPATH before the files even loaded, but I think there was also another problem. Will have to

Re: [osg-users] osgVolume ready for testing

2009-01-28 Thread Robert Osfield
Hi Paul et. al, On Wed, Jan 28, 2009 at 3:49 PM, Robert Osfield robert.osfi...@gmail.com wrote: I recall that perhaps I didn't wire up the old command line options to the new property switch... I will go and investigate once I've completed work on other issues I'm trying to resolve. To

Re: [osg-users] osgVolume ready for testing

2009-01-21 Thread Paul Melis
Hi Robert, Robert Osfield wrote: Over the last ten days I've been pulling together parts of my work on volume rendering to create a usable osgVolume NodeKit. The osgVolume NodeKit is still in it's infancy, but should be have enough features for end users to start trying it out. This rev of

Re: [osg-users] osgVolume ready for testing

2009-01-21 Thread Jean-Sébastien Guay
Hi Robert, Congrats on getting all this work on osgVolume done! To test out osgVolume you'll need to grab OpenSceneGraph and OpenSceneGraph-Data (for shaders) from svn/trunk. I'll be tagging 2.7.9 very soon, so it'll be in this, and obviously the up coming stable 2.8 release, but I've very

Re: [osg-users] osgVolume ready for testing

2009-01-21 Thread Schmidt, Richard
Hi Robert, Sounds great. I have never done any volume rendering stuff - but you mentioned gpu raytraying. Is related to http://www.gamedev.net/community/forums/topic.asp?topic_id=516446 Can one implement a sparse voxel octree using osgVolume? Richard

Re: [osg-users] osgVolume ready for testing

2009-01-21 Thread Robert Osfield
Hi JS, On Wed, Jan 21, 2009 at 3:49 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Congrats on getting all this work on osgVolume done! Thanks. I have to admit it''s not quite done yet though, enough for 2.8, but still plenty fun left in developing it further :-) Even though

Re: [osg-users] osgVolume ready for testing

2009-01-21 Thread Robert Osfield
HI Richard, On Wed, Jan 21, 2009 at 4:02 PM, Schmidt, Richard richard.schm...@eads.com wrote: Is related to http://www.gamedev.net/community/forums/topic.asp?topic_id=516446 No it's not related. Can one implement a sparse voxel octree using osgVolume? You might want to use a custom Node