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

Home » Public Forums » archive » POLYSHADE X,Y out of range
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
POLYSHADE X,Y out of range [message #4746] Fri, 14 July 1995 00:00
ao is currently offline  ao
Messages: 7
Registered: March 1994
Junior Member
Hallo!

Who knows what I am doing wrong?

I am displaying a volume with following commands:

read,unit,vol vertices,po; get the volume

vol_value=160 ; isosurface value
SHADE_VOLUME,vol,vol_value,vertices,polygons,/VERBOSE
volsize=SIZE(vol) ; info about vol

SCALE3,XRANGE=[0,volsize(1)],YRANGE=[0,volsize(2)],ZRANGE=[0 ,volsize(3)]
; setup 3D
TV,POLYSHADE(vertices,polygons,/T3D) ; visualization

As far as good, but now I want to zoom:

zoomfactor=1.2
TV,POLYSHADE(vertices*zoomfactor,polygons,/T3D)


For 0 < zoomfactor < 1.1 (in most cases) there is no problem,
but when I increase zoomfactor to 1.2 (thats depends on the
!P.T) I get following chrash message:


Event for Zoom
% POLYSHADE: Vertex 1745: X,Y out of range.
% Execution halted at: MAIN13_EVENT 469 otf.pro
% WIDGET_EVENT
% XMANAGER 469
/soft/local/IDL_4.0_NET/idl_4/lib/xmanager.pro
% OTF 716 otf.pro
% $MAIN$
When I look to vertices, I can't see where they are out of
range, because I don't know the limit, which POLYSHADE has.

How can I 'zoom' with POLYSHADE without having attention to
the x,y-sizes of the draw-window? Is the are NOCLIP-switch?

Does anyone has the source code of polyshade or know how the
message POLYSHADE: Vertex 1745: X,Y out of range is produced?

Any help appreciated to ao@eurad.uni-koeln.de

Thanks!!

Andreas Oberreuter


--

EURAD-Administration
Postadress: University of Cologne (GERMANY)
Institute of Geophysics and Meteorology
- Project EURAD -
Atmospheric Research
Dr.Andreas Oberreuter, Aachener Strasse 201-209, D-50931 Cologne Phone: ++49 (221) 400 22 20 / 400 22 58 (Secretary)
Fax: ++49 (221) 400 23 20
E-Mail: ao@eurad.uni-koeln.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Bug in IDL CONVOL procedure
Next Topic: using Make_Array in Execute() call

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

Current Time: Wed Oct 08 18:13:53 PDT 2025

Total time taken to generate the page: 0.00616 seconds