Re: Student Edition & Object Graphics [message #37729] |
Thu, 22 January 2004 08:18  |
profxtjb
Messages: 22 Registered: October 2003
|
Junior Member |
|
|
Randall Skelton <rhskeltonatatmoxacuk@nospam.org> wrote in message news:<Pine.LNX.4.44.0401211417120.18555-100000@moriarty.atm.ox.ac.uk>...
Randall, if you are finishing your thesis, you probably do not have time to try
any tricks with the X11 options etc., but in case you already know your way
around X11, here is something I noticed.
My objects graphics code, working well in idlde (version 6.0), was choking
when I ran it in the VM. It would render the main window and the background
plus one button widget but nothing more. I then started up X11 with -depth 8
and the VM rendered one more object (an IDLgrModel object) before choking
again. Maybe that gives a clue about how to get into the X11 programming
and track down the trouble.
But I have other things to do than dig into that tangle! Keep working on that
thesis!!
==Thomas Brueckner==
> figures for my thesis but it seems I cannot run any object graphics code?
> I am running IDL 5.6, 6.0 and 5.6se under OS X (10.3) with Apple X11 and
> code that works fine runing the either 5.6 or 6.0 (full version) but fails
> to work with the student edition? Even the RSI object example code fails
> after each object window is drawn!!
>
> cinqueterre [1:50pm] skelton [~] idl
> IDL Student Edition 5.6, Mac OS X (darwin ppc m32). (c) 2002, Research Systems, Inc.
> Installation number: 001.
> Licensed for use by: IDL Student Version
>
> IDL> test_surface
> % Compiled module: TEST_SURFACE.
> % Compiled module: DIST.
> % X windows protocol error: BadMatch (invalid parameter attributes).
> % X windows protocol error: BadWindow (invalid Window parameter).
>
> IDL> help, /device
> Available Graphics Devices: CGM HP LJ NULL PCL PRINTER PS REGIS TEK X Z
> Current graphics device: X
> Server: X11.0, The XFree86 Project, Inc, Release 40300000
> Display Depth, Size: 24 bits, (1280,854)
> Visual Class: TrueColor (4)
> Bits Per RGB: 8 (8/8/8)
> Physical Color Map Entries (Emulated / Actual): 256 / 256
> Colormap: Private, 16777216 colors. Translation table: Enabled
> Graphics pixels: Decomposed, Dither Method: Ordered
> Write Mask: 16777215 (decimal) ffffff (hex)
> Graphics Function: 3 (copy)
> Current Font: <default>, Current TrueType Font: <default>
> Default Backing Store: Req from Server.
|
|
|
|
|
|
Re: Student Edition & Object Graphics [message #37875 is a reply to message #37809] |
Tue, 03 February 2004 18:50  |
Randall Skelton
Messages: 169 Registered: October 2000
|
Senior Member |
|
|
As far as I know, this problem has been logged as a bug in IDL 5.6se.
Unfortunately, there is no real fix. You can disable hardware rendering
as suggested earlier in this thread, but there are still other X11-IDL
quirks when working with object graphics. I am running 10.3.x + Apple X11
and do not know if 10.2.x + Apple X11beta works any better.
With luck, there will be an IDL 6.1 student version...
Cheers,
Randall
On 23 Jan 2004, M. Katz wrote:
> I'm interested to know how you solve this, so be sure to post a
> follow-up.
> I'm running the full version of IDL 6.0 on Panther with an
> out-of-the-box configuration. Object graphics are fast and smooth. I'd
> like to be able to recommend the student version to . . . well,
> students, I suppose. I'd contact RSI tech support for their input.
>
> M. Katz
>
|
|
|