[GRASS5] Re: Interupted Nviz display

Bob Covill bcovill at tekmap.ns.ca
Thu Jan 18 08:17:20 EST 2001


You are right, NVZI does stack the draw commands. That was one of my concerns
when I added the auto-draw features. The Nset_cancel command will cancel a draw
in progress, but it will only cancel one draw request at a time. With the
auto-draw features, I bound this command to the canvas widgets (position and
light position). If you change position during the middle of a re-draw it is
cancelled. This could also be bound to the scale and entry widgets as well. The
only problem is, if more than one item is being drawn it will only cancel the
first re-draw.

Maybe a better solution, that I have not looked at yet is to have the cancel
routine built right in to the actual draw commands. In other words calling the
draw command (surface, vector, etc) will cancel an existing draw cammand.

Justin Hickey wrote:

> Hi Helena
> ....
> One thing I noticed is that we may want to change the lighting controls,
> they do not seem very intuitive to me, but that's just my opinion. Also,
> it seems that interrupting the render process is not truly interruptive.
> While playing around with the lighting I interrupted the render many
> times, yet when I stopped and let the render finish it flashed between
> wire frame and rendered surface several times. This seems to indicate
> that the commands were being queued somehow.
> Anyway, I don't have a lot of time right now to look into this, I might
> be able to take 1/2 a day or so.
> --
> Sincerely,
> Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
> High Performance Computing Center
> National Electronics and Computer Technology Center (NECTEC)
> Bangkok, Thailand
> ==================================================================
> People who think they know everything are very irritating to those
> of us who do.  ---Anonymous
> Jazz and Trek Rule!!!
> ==================================================================
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'

Bob Covill

Tekmap Consulting
P.O. Box 2016
Fall River, N.S.
B2T 1K6

E-Mail: bcovill at tekmap.ns.ca
Phone: 902-860-1496
Fax: 902-860-1498

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bcovill.vcf
Type: text/x-vcard
Size: 257 bytes
Desc: Card for Bob Covill
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20010118/5776ec46/bcovill.vcf

More information about the grass-dev mailing list