🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.khoros
Article #912

Graphics with Khoros message (#4)

#912
From: Daniel Albrecht
Date: Wed, 16 Dec 1992 17:22
55 lines
2371 bytes
Hello,

        As a still new Khoros user, I wrote some Vroutines which are working
fine.
I am interested in writing HYBRID GRAPHICS(NON interactive) routines.
This to be able to superimpose on B/W (8 bits/pixels)images, overlay
graphics.
Khoros documentation ENCOURAGES users to do so !!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I use a Sun4 standard machine (O.S. (4.1.2)) + Khoros(1.0) + Fortran(1.5)
I know very well 'C' language but I am NOT that used to Xwindows
programming.

<<<<<<< THIS MY 4th MESSAGE ABOUT GRAPHICS WITH KHOROS >>>>>>>>

I would like to :
        1) to display simulatenously in my program 2 images.
               - 1 source image.
               - 1 destination image.
        2) to be able to add some graphics on the source image.
        3) to be able to add some graphics and modify the pixels
           on the destination image.

Problems:
I MUST APOLOGISE FOR MY PRECEDENT MESSAGE(#3).
My program was roughly good.
It appeared to me that the ONLY problem I have is :

 when a particular task is a bit heavy(longer process),
 the next task could be carried out before the end of the first one !!!

 ex.: xvd_update_image();   /* longer process updates & clears annotations
*/
      X2D_drawline();       /* short process */

      xvd_update_image takes a longer time and finishes
      after X2D_drawline. X2D_drawline once carried out is erased by
      xvd_update_image which ends.


                     -------------------------
                     |       Questions       |
                     -------------------------

1) Is there a way to SYNCHRONIZE or WAIT for the end of an heavy process
????
2) Is it easily possible to UNdraw any graphic function ???

Regards

-----------------------------------------------------------------
Albrecht daniel       Image Processing laboratory
daniel.albrecht@cen.jrc.it              ( E.E.C. - Europe )
-----------------------------------------------------------------
Technical Details
Message-ID: <42193@pprg.eece.unm.edu.pprg.unm.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!hp-cv!ogicse!mimbres.cs.unm.edu!pprg.unm.edu!daemon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!hp-cv!ogicse!mimbres.cs.unm.edu!pprg.unm.edu!daemon
From: daniel.albrecht@jrc.it (Daniel Albrecht)
Newsgroups: comp.soft-sys.khoros
Subject: Graphics with Khoros message (#4)
Message-ID: <42193@pprg.eece.unm.edu.pprg.unm.edu>
Date: 16 Dec 92 17:22:13 GMT
Article-I.D.: pprg.42193
Sender: daemon@pprg.unm.edu
Lines: 55