Chikai Ohazama (chikai@talula.engr.sgi.com)
Wed, 24 Mar 1999 13:38:33 -0800 (PST)
Hope this helps!
________________________________________________________________________
Chikai J. Ohazama, Ph.D. Silicon Graphics Computer Systems
Member of Technical Staff 2011 N. Shoreline Blvd. ms 525
Advanced Graphics Division Mountain View, CA 94043.1389
Telephone: (650) 933-6533
FAX: (650) 964-8671
On Wed, 24 Mar 1999, Florian Schroecker wrote:
> A adapted version of the Volumizer Inventor example class
> voivAppearance generates the following error on creating a
> voBrickSetCollection:
>
> Error: Bad value in textureLoad(); possibly too large of a brick
> requested.
>
> This happens when a new Volume is loaded by changing the fileNameField,
> it works fine the first time. The Volume we use is 256*256*128 and
> should
> use the whole 16MB Texture memory of our ONYX.
>
> The voivAppeance class had no cleanup code, we added the following to
> clean up
> before loading another Volume:
>
> voAppearanceActions::volumeUnoptimize(_aVolume);
>
> voBrickSetCollectionIterator collectionIter(_aVolume);
> for (voBrickSet * brickSet; brickSet = collectionIter();)
> {
> voBrickSetIterator brickSetIter(brickSet);
> for(voBrick * brick; brick=brickSetIter();)
> voAppearanceActions::dataFree(brick);
> }
> delete _aVolume;
>
> Maybe there is a problem in the destructor of voBrickSetCollection or in
> voAppearanceActions::unOptimize ?
>
> The problem does not appear if voAppearanceActions::volumeOptimize
> is not used, but this results in really slow rendering.
>
> Maybe somebody knows about the problem or has any suggestions?
>
> thanks, Florian
>
>
> -------------------------------------------------------------------
> Institute for Medical Informatics
> Braunschweig, Germany
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
This archive was generated by hypermail 2.0b2 on Mon Nov 01 1999 - 12:03:15 PST