Info-Volumizer Mailing List Archives: O2 problem..

O2 problem..

Mark Davey (mkd@medphys.ucl.ac.uk)
Tue, 19 Oct 1999 12:11:33 -0700


Hi..
Can anyone help me with the following.

When running the demo

voglBasic $(Datafile) -sc 1 1 3.2

on an O2 with an 8 bit dataset
CT.Head.Small.char.Tiff

the best external format returns as LUMINANCE_ALPHA while the internal
format is LUMINANCE8_ALPHA8_EXT.
I am not sure why this is optimal but that is not my problem however. I
tried to change these formats directly after the
voAppearanceActions::getBestParameters command in voglInitAppearance.cxx
to
external format = voExternalFormatTypeScope::LUMINANCE
internal format = voExternalFormatTypeScope::LUMINACE8_EXT

This causes the demo to crash on a
voAppearanceActions::textureBind(abrick)
within voglDraw.cxx.

Why is this. Having identical formats on an Onyx2 does not cause the
same problem.

I assume that generating luminace_alpha formats from a disk format of
lumince on an O2 is done for speed reasons, but I am more interested in
memory usage at the moment so I would like luminance internal and
external formats.

Can anyone help...
Mark

--
From: Mark Davey
Dept. of Medical Physics, UCL.

TEL: +44 (0)171 915 1673. FAX: +44 (0)171 837 9279.

Institute of Laryngology and Otology, 330 Gray's Inn Road, London. WC1X 8GE.


This archive was generated by hypermail 2.0b2 on Tue Oct 19 1999 - 13:12:37 PDT


made by Digital Vintage with nginx-s3-gateway and some magic
digitalvintage.ru
t.me/digitalvintage_ru
instagram.com/digitalvintage.ru