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

Home » Public Forums » archive » Nice Postscript output from shade-surf? Xsize in polyshade?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Nice Postscript output from shade-surf? Xsize in polyshade? [message #3374] Wed, 18 January 1995 09:18 Go to previous message
solter is currently offline  solter
Messages: 1
Registered: January 1995
Junior Member
Hi,

I would like to get a good output in postscript out of the shade_surf-routine
of PV-Wave. But if the device has scalable pixels, the output image has
dimensions less or equal to 512. This is not good enough.
How can I get a better resolution?

My idea was to write a routine similar to shade_surf, in which the
shading is be done by polyshade. Following the documentation, the keywords
xsize and ysize should allow to specify the dimensions of the image.
But in my program this seems to work only, if xsize and ysize are equal to
the resolution of the display, which results in an insufficient memory error.
With smaller values for xsize and ysize I always got messages like this:
POLYSHADE: Vertex 86: X,Y out of range .
There must be a simple error in my program, but where?
Here are the main steps of my program:

surface,z,/nodata,/save

poly_surf,z,verlist,pollist,pgnum

xsize = !d.x_vsize/fact
ysize = !d.y_vsize/fact

image = polyshade(verlist,pollist,/t3d,/data,xsize=xsize,ysize=ysize )

tv,image

surface,z,/nodata


Regards,
Claus-Henning Solterbeck
--
Claus-Henning Solterbeck Universitaet Kiel
Tel.: +431 880 4063 Fax: +431 880 4094 Institut fuer Theoretische Physik
E-mail: solter@theo-physik.uni-kiel.de Leibnizstr. 15, 24098 Kiel, Germany
http://www.theo-physik.uni-kiel.de/theo-physik/schattke/scha ttke_index.html
--
Claus-Henning Solterbeck Universitaet Kiel
Tel.: +431 880 4063 Fax: +431 880 4094 Institut fuer Theoretische Physik
E-mail: solter@theo-physik.uni-kiel.de Leibnizstr. 15, 24098 Kiel, Germany
http://www.theo-physik.uni-kiel.de/theo-physik/schattke/scha ttke_index.html
[Message index]
 
Read Message
Read Message
Previous Topic: RSI's post re: RT Lic
Next Topic: Moving 3D Axis

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

Current Time: Fri Oct 10 03:42:38 PDT 2025

Total time taken to generate the page: 0.80010 seconds