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

Home » Public Forums » archive » Z-buffer troubles
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
Z-buffer troubles [message #1368] Tue, 02 November 1993 09:50
brau1231 is currently offline  brau1231
Messages: 2
Registered: November 1993
Junior Member
Hi, I have a special problem with 3D-hidden line
routines.
Try this short program to understand
the problem:

(the mesh will not displayed in hidden line modus)

So, what do I wrong ? What is missing ?

loadct,1
!P.background=0
window,0
d=dist(40)
a=[20,20,20,20]
b=[0,0,40,40]
c=[0,30,30,0]
set_shading,gouraud=0,light=[-1,0,2]
SET_SHADING, VALUES=[16, 200]
set_plot,'Z'
scale3,xrange=[0,40],yrange=[0,40],zrange=[0,30]
shade_surf,d,color=255,/t3d,/save,/data
polyfill,a,b,c, color=255, /line_fill, orientation=45, /data, /t3d
polyfill,a,b,c, color=255, /line_fill, orientation=-45, /data, /t3d
bb=tvrd()
set_plot,'x'
tv,bb
end

Thanks for help, Rainer

Plaese answer to brau1231@fb12.tu-berlin.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contour & why pv-wave?
Next Topic: MAP_SET over Pacific?

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

Current Time: Sun Oct 12 04:34:12 PDT 2025

Total time taken to generate the page: 1.20104 seconds