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

Home » Public Forums » archive » Some questions on cgsurf and cgsurface
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
Some questions on cgsurf and cgsurface [message #76987] Tue, 19 July 2011 09:55
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
I have been trying to make shaded surfaces with CG, and encountered a
few difficulties, which perhaps have obvious solutions for those who
can find their way around the CG routines:

I tried to follow the examples with

data=dist(200)
loadct,33
cgwindow,'cgsurf',data,/shaded
cgcontrol,create_ps='cgtest.ps'

Which results in a file with a red background. The same if using the
menu in the window.

Also, am I correct in thinking that all ps output is only bitmap? It
is what it looked like from what I saw in the code.

Then I tried cgsurface:

data=dist(200)
loadct,33
cgsurface,data,/shaded

Which does make a much nicer looking ps file, which also matches what
I see in the screen. But I could not find a way to programmatically
make the file. And it also seems to only make bitmaps, at a fixed
resolution.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Paolo says goodbye
Next Topic: How to shift 1 year forward in time

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

Current Time: Wed Oct 08 15:49:54 PDT 2025

Total time taken to generate the page: 0.00376 seconds