Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] information request


Chronological Thread 
  • From: Abe Stephens <abe@sci.utah.edu>
  • To: Christian Odom <cnsodom@gmail.com>, manta@sci.utah.edu
  • Subject: Re: [MANTA] information request
  • Date: Tue, 30 Jan 2007 00:35:02 -0700

Christian,

I'm not sure if I have the whole picture of what you'd like to do, but here are the basics:
  • Transactions issued by an asynchronous thread are used alter renderer state--including geometry or camera. Take a look at the examples on the wiki.
  • Frame buffer display is implemented through a separate ImageDisplay interface. In the past we've used sgi vizserver for remote display/collaboration which integrates with X11.
Your description isn't too different from how the bin/manta program interacts with an X server. There's code in XWindowUI which listens for X11 messages (for example mouse clicks) and translates them into Manta transactions which move the camera and modify state etc. On the output side, Manta asynchronously sends GL commands back to the server over GLX to display frames (take a look at some of the code in Manta/Engine/Display/).

For SC2005 we integrated manta with the SGI "MediaFusion" Performer based app. This involved writing a program which waited for Performer messages and translated them into Manta transactions for input.  Then for output we wrote an image display class to dump frames into a MediaFusion stream. This particular code probably doesn't build any more, but it's located in Manta/fox/sc_demo/.

Abe

Christian Odom wrote:
Hi everyone

We are trying to create a server app that will run on computer1 and
send positional data to computer2, which is running Manta.  We would
then like to have Manta render the scene based on the positional data
and ship it back to computer1 where the server app will display the
image.

Can someone point me in the right direction in regards to Manta?

Christian Odom
Graduate Student
Louisiana Immersive Technologies Enterprise

On 1/26/07, bigler@sci.utah.edu <bigler@sci.utah.edu> wrote:
Author: bigler
Date: Fri Jan 26 12:52:27 2007
New Revision: 1274

Modified:
   trunk/Model/Cameras/PinholeCamera.cc
Log:

90 degrees for the default field of view leaves no boarder around the
geometry.  Set to 60.


Modified: trunk/Model/Cameras/PinholeCamera.cc
==============================================================================
--- trunk/Model/Cameras/PinholeCamera.cc        (original)
+++ trunk/Model/Cameras/PinholeCamera.cc        Fri Jan 26 12:52:27 2007
@@ -459,7 +459,7 @@
       eye = Vector(0,1,0);
       lookat = Vector(0,0,0);
       up = Vector(0, 0, 1);
-      hfov = 90;
+      hfov = 60;
       BBox bbox;
       scene->getObject()->computeBounds(context, bbox);
       autoview(bbox);





Archive powered by MHonArc 2.6.16.

Top of page