Q: project_vol [message #2434] |
Thu, 30 June 1994 11:51  |
jun
Messages: 9 Registered: June 1994
|
Junior Member |
|
|
I'm using a userlib program PROJECT_VOL.PRO to display a 3D volume data.
I cannot understand the result. Then I tried this program on a (20,20,20)
sphere. It came out like three ridges connecting at the center. My command
line reads:
IDL> im=project_vol(sp, 20, 20, 20, depth_q=0.0,TRANS=(!P.T))
I'm confused with the output. Does anyone has experience with this routine?
Thanks.
Jim
|
|
|
Re: Q: project_vol [message #84258 is a reply to message #2434] |
Fri, 10 May 2013 06:10  |
jaroslav.dudik
Messages: 1 Registered: May 2013
|
Junior Member |
|
|
Can you please post the full code?
You may have a problem with depth queuing. Try setting it to 1.
However, the routine seems to produce strange outputs. E.g., when plotting a cube that is 200x200x200 pixels instead of 20x20x20 pixels large, the result SHRINKS into the lower left corner. Also, according to IDL help, the resulting image should have (X_sample,Y_sample) dimensions. Instead I get image fitting the window size independently of how much rays (samples) I use.
|
|
|