Re: [osg-users] osgvolume multipass (hybrid geometric/volumic) bug...?

2017-03-06 Thread Robert Osfield
Hi Julian, I have just had a bash at recreating issues and have found a volume model that works in close enough dimensional space to the cessna.osg that I start seeing problems with the rendering of the volume occluding the cessna at times when it shouldn't and at certain angles the parts of the c

Re: [osg-users] osgvolume multipass (hybrid geometric/volumic) bug...?

2017-03-05 Thread Julien Valentin
I...have achieve something... I removed line 394 in VolumeScene.cpp Code: viewData->_backdropSubgraph->accept(*cv); and it works for me but I can't tell if it's good A few doc on the underlying osgvolume design would be cool... mp3butcher wrote: > Hi Robert et al > > It's been a while

[osg-users] osgvolume multipass (hybrid geometric/volumic) bug...?

2017-03-05 Thread Julien Valentin
Hi Robert et al It's been a while I use a customized osgVolume::MultipassTechnique and experienced a bug I think was coming from my code but in fact it affect osgvolume application too. It seams there a bug in texgen (or somerhing like that) when writing back Pre rendered scene FB to the main

Re: [osg-users] osgVolume intro

2017-02-09 Thread Julien Valentin
...And what's your question? You should try playing with options of the osgvolume example . Further it's good to know that the ive format is well fitted to store custom Image3D.. Cheers Trajce Nikolov NICK wrote: > Hi Community, > > I am entering osgVolume for first time. Someone with some hint

[osg-users] osgVolume intro

2017-02-09 Thread Trajce Nikolov NICK
Hi Community, I am entering osgVolume for first time. Someone with some hints for this core feature? Anything is welcome And thanks a bunch as always! Cheers, Nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org h

Re: [osg-users] osgVolume::MultipassTechnique use

2016-04-29 Thread Alex Taylor
Robert, The issue was I was setting a tileLocator, but I wasn't setting a layerLocator. That was problematic in the following block of code: Locator* layerLocator = _volumeTile->getLayer()->getLocator(); if (tileLocator==layerLocator) { tileData->t

Re: [osg-users] osgVolume::MultipassTechnique use

2016-04-28 Thread Robert Osfield
Hi Alex, I haven't heard of the invert throwing a seg fault before. The stack trace doesn't have any info about line numbers so we can't say what specifically was amiss. The only code in MultipassTechnique.cpp that calls Matrixd::invert() is: Locator* tileLocator = _volumeTile->g

Re: [osg-users] osgVolume::MultipassTechnique use

2016-04-28 Thread Alex Taylor
Also, If it helps, I went and looked at the MultipassTechnique::cull method for the use of invert, there is only one instance: if (vs) { MultipassTileData* tileData = dynamic_cast(vs->getTileData(cv, getVolumeTile())); if (tileData) {

Re: [osg-users] osgVolume::MultipassTechnique use

2016-04-28 Thread Alex Taylor
Robert, Here is a better looking stack trace on Linux. (I believe this stack trace has gdb debug symbols enabled, it was a bit tricky to create and integrate a build with DEBUG symbols in my environment here, apologies if I got it wrong). My guess is that the Matrixd object being inverted after t

Re: [osg-users] osgVolume::MultipassTechnique use

2016-04-27 Thread Robert Osfield
Hi Alex, A stack trace with debugging info would be far more useful and should be able to pinpoint the cause of the crash, or at least give some clues of where to look. Also, does the osgvolume example crash when you use the MultiPassTechnique? Robert. On 26 April 2016 at 21:35, Alex Taylor wr

[osg-users] osgVolume::MultipassTechnique use

2016-04-26 Thread Alex Taylor
Hey all, I'm running into a segmentation violation when I attempt to use osgVolume::MultipassTechnique more or less as a drop in replacement for RayTracedTechnique using OSG 3.4. My use of RayTracedTechnique works and renders fine. Here is an partial code listing demonstrating my use of Multipass

Re: [osg-users] osgvolume: Swap technique in a VolumeScene fails

2015-06-09 Thread Julien Valentin
Thanks for your answer I have already change my original post with an attached example but this update doesnt appear in the mailing list So i repost it for the mailing list robertosfield wrote: > Hi Julien, > > I have done a quick code review of MultipassTechnique and the > computeRenderingMode

Re: [osg-users] osgvolume: Swap technique in a VolumeScene fails

2015-06-09 Thread Julien Valentin
Thanks for your answer I have already change my original post with an attached example but this update doesnt appear in the mailing list So i repost it for the mailing list robertosfield wrote: > Hi Julien, > > I have done a quick code review of MultipassTechnique and the > computeRenderingMode

Re: [osg-users] osgvolume: Swap technique in a VolumeScene fails

2015-06-09 Thread Robert Osfield
Hi Julien, I have done a quick code review of MultipassTechnique and the computeRenderingMode() could easily be changed to check for whether the _volumeTile is set to avoid this specific crash, but I suspect the root cause of the problem is elsewhere - a technique should have a valid _volumeTile w

[osg-users] osgvolume: Swap technique in a VolumeScene fails

2015-06-08 Thread Julien Valentin
Hi, First, excuse the lack of details of the further, i haven't been able to debug enough to understand where the bug is... So, I tried a simple scenario with the osgvolume::MultipassTechnique: I initialize the volume rendering with MultipassTechnique (as in the example) And at runtime I change

Re: [osg-users] OsgVolume. Rendering of multiple intersected volumes

2014-09-22 Thread Jesús Zarzoso
Hello Robert. Thanks for your quick reply! We´ll try to solve this problem ourselves then. Regards. Jesús. 2014-09-22 11:37 GMT+02:00 Robert Osfield : > HI Jesus, > > osgVolume doesn't yet support multiple over-lapping volumes. > > To handle multiple intersecting volumes one will have to have

Re: [osg-users] OsgVolume. Rendering of multiple intersected volumes

2014-09-22 Thread Robert Osfield
HI Jesus, osgVolume doesn't yet support multiple over-lapping volumes. To handle multiple intersecting volumes one will have to have the osgVolume rendering back end and shaders handle both volumes at the same time where the volumes overlap and separately handle the areas where only one volume ha

[osg-users] osgVolume intersected by geode problem about sequence of intersection points using osgUtil::PlaneIntersector

2013-10-17 Thread tianyun . su
Hi, I am trying to get the intersection points between an intersection plane and a terrain using osgUtil::PlaneIntersector。 The code is listed as following: osg::Plane planeLeft( osg::Vec3(1,0,0), osg::Vec3(0+1,0,0) );//define an intersetion plane osg::Polytope polytopeLeft;//define the rang

Re: [osg-users] osgVolume intersected by geode

2013-10-17 Thread Robert Osfield
Hi Jorden, This behaviour is an artefact of the ray tracing implementation used in osgVolume::RayTracedTechnique - the rays are generated from the back face of the volume and if these fragments are culled by the z test nothing appears, even if the complete ray would be in front of the z value in t

Re: [osg-users] osgVolume should never use a predefined border color

2013-03-25 Thread Robert Osfield
Hi Robert, CLAMP_TO_BORDER is used so that if the shader lookup goes beyond the bounds of the texture it doesn't get inappropriate data i.e back with an alpha of zero at least will be culled by most shaders so will allow the volume data to stand on it's own. I can also see value in CLAMP_TO_EDGE

[osg-users] osgVolume should never use a predefined border color

2013-03-25 Thread Robert Spearman
In openscenegraph-3.0.0/OpenSceneGraph/src/osgVolume/RayTracedTechnique.cpp the 3D texture is being clamped to a border color of (0,0,0,0). It seems to me this should be CLAMP_TO_EDGE rather than CLAMP_TO_BORDER, since using a border color not in the actual texture is completely arbitrary. I'm

Re: [osg-users] osgVolume::SwitchProperty working?

2012-08-23 Thread Robert Osfield
Hi Clement, On 27 July 2012 15:40, wrote: >I tried osgVolume::SwitchProperty on testing code, but how to do to switch > property during runtime? I added keyboard event. When 1 is pressed, it will > call sp->setActiveProperty(1). I cannot see any change. Anyone know how to > do? Thank

[osg-users] osgVolume::SwitchProperty working?

2012-07-27 Thread Clement.Chu
Hi, I tried osgVolume::SwitchProperty on testing code, but how to do to switch property during runtime? I added keyboard event. When 1 is pressed, it will call sp->setActiveProperty(1). I cannot see any change. Anyone know how to do? Thanks. Regards, Clement __

Re: [osg-users] osgvolume brightness and sample density

2012-05-14 Thread Robert Osfield
Hi Clement, On 14 May 2012 17:47, wrote: >   I am not new in programming but I am new in doing 3D work.  I tried to > generate a hugh colour map as 65535 colours and assign into > osg::TransferFunction1D::ColorMap, but the colour display is not much better > than I don't create colour map.  I

Re: [osg-users] osgvolume brightness and sample density

2012-05-14 Thread Clement.Chu
rg] On Behalf Of Robert Osfield > [robert.osfi...@gmail.com] > Sent: Monday, 14 May 2012 9:07 PM > To: OpenSceneGraph Users > Subject: Re: [osg-users] osgvolume brightness and sample density > > Hi Clement, > > On 8 May 2012 08:44, wrote: >> Thanks for your help. The col

Re: [osg-users] osgvolume brightness and sample density

2012-05-14 Thread Robert Osfield
o you know where I can find the > code?  Thanks again. > > > Regards, > Clement > > > > > > > From: osg-users-boun...@lists.openscenegraph.org > [osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield > [robert.osfi...

Re: [osg-users] osgvolume brightness and sample density

2012-05-14 Thread Clement.Chu
2 9:07 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume brightness and sample density Hi Clement, On 8 May 2012 08:44, wrote: > Thanks for your help. The colour map in the osgvolume.cpp example contains > specific colour. I would like to implement full range of colours as

Re: [osg-users] osgvolume brightness and sample density

2012-05-14 Thread Robert Osfield
Hi Clement, On 8 May 2012 08:44, wrote: >  Thanks for your help.  The colour map in the osgvolume.cpp example contains > specific colour.  I would like to implement full range of colours as possible > supported by osg.  Any idea what I can do to create a colour map of full > range colours.  T

Re: [osg-users] osgvolume brightness and sample density

2012-05-08 Thread Clement.Chu
From: osg-users-boun...@lists.openscenegraph.org [osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield [robert.osfi...@gmail.com] Sent: Saturday, 5 May 2012 5:01 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume brightness and sample

Re: [osg-users] osgvolume brightness and sample density

2012-05-04 Thread Robert Osfield
HI Clement, On 4 May 2012 19:30, wrote: >   Thanks again for your reply.  I am a bit confused on using color map.  I > would like my program to support at least 8 bit color, so how should I create > the color map?  Where can I find more information?  osgvolume.cpp does not > have much details

Re: [osg-users] osgvolume brightness and sample density

2012-05-04 Thread Clement.Chu
...@gmail.com] Sent: Friday, 4 May 2012 7:09 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume brightness and sample density Hi Clement, On 4 May 2012 08:46, wrote: > Hi Robert, > >Sorry, I just saw your reply. Is TransferFunctionProperty used for > define

Re: [osg-users] osgvolume brightness and sample density

2012-05-04 Thread Robert Osfield
Hi Clement, On 4 May 2012 08:46, wrote: > Hi Robert, > >    Sorry, I just saw your reply.  Is TransferFunctionProperty used for > defined colour map? > >        osg::ref_ptr transferFunction = new > osg::TransferFunction1D; >        transferFunction->setColor(0.0, osg::Vec4(1.0,0.0,0.0,0.0));

Re: [osg-users] osgvolume brightness and sample density

2012-05-04 Thread Clement.Chu
_ From: osg-users-boun...@lists.openscenegraph.org [osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield [robert.osfi...@gmail.com] Sent: Wednesday, 25 April 2012 2:30 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume brightness and sample densit

Re: [osg-users] osgVolume not working with latest ATI Radeon drivers on Windows

2012-04-25 Thread Poirier, Guillaume
18-12 4:23 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] osgVolume not working with latest ATI Radeon drivers on Windows Hello OSG users, osgvolume does not work for me with an ati card and found the following thread in the archives which sounds like the same issue but

Re: [osg-users] osgvolume brightness and sample density

2012-04-24 Thread Robert Osfield
Hi Clement, You simply need to attach a TransferFunctionProperty to the Layer assigned VolumeTile and set up this to map floating point intensity value to the colour/alpha value required. The osgvolume has example of it's setup. Robert. On 12 April 2012 03:52, wrote: > Hi, > >  I am using osgV

Re: [osg-users] osgVolume not working with latest ATI Radeon drivers on Windows

2012-04-18 Thread Poirier, Guillaume
Hello OSG users, osgvolume does not work for me with an ati card and found the following thread in the archives which sounds like the same issue but unfortunately without a solution: http://forum.openscenegraph.org/viewtopic.php?t=8913&start=0&postdays=0&postorder=asc&highli

[osg-users] osgvolume brightness and sample density

2012-04-11 Thread Clement.Chu
Hi, I am using osgVolume to display my CT data. If I set the value of SampleDensityProperty lower, I can get more details, but the brightness will become darker or dull. Does any method that allow to use smaller value of SampleDensityProperty and keep image colour brighter. I tried to use

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-05 Thread Robert Osfield
Hi Clement, On 5 March 2012 03:04, wrote: >    My program was using coin3D for volume rendering before.  Now it is > replaced with osg, but I still want the existing machine is able to run osg > version.  Last time you mentioned it is possible to implement a crude 3D > volume rendering based

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-04 Thread Clement.Chu
-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield [robert.osfi...@gmail.com] Sent: Friday, 2 March 2012 8:24 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgVolume RayTracedTechnique problem Hi Clement, On 2 March 2012 04:12, wrote: > The graphic details of this machine is Intel Q35 Express

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-02 Thread Robert Osfield
Hi Clement, On 2 March 2012 04:12, wrote: > The graphic details of this machine is Intel Q35 Express Chipset.  Is > osgVolume not support this chipset? I'm rather surprised that you'd even attempt volume rendering on such in capble hardware. Volume rendering is one of most challenging tasks f

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-02 Thread Robert Osfield
Hi Clement, On 2 March 2012 00:47, wrote: >  I have updated the driver on one of machines.  The 3D texture message is > gone, but I got other message. > > Warning: Could not find plugin to read objects from file > "shaders/volume.vert". > Warning: Could not find plugin to read objects from fil

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Clement.Chu
[clement@csiro.au] Sent: Friday, 2 March 2012 11:47 AM To: osg-users@lists.openscenegraph.org Subject: [ExternalEmail] Re: [osg-users] osgVolume RayTracedTechnique problem Hi Robert, I have updated the driver on one of machines. The 3D texture message is gone, but I got other message

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Jean-Sébastien Guay
Hello Clement, One of the machines is using Intel E8300 Du e core 2.83 cpu with using on board graphic. Another XP machine I created by virtual machine. You're kind of setting yourself up for problems trying to get an "advanced" technique like GPU ray tracing working on onboard graphics

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Clement.Chu
rs Subject: Re: [osg-users] osgVolume RayTracedTechnique problem Hi Clement, On 1 March 2012 12:47, wrote: > I think all my windows xp machines cannot support 3D texture. Is possible > to force osg to use 2D texture on osgVolume? Thanks. osgVolume is designed around 3D texturing, b

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Clement.Chu
-users-boun...@lists.openscenegraph.org [osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield [robert.osfi...@gmail.com] Sent: Friday, 2 March 2012 2:02 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgVolume RayTracedTechnique problem Hi Clement, On 1 March 2012 12:47

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Robert Osfield
Hi Clement, On 1 March 2012 12:47, wrote: >   I think all my windows xp machines cannot support 3D texture.  Is possible > to force osg to use 2D texture on osgVolume?  Thanks. osgVolume is designed around 3D texturing, both the fixed function and shader techniques use 3D textures. It would b

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Clement.Chu
] On Behalf Of clement@csiro.au [clement@csiro.au] Sent: Thursday, 1 March 2012 11:32 PM To: osg-users@lists.openscenegraph.org Subject: [ExternalEmail] Re: [osg-users] osgVolume RayTracedTechnique problem Hi Robert, If I set to use RayTracedTechnique, the output message shows below

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Clement.Chu
Sent: Thursday, 1 March 2012 9:30 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgVolume RayTracedTechnique problem Hi Clement, Check the console output from the OSG for errors, the OSG itself doesn't create pop up for error reporting as it's a scene graph not a user interface

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Robert Osfield
ou need any information.  Thanks. > > > Regards, > Clement > > > ____________ > From: osg-users-boun...@lists.openscenegraph.org > [osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield > [robert.osfi...@gmail.com] > Sent

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Clement.Chu
:59 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgVolume RayTracedTechnique problem Hi Clement, On 29 February 2012 14:26, wrote: > My program is set to use RayTracedTechnique for display voxel. I tested > the same program on windows XP and windows 7 machines. Only window

Re: [osg-users] osgVolume RayTracedTechnique problem

2012-03-01 Thread Robert Osfield
Hi Clement, On 29 February 2012 14:26, wrote: >   My program is set to use RayTracedTechnique for display voxel.  I tested > the same program on windows XP and windows 7 machines.  Only windows 7 > machine can display the image properly.  In windows XP, it shows the cube > filled with white c

[osg-users] osgVolume RayTracedTechnique problem

2012-02-29 Thread Clement.Chu
Hi, My program is set to use RayTracedTechnique for display voxel. I tested the same program on windows XP and windows 7 machines. Only windows 7 machine can display the image properly. In windows XP, it shows the cube filled with white colour. I found out the problem is related to RayTr

Re: [osg-users] osgvolume performance

2012-02-20 Thread Robert Osfield
i...@gmail.com] > Sent: Friday, 17 February 2012 10:59 PM > To: OpenSceneGraph Users > Subject: Re: [osg-users] osgvolume performance > > Hi Clement, > > On 17 February 2012 01:53,   wrote: >>   I am using MFC to display osg volume data.  If the sample data is 30 * 30 &g

Re: [osg-users] osgvolume performance

2012-02-19 Thread Clement.Chu
PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume performance Hi Clement, On 17 February 2012 01:53, wrote: > I am using MFC to display osg volume data. If the sample data is 30 * 30 * > 20 voxel, it is quite smooth on rotating the image on viewer. If the sample > data is

Re: [osg-users] osgvolume performance

2012-02-17 Thread Robert Osfield
Hi Clement, On 17 February 2012 01:53, wrote: >   I am using MFC to display osg volume data.  If the sample data is 30 * 30 * > 20 voxel, it is quite smooth on rotating the image on viewer.  If the sample > data is 350 * 350 * 60 voxel, I can't rotate the image as smooth as before.   > If I us

[osg-users] osgvolume performance

2012-02-16 Thread Clement.Chu
Hi, I am using MFC to display osg volume data. If the sample data is 30 * 30 * 20 voxel, it is quite smooth on rotating the image on viewer. If the sample data is 350 * 350 * 60 voxel, I can't rotate the image as smooth as before. If I used higher voxel data, the rotation become very hard

Re: [osg-users] osgvolume opacity settings

2012-02-15 Thread Clement.Chu
Of Robert Osfield [robert.osfi...@gmail.com] Sent: Tuesday, 14 February 2012 11:41 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume opacity settings Hi Clement, It could be a driver issue. It could be something else going. I really can't tell. I know way too little about the sp

Re: [osg-users] osgvolume opacity settings

2012-02-14 Thread Robert Osfield
               cp->addProperty(tp.get()); > > > > Regards, > Clement > > > > From: osg-users-boun...@lists.openscenegraph.org > [osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield > [robert.osfi...@gmail.com] > Sent: Friday, 10 February 2012 10:41

Re: [osg-users] osgvolume opacity settings

2012-02-13 Thread Clement.Chu
org [osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield [robert.osfi...@gmail.com] Sent: Friday, 10 February 2012 10:41 PM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume opacity settings Hi Clement, The pictures and your description don't provide sufficient

Re: [osg-users] osgvolume opacity settings

2012-02-10 Thread Robert Osfield
hanks. > > > Regards, > Clement > > > From: osg-users-boun...@lists.openscenegraph.org > [osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield > [robert.osfi...@gmail.com] > Sent: Thursday, 19 January 2012 8:05 PM > To: OpenSceneGraph Users >

Re: [osg-users] osgvolume opacity settings

2012-01-19 Thread Robert Osfield
Hi Clement, On 18 January 2012 23:37, wrote: >                osgImage->setImage(nx, ny, nz, GL_RGB16F_ARB, GL_RGBA, > GL_UNSIGNED_BYTE, (unsigned char*)data, osg::Image::NO_DELETE); > > >      My question is about the 4th parameter GL_RGB16F_ARB.  It is very > difficult to find out how this p

Re: [osg-users] osgvolume opacity settings

2012-01-18 Thread Clement.Chu
22 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume opacity settings Hi Clement, I really don't know what is going on at your end, what you are expecting, what you've coded, there is no way I can provide any answers. Robert. On 18 January 2012 17:31, wrote: > HI Rober

Re: [osg-users] osgvolume opacity settings

2012-01-18 Thread Robert Osfield
@gmail.com] > Sent: Thursday, 19 January 2012 4:15 AM > To: OpenSceneGraph Users > Subject: Re: [osg-users] osgvolume opacity settings > > Hi Clement, > > I can't work out specifically what you are expecting to happen.  What > coin does is something I have no experience

Re: [osg-users] osgvolume opacity settings

2012-01-18 Thread Clement.Chu
obert.osfi...@gmail.com] Sent: Thursday, 19 January 2012 4:15 AM To: OpenSceneGraph Users Subject: Re: [osg-users] osgvolume opacity settings Hi Clement, I can't work out specifically what you are expecting to happen. What coin does is something I have no experience with so can't comment on

Re: [osg-users] osgvolume opacity settings

2012-01-18 Thread Robert Osfield
eld > [robert.osfi...@gmail.com] > Sent: Monday, 16 January 2012 8:21 PM > To: OpenSceneGraph Users > Subject: Re: [osg-users] osgvolume opacity settings > > Hi Clement, > > On 16 January 2012 06:21,   wrote: >>   My application is using osgvolume to display CT data.  

Re: [osg-users] osgvolume opacity settings

2012-01-16 Thread Robert Osfield
Hi Clement, On 16 January 2012 06:21, wrote: >   My application is using osgvolume to display CT data.  There is class > called CompositeProperty and there are three property classes > (AlphaFuncProperty, SampleDensityProperty and TransparencyProperty) as well.   > I would like to know more de

[osg-users] osgvolume opacity settings

2012-01-15 Thread Clement.Chu
Hi, My application is using osgvolume to display CT data. There is class called CompositeProperty and there are three property classes (AlphaFuncProperty, SampleDensityProperty and TransparencyProperty) as well. I would like to know more details of those classes and how to apply on osgvolu

Re: [osg-users] osgVolume volume size limitation

2011-09-13 Thread Robert Osfield
000 * 50), osg still display the image, but it only shows party.  Please see > the attached images.  Do you know any reason?  Thanks. > > > Regards, > Clement > > > > > > > From: osg-users-boun...@lists.openscenegraph.org > [osg-users-boun...

Re: [osg-users] osgVolume volume size limitation

2011-09-13 Thread Robert Osfield
Hi Clement, I can't really make much sense from your post so can't make any specific suggestions. General comments I would add are that different graphics hardware supports different Texture3D resolution, you have to keep within this to be able doing volume rendering. Also if you don't set up th

[osg-users] osgVolume volume size limitation

2011-09-12 Thread Clement.Chu
Hi, I got to display volume data problem on windows MFC before. I got an useful information in this forum and now I have fixed the problem. When I tried different test cases, I found the volume image cannot be shown probably if the volume is large such as 1000*1000*20. It cannot show the

Re: [osg-users] osgVolume not working with latest ATI Radeon drivers on Windows

2011-08-08 Thread Mark Hodson
Thanks for that information. I have bought a nVidia GTX550Ti and that works fine with 275.33 drivers in osgVolume. Both ATI cards remain an issue with Catalyst 11.7 drivers. Does the issue you linked to about array uniform naming apply to 3D Sampler uniforms as well? If so I could try it out

Re: [osg-users] osgVolume not working with latest ATI Radeon drivers on Windows

2011-08-06 Thread John Ivar Haugland
This can be the same problem that exist with new Nvidia drivers, e.g. disucssed here: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg50871.html John Ivar On Sat, Aug 6, 2011 at 2:36 AM, Mark Hodson wrote: > Hi all, > > This is one of those strange annoying ones, and I'm ho

[osg-users] osgVolume not working with latest ATI Radeon drivers on Windows

2011-08-06 Thread Mark Hodson
Hi all, This is one of those strange annoying ones, and I'm hoping some of you will have some insight or pointers or suggestions on what might be wrong. I've spent weeks on this myself, so I don't come to ask help from the forum lightly... I have been using osgVolume fine for years - Vista x6

Re: [osg-users] osgVolume volume rendering ?

2011-03-15 Thread Naimul Khan
Thanks Robert, I will try different options to see what I can come up with. Cheers, Naimul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37629#37629 ___ osg-users mailing list osg-users@lists.opens

Re: [osg-users] osgVolume volume rendering ?

2011-03-15 Thread Robert Osfield
Hi Naimul, It looks to me that all the intensities from the source imagery are mapping to a large alpha value so little or no alpha blending is taking place. On the topic of normalization, the transfer function file is 5 fields, I R G B A, where I is the intennity that you wish to map, followed b

Re: [osg-users] osgVolume volume rendering ?

2011-03-14 Thread Naimul Khan
This is the link to the tutorial from where I downloaded the color transfer functions: http://dlfresources.pbworks.com/w/page/17954901/How-to-:-build-a-volume (couldn't post links before 2 posts, so posting the link separately). -- Read this topic online here: http://forum.opens

Re: [osg-users] osgVolume volume rendering ?

2011-03-14 Thread Naimul Khan
Hi Robert, Thanks for your quick reply, good to know it can be done with osgVolume. I will explain the problem I am facing in detail now: 1. I have tried to load some dicom images (provided by a doctor here) with the following command: osgvolume --images *.dcm The images load without any issu

Re: [osg-users] osgVolume volume rendering ?

2011-03-13 Thread Robert Osfield
Hi Niamul, I can't say anything abou the problems you having as you don't provide any details about the transfer function you are using, what volume rendering techniques and setings, or any screenshots you are using. The only thing I can qualify is that the screenshots on the DigitalLearning webs

Re: [osg-users] osgVolume volume rendering ?

2011-03-13 Thread Naimul Khan
Hi everyone, Apologies for reviving an old thread. I have been playing around with osgvolume recently and have been able to volume render set of dicom images. But I am getting similar results as this thread's opener (i.e. the bounding box is still there). I tried to tweak the 1D transfer functi

Re: [osg-users] osgVolume

2010-09-10 Thread Jean-Sébastien Guay
Hi all, See screenshot for the result in osgVolume. Pretty darn cool. :-) Oops, sorry, I hadn't realized that my screenshot was so big. J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://ww

Re: [osg-users] osgVolume volume rendering ?

2010-07-19 Thread Dženan Zukić
Hi, Hehe, now that you have succeeded at getting something, you start to get into the problematics of volume rendering. Namely, to get a nice visual representation, you have to provide a suitable transfer function. The example uses some hard-coded transfer function (osgVolume supports only 1D T

Re: [osg-users] osgVolume volume rendering ?

2010-07-19 Thread Robert Osfield
Hi Manu, You data DICOM data rendering suggests that the air around the subject is returning a high intensity value rather than a low one. This is not something I've seen with the DICOM datasets I've tested, so try other data. A transfer function would certainly be one way to pick out the data y

Re: [osg-users] osgVolume volume rendering ?

2010-07-19 Thread Robert Osfield
Hi Emmanuel, If you are trying to create a stack of images as a single volume then use the --images command line option. Robert. On Sat, Jul 17, 2010 at 1:50 PM, Emmanuel Roche wrote: > One very interesting detail concerning those osgVolume tests (still on > Windows) by the way: > > I use a co

Re: [osg-users] osgVolume volume rendering ?

2010-07-17 Thread Dženan Zukić
Hi, I don't know which version of GDCM osg is using, or how well is it integrated. You could check out ITK library (http://itk.org), it has an example (called DicomReadImageWrite or similar) which can read dicom images and convert them to other formats - I recommend .mha, because its header can

Re: [osg-users] osgVolume volume rendering ?

2010-07-17 Thread Emmanuel Roche
Concerning the DICOM issue, I performed additional tests: - The error seems to be related to compressed DICOM datasets. - On the website http://pubimage.hcuge.ch:8080/, most dataset will generate errors ("Invalid data value") when trying to read the dcm files as is). the PHENIX dataset works (it

Re: [osg-users] osgVolume volume rendering ?

2010-07-17 Thread Dženan Zukić
Hi, The command you used on linux should also work on windows. Don't have time to investigate that right now, but you manged to get it to work, in some way. Cheers, Dženan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30097#30097 __

Re: [osg-users] osgVolume volume rendering ?

2010-07-17 Thread Emmanuel Roche
Okay guys ! I've just tested this on linux, and the command: *osgvolume --raw 256 256 256 1 1 big bonzai.raw worked just fine !!! *So I guess this problem is only on Windows. The good news is, I also did: *osgvolume --raw 256 256 256 1 1 big bonzai.raw -o bonzai.dds [on linux] *then used t

Re: [osg-users] osgVolume volume rendering ?

2010-07-17 Thread Emmanuel Roche
One very interesting detail concerning those osgVolume tests (still on Windows) by the way: I use a command like: *osgvolume --test2 --shader --zSize 100 --window 50 50 600 400 CEMRA_HIGHRES\IM-0001-0001.png CEMRA_HIGHRES\IM-0001-0002.png CEMRA_HIGHRES\IM-0001-0003.png ... [more files here] ... C

Re: [osg-users] osgVolume volume rendering ?

2010-07-17 Thread Emmanuel Roche
Thanks for your help Dzenan, but unfortunetaly, this is still not working (still get a crash and no display), I used: *osgvolume --raw 256 256 256 1 3 big bonzai.raw* Note that I must specify the endianness and number of components (but I tried multiple tests again), here is the help for the --r

Re: [osg-users] osgVolume volume rendering ?

2010-07-17 Thread Dženan Zukić
Hi, I don't think osg's data folder has anything to do with it. I just took a look, and realized .pvm format is compressed. You can get gzipped datasets from volvis.org, for example this 256x256x256 dataset: http://www.gris.uni-tuebingen.de/edu/areas/scivis/volren/datasets/data/bonsai.raw.gz T

Re: [osg-users] osgVolume volume rendering ?

2010-07-17 Thread Emmanuel Roche
Hello Dzenan! i've just tried the website you suggested, downloaded the baby.pvm, bonsai1.pvm and bunny.pvm datasets, and tried commands such as: osgvolume --window 50 50 600 400 --raw 256 256 98 1 1 big baby.pvm --> As I have no idea about the "numberOfcomponents" and "endianness" of those file

Re: [osg-users] osgVolume volume rendering ?

2010-07-12 Thread Dženan Zukić
Hi, I have a working osgVolume used in my program - I use it as a preliminary visualization. Since it has only 1D transfer function support, and does not combine with polygonal models, in later stage I replace it with isosurface+polygonal model. My version is basically a simplified osgVolume e

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

[osg-users] osgVolume volume rendering ?

2010-07-09 Thread Emmanuel Roche
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 p

Re: [osg-users] osgVolume write isosurface to mesh file

2010-05-19 Thread Dženan Zukić
Hi, If you are looking for fast isosurface generation, take a look at this thread: http://forum.openscenegraph.org/viewtopic.php?t=5655 If that is what you need, I can give you the missing pieces of code (slightly modified HPMC library). Code is for nVidia GPUs (ATI's approach to Transform Feed

Re: [osg-users] osgVolume write isosurface to mesh file

2010-05-12 Thread Robert Osfield
Hi Bill, On Wed, May 12, 2010 at 3:54 PM, Poirier, Guillaume wrote: > I'd like to know if osgVolume can write an isosurface to a mesh file. The isosurface shader in osgVolume does the compute of the isosurface purely on the GPU for fragment, the only end result is the colour of the final fragmen

[osg-users] osgVolume write isosurface to mesh file

2010-05-12 Thread Poirier, Guillaume
Hi, I'd like to know if osgVolume can write an isosurface to a mesh file. cheers, bill ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgvolume 2D image stack

2009-09-17 Thread Jason Jerald
I was not able to get wild cards to work under Windows Vista OSG 2.8.2. It did work with files listed on the command line explicitly. Also loading files from a director worked with a command line like osgvolume directoryName When ran from the parent directory. Jason Johannes van Jaarsvel

Re: [osg-users] osgvolume 2D image stack

2009-09-15 Thread Johannes van Jaarsveld
Thanks Robert, will do so -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17402#17402 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-user

Re: [osg-users] osgvolume 2D image stack

2009-09-15 Thread Robert Osfield
Hi Johannes, On Tue, Sep 15, 2009 at 2:21 PM, Johannes van Jaarsveld < jvjaarsv...@csir.co.za> wrote: > I'm using OpenSceneGraph-2.8.2 on 64 bit Fedora 11 > Could you try the svn/trunk version of the OpenSceneGraph as I've made a number of improvements and bug fixes to osgVolume over the last fe

  1   2   >