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

Home » Public Forums » archive » Re: backround settings with render function
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: backround settings with render function [message #9832] Mon, 08 September 1997 00:00
davidf is currently offline  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
[Message index]
 
Read Message
Previous Topic: WaveTcl
Next Topic: backround settings with render function

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

Current Time: Sat Oct 11 16:13:35 PDT 2025

Total time taken to generate the page: 0.56076 seconds