Re: backround settings with render function [message #9832] |
Mon, 08 September 1997 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Obi Liehr writes:
> how do I render objects with pvwave in a way that the resulting image
> has got a white backround?
>
> I`ve tried everything. Does anybody have got a solution?
It is hard to know what you mean by "render", but here is
how I would render a 3D object (an MRI scan of the head)
with a white background in IDL:
!P.Background = !D.N_Colors
LoadCT, 0
head = GetImage('head.dat. XSize=80, YSize=100, Frame=57)
Scale3, XRange=[0,80], YRange=[0,100], ZRange=[0,57]
Shade_Volume, head, 50, vertices, polygons, /Low
TV, PolyShade(vertices, polygons, /T3D)
!P.Background = 0
Cheers,
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
|
|
|