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

Home » Public Forums » archive » Re: Bugs with hardware rendering
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
Re: Bugs with hardware rendering [message #75015] Mon, 14 February 2011 10:42
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
I was playing with the dimensions, with this slightly different code:

dx=n_elements(dx) eq 1 ? dx : 1000
dy=dx
hls,50,50,0,100,60,0,tab
z1=randomu(seed,dx,dy,/normal,/double)
z1[*,dy/2]=dx+randomu(seed,dx,/normal,/double)*dx*0.5d0
z2=z1*1d-18*dx
s1=surface(z1,layout=[2,1,1]);,rgb_table=tab,texture_image=z 1)
s2=surface(z2,layout=[2,1,2],/
current);,rgb_table=tab,texture_image=z2)
s_win=s1.copywindow()
im=image(s_win)

And found that with dx smaller than 1000, worse things happen: with
500, part of the z2 surface goes missing in hardware. With 200, nearly
all of it goes missing. The z1 surface seems to always look Ok.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Bugs with hardware rendering
Next Topic: IDL 7: Window blanks while waiting for input from the workbench

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

Current Time: Wed Oct 08 17:36:15 PDT 2025

Total time taken to generate the page: 0.00524 seconds