Re: Re to David Fanning [message #8930] |
Fri, 09 May 1997 00:00 |
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
|
|
|