MASON-INTEREST-L Archives

September 2009

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Mon, 7 Sep 2009 09:42:45 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
On Sep 7, 2009, at 9:02 AM, Joerg Hoehne wrote:

> Hi Sean,
> it looks like my previous message went to the null-device. Here it  
> is again in different words:
>
> 1) I've rebuilt MASON without any problems.
>
> 2) The balls3d demo works fine, the one from the website and the  
> recent one from the CVS.
>
> 3) Rebuilding my code the compiler told me the method
> appearanceForColors(Color, Color, Color, Color, Color, float, float)  
> changed to
> appearanceForColors(Color, Color, Color, Color, float, float).
>
> 4) Now the spheres are displayed shaded (unexpected but not a  
> serious problem).
>
> 5) The the CubePortrayal3D objects stay white because the  
> CubePortrayal3D is not inherited from
> PrimitivePortrayal3D and the method appearanceForColors(Color,  
> Color, Color, Color, float, float)
> is not supported. Is there any reason why only BoxPortrayal3D,  
> ConePortrayal3D,
> CylinderPortrayal3D, Shape3DPortrayal3D and SpherePortrayal3D are  
> inherited from
> PrimitivePortrayal3D?

Good.

If you'd like unshaded spheres in general (in 3D parlance, they're  
"unlit"), the default for Sphere3D should be unlit colored spheres.   
They're only lit in balls3D because of the code in BallPortrayal3D  
(check it out).

CubePortrayal3D's not a subclass yet because Gabriel is deciding  
whether or not to get rid of it and just collapse to BoxPortrayal3D.   
Gabriel?

Sean

ATOM RSS1 RSS2