🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.explorer
Article #20

Re: Explorer questions

#20
From: Wizard of OZ
Date: Tue, 03 Nov 1992 03:08
43 lines
2355 bytes
In article <140114@lll-winken.LLNL.GOV>, rob@chaos.NoSubdomain.NoDomain (Rob Armstrong) writes:
|> From: rob@chaos.NoSubdomain.NoDomain (Rob Armstrong)
|> Newsgroups: comp.graphics.explorer
|> Subject: Explorer questions
|> Date: Wed, 28 Oct 92 11:45:06 PDT
|> Lines: 19
|> Nntp-Posting-Host: chaos.ran.sandia.gov
|> 
|> I am new to explorer and have some experience with AVS.  I have two
|> questions - the first more important than the second.
|> 
|> I am interested in connecting a running numerical code to an explorer
|> network for real time updates of a generated lattice.  Thus I need to
|> be able to "fire" the downstream modules and it has to be running all
|> the time.  In AVS language: I need to create a co-routine.  How do I
|> do this in Explorer?  
|> 

See cxOutputDataFlush() . This is how the infamous Kuwait demo shoves each
frame of the simulation downstream. But be aware that a module that is
running all the time is not capable of re-reading widgets. A better approach 
might be to use cxTimerAdd with cxFireASAP and go in/out of user code. 
This will allow the user to at least tell it to stop ;-)


|> I recognize that the contributed Axis module will admit only 3D
|> lattices, but it would seem that modifying it to work with 2D lattices
|> (the output of my numerical application) would not be difficult.  In
|> looking at the Axis.c code, I realize that I do not understand how the
|> lattice-to-geom module figures out the third (z-displacement)
|> dimension(?).  Anyway, I am looking for ways to annotate false color 2D
|> regions in Explorer.  I am willing to give up fancy axes - I just want
|> to lay down a label in the render module.
|> 
|> 

-- 

Gary Griffin			I just hope I'm still dreamin'
gary@sgi.com			'cause if this is for real
				I'm gonna get very depressed
Think WORLDWIDE		
						Howard T Duck
Technical Details
Message-ID: <1d4qfbINNlv9@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!sgi!fido!enigma.esd.sgi.com!gary
References: <140114@lll-winken.LLNL.GOV>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!sgi!fido!enigma.esd.sgi.com!gary
From: gary@enigma.esd.sgi.com (Wizard of OZ)
Newsgroups: comp.graphics.explorer
Subject: Re: Explorer questions
Date: 3 Nov 1992 03:08:27 GMT
Organization: Silicon Graphics Computer Systems, Mountain View, CA
Lines: 43
Distribution: world
Message-ID: <1d4qfbINNlv9@fido.asd.sgi.com>
References: <140114@lll-winken.LLNL.GOV>
Reply-To: gary@sgi.com
NNTP-Posting-Host: enigma.esd.sgi.com