MASON-INTEREST-L Archives

October 2007

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Thu, 11 Oct 2007 10:28:37 -0400
MIME-version:
1.0 (Apple Message framework v752.3)
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=US-ASCII; delsp=yes; format=flowed
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
7bit
Comments:
To: MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (35 lines)
I'm sorry Bo, I've had no experience with FLT files.  However I  
believe that you can probably do:

import sim.portrayal3d.*;

SharedGroup sg = new SharedGroup();
sg.addChild(s.getSceneGroup());
SharedGroupPortrayal3D sgp3d = new SharedGroupPortrayal3D(sg);

 From there you can use sgp3d as a simple portrayal in MASON's 3D  
code.  Note that SharedGroupPortrayal3D is not pickable -- you can't  
select it or inspect it.

Sean

On Oct 11, 2007, at 5:30 AM, Bo Liu wrote:

> Hi,
>     I have some trouble with Mason. The problem is my agents are  
> some file liking  *.flt,  I want to  loading  them into Mason. I  
> have OPENFLT LOADER from J3D.
>
> To load *.flt into Mason. The program is:
> ......
> FltLoader fltLoader;
> String fileName="example.flt";
> Scene s=null;
> s=fltLoader.Load(fileName);
> ......
>
> And then I want to add my example.flt to Mason.  How to do it?
>
> Boboo
> 2007.10.11

ATOM RSS1 RSS2