comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Object Graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Object Graphics [message #39369 is a reply to message #9626] Wed, 12 May 2004 10:25 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Michael Wallace" wrote...

>
> IDL> window = obj_new('IDLgrWindow')
> % OBJ_NEW: Creation of backing store pixmap failed.
> Requesting backing store from the server.
>
> What does this error mean? For what it's worth, this is on Linux,
> specifically Fedora Core 1.
>

As you have discovered, sometimes IDL can't provide backing store and
sometimes X won't do it either. I feel the workaround that Marc posted
isn't acceptable if you have a decent graphics adapter under the hood and as
David said, retaining an OG window is a waste. Object graphics isn't the
easiest tool to work with "interactively". You can do it, but I suggest
using something like XOBJVIEW to handle the view setup, windowing and
drawing if you are just fooling around.

Set RETAIN=0, keep hardware rendering enabled, and make sure you have the
best drivers available for your graphics adapter.


> Secondly, is there something, anything out there which actually explains
> what's going on inside the object graphics system? Or at least does
> better than RSI's documentation? I've worked with graphics systems
> before, but never with something quite like this. It took a good 30
> minutes to figure out how to draw a single diagonal line. Oh, well.

Aside from RSI's literature, the only book I know of is Ronn Kling's "Power
Graphics with IDL". This is a good introductory text.

Object graphics is built on the openGL API. If you *really* want to know
what's going on inside you can read up on openGL. The "Red Book" is the
place to start. An older version, perfectly adequate for these purposes, is
available online:

http://www.gamedev.net/download/redbook.pdf


You shouldn't need to go this far though. One of the ideas behind the
object graphics system is to provide a very powerful 3d rendering engine
that is relatively easy to use so don't get too caught up in the openGL
stuff.


FWIW, my tip to object graphics newb's is to use XOBJVIEW. Like I said
above, XOBJVIEW will handle the view setup which is often the most confusing
part of object graphics. Once you have something showing up in XOBJVIEW
then you can move on to your own custom view as needed.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NOAA SAA Imagery display tool
Next Topic: Re: IDL - fundamental question about image display

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 14:54:50 PDT 2025

Total time taken to generate the page: 0.47940 seconds