Hi,
> > BTW: If you are experimenting with advanced volume allgos:
> > I have some simple code which generates gradients (with a
> > 3d-sobel) from a scalar volume and stores it as normalmap
> > in the same image. I could include the code in the Image
> > class. Something like:
> >
> > void Image::createNormalMap (void)
> >
> > Works on scalar (OSG_L_PF) volume and creates a normalmap +
> > scalar in Alpha volume (OSG_RGBAL_PF). Could be extended
> > to work also on 2d-images to create a 2D-normalmap.
> >
> > Should we include it as Image method or is this
> > really out of scope for the image class?
>
> It seems a little too specialized for the Image class. You could add an
> OSGImageTools file.
BTW. There is a method "DVRIsoShader::createGradientImage" which
computes the same kind of image using central differences. This
might be a nice add on to that class. (At least to show the
different image quality that is achieved).
Gruss
Manfred.
======================================================================
Manfred Weiler [EMAIL PROTECTED]
Visualisierung und Interaktive Systeme Telefon: 0711/7816-208
Universitaet Stuttgart, IfI FAX: 0711/7816-340
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users