On Wed, 19 Sep 2001, Andreas Bartsch wrote:
> Dear Andrew, would you recommend to activate Matlabs own OpenGL
> libraries? How can I persuade Matlab to do that? TIA- Andreas
Hi Andreas, Andrew,
SPM uses 'zBuffer' rendering for its figures by default. This is
hardcoded, there is no global defaults value that can be set. To change
this, you have to modify spm.m and spm_figure.m and replace all occurences
of 'zBuffer' by your favourite rendering method (eg 'OpenGL').
This will now use Software OpenGL (Mesa) for displaying graphics.
On a reasonably fast workstation with Linux this is almost the best you
can get. Activating hardware accelerated OpenGL for Matlab will definitely
not work for Matlab5.3. But also for Matlab6 it does not greatly enhance
performance under Linux (at least for Nvidia graphics chipsets), since
Matlab always seems to do the clipping, rendering, rotation, texturing
itself instead of using the graphics hardware for that.
Also, I have seen cases (with older NVidia OpenGL drivers) where Matlab6
would completely freeze when displaying more than 2 OpenGL windows. This
issue seems to be resolved with newer drivers, but it shows that
Matlab6/Linux/Hardware-OpenGL is not a stable combination at the moment.
Volkmar
>
>
> ----- Original Message -----
> From: Andrew Poliakov
> To: [log in to unmask]
> Sent: Wednesday, September 19, 2001 5:24 PM
> Subject: Re: [log in to unmask]
>
>
> "[log in to unmask]" wrote:
> Can anybody please help me with some SPM system requirments.
> 1. Has anybody tested RedHat 7.1 linux with SPM?
>
> Works for me. I should say I have not tested it extensively.
> 4. Does SPM require a card with 3D or OpenGL performance?
> I have hardware accelerated 3D on my computer. However, matlab 6.1 does not seem to take advantage of it. It does not use system OpenGL libraries, it has it's own OpenGL libraries. By default, it would not even use those -- it will use z-buffer for rendering.
> Hope this helps.
>
>
--
Volkmar Glauche E-Mail [log in to unmask]
Department of Neurology WWW http://glauche.home.pages.de/
UKE Hamburg Phone 49(0)40-42803-5781
Martinistr. 52 Fax 49(0)40-42803-5086
20246 Hamburg
|