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

Home » Public Forums » archive » Re: Re to David Fanning
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: Re to David Fanning [message #8930] Fri, 09 May 1997 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
TTS writes:

> Hi Prof. Fanning...!

Professor!? You must think I have a job or something! :-)
>
> You are really fast killer of our full questions :) about IDL!
> My "export display problem" was solved... Thank you.

If any of your colleagues have money, be sure to tell them
about my fast, accurate service. :-)

> Just this one now:

Augh, oh. This was a set-up!

> If I choose a backgroud color in xloadct, say white, then I need
> use slicer to look inside the 3D object. The problem is that in
> slicer my choices of backgroud are lost and I cant reach the
> white backgroud color in slicer... :(

Yes, unfortunately SLICER was not written to be what I
term a "color aware" application. By which I mean that
it only works with colors you specify from the color table.

I've had a quick look at the code to see what is going on.
I was hoping a couple of quick changes would set things
right for the background color, at least. But unfortunately
(it almost always happens this way) things look more
complicated than that.

I don't think it would take too much effort to fix the
code for a background color. You really just need to
protect some color index (I would choose the top
color index), make sure all the TVLCT and LOADCT
commands leave that index alone, and make sure
all the ERASE commands erase in that color, which
you load with whatever color you want your background
drawn in.

I'd probably fool around with it for you, but today
(of all days) someone is willing to pay me to do
something else. :-)

Good luck!

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
[Message index]
 
Read Message
Previous Topic: Re: tab delimited text files
Next Topic: tab delimited text files

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

Current Time: Fri Oct 10 14:53:22 PDT 2025

Total time taken to generate the page: 0.96052 seconds