Re: Combining Paradigm Sim's AudioWorks with MaK's VRLink

New Message Reply Date view Thread view Subject view Author view

Randy Stiles (stiles++at++aic.lockheed.com)
Wed, 26 Jul 95 08:39:01 PDT


I integrated audioworks with the Mak VRLink viewer in
Performer about 2 years ago, using C++ classes.

   Date: Tue, 25 Jul 95 23:04:03 -0500
   From: "Thomas R. DeCarlo" <decarlo++at++sun.aitc.rest.tasc.com>

   I know this is a little off the topic, but I'm trying to add sound
   to my Performer DIS visualizations using AudioWorks. Does anyone
   out there use AudioWorks in a DIS application?

   What I am looking for is a simple example of a DIS listener that
   generates an explosion sound when it gets a detonation pdu.
   (Something like a combination of the AudioWorks onesound.c
   example combined with MaK's stealthSound.cc example. And yes,
   I've tried combining them. No boom.)

You have to check to make sure a couple of things are happening:

1) you are constantly adjusting the ear point to where the viewer
actually is

2) Mak's Stealth code often uses 0,0,0 as the viewpoint, and moves
the database, models, etc in inverse of the viewer, to get rid of
floating point error in Performer at larger distances, such as
those encountered in DIS engagements. This is a good approach,
but can be confusing if you use the DIS coordinates for your
entities and the Performer coordinates of the viewer for your earpoint.
Mak has access to the DCS for remote entities in the code, and
if you use the coordinates for this, and make sure it is transformed
by all matrix parents above, you'll get world coordinates that make
sense with respect to the viewer coordinates

3) check your audioworks board, but most cannot do over 8 sounds
at a time - if you try to do more, you'll hang your SGI machine
when it tries to deal with it. They may have fixed this condition,
I don't know, because we drop sounds outside of a radius from the
viewer, and we ignore adding sounds if we have 8 already active.
Since this is DIS, you don't know ahead of time how many sounds
(explosions, missile bursts, helicopter rotors, etc) you will have
ahead of time for a given viewpoint, so you have to deal with
this issue.

   The folks I've talked to at Paradigm Simulations are either
   unable or unwilling to give me an example of how this can be
   done.

Paradigm has also worked with VRLink before, it is sold as a module
in their Vega product, which I believe also can run their audioworks
board. Maybe this is why they are reluctant to help you use one
of their products, because they want to sell you another product, Vega,
to do this. I dunno. I can only guess.

Hope this helps,

-Randy

// Randy Stiles Office: 415.354.5256 Orgn 9620 Bldg 255
// stiles++at++aic.lockheed.com Fax: 415.354.5235 3251 Hanover Street
// Lockheed AI Center Lab: 415.424.2690 Palo Alto, CA 94304-1191
// http://hitchhiker.space.lockheed.com/~stiles/HOME.html


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:42 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.