Some questions on cgsurf and cgsurface [message #76987] |
Tue, 19 July 2011 09:55 |
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.
|
|
|