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

Home » Public Forums » archive » 3D VOLUME VISUALIZATION
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: 3D VOLUME VISUALIZATION [message #34210 is a reply to message #34070] Thu, 20 February 2003 08:34 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
"MC" <markchan@shaw.ca> wrote in message
news:N9Z4a.285092$Yo4.11083327@news1.calgary.shaw.ca...
> A=array[100,80,160]
> containing 0,1,2,3,10.
> The numbers represent different materials within a solid.
>
> Will like to visualize it in 3D.
>
> Any suggestion on either program/code fragment which will produce nice
> visualization? Also to do various cutting and slicing?
>
> Tried XVOLUME but doesn't work (?) - got black screen.
>
> Thanks,
> Mark

Hi Mark,

XVolume works pretty well if the data values use more of the 0-255
range.

This is a random mix of the 0,1,2,3,10 values:

a = ([0B,1B,2B,3B,10B])[byte(randomu(seed,100,80,160)*5)]

XVolume, a ; Doesn't look like much
XVolume, a*25 ; Is much easier to work with

You have to work with Color and Opacity to really show it off, but does
this show up for you with what looks like a block of granite?

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: xmargin and ymargin keywords ignored in cgplot
Next Topic: plotting missing values

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

Current Time: Wed Oct 08 19:58:30 PDT 2025

Total time taken to generate the page: 0.00384 seconds