Ejemplo n.º 1
0
        public DeskSet(int position, ConferenceAttendee attendee)
        {
            fPosition = position;
            fAttendee = attendee;

            // Desk Set Felt Pad

            // Bifold Monitor
            AABB boundary = new AABB(new NewTOAPIA.Vector3D(0.33f, 0.33f, 0.025f), new Point3D(0,1.025f,0));
            fMonitor = new DisplayMonitor(attendee.Session.Model.GI, boundary, new Resolution(1024,768));
            fMonitor.Rotate(-60, new float3(0, 1, 0));
            fMonitor.Translate(new Vector3D(-0.50f, 0.05f, 0.5f));

            // Create some viewers to receive images
            fDesktopViewer = new ReceivingTexture(attendee.Session.Model.GI, 620, 440);
            fWebcamViewer = new ReceivingTexture(attendee.Session.Model.GI, 352, 288);

            // Show the display on multiple monitors
            fMonitor.ImageSource = fWebcamViewer;
            attendee.Session.Model.Room.Whiteboard.ImageSource = fDesktopViewer;

            // Video Pedestal display

            // Whiteboard Pen Set

            AddChild(fMonitor);
        }
Ejemplo n.º 2
0
        public ConferenceRoom(GraphicsInterface gi, Vector3D roomSize)
            : base(gi, roomSize, new Vector3D(0, roomSize.Y / 2.0f, 0), new Resolution(10, 10))
        {


            fWallTexture = TextureHelper.CreateTextureFromFile(gi, "Textures\\Wall.tiff", false);
            fCeilingTexture = TextureHelper.CreateTextureFromFile(gi, "Textures\\Ceiling.tiff", false);
            fFloorTexture = TextureHelper.CreateTextureFromFile(gi, "Textures\\Carpet_berber_dirt.jpg", false);

            fChildren = new List<IRenderable>();

            SetWallTexture(AABBFace.Ceiling, fCeilingTexture);
            SetWallTexture(AABBFace.Floor, fFloorTexture);

            SetWallTexture(AABBFace.Front, fWallTexture);
            SetWallTexture(AABBFace.Back, fWallTexture);
            SetWallTexture(AABBFace.Left, fWallTexture);
            SetWallTexture(AABBFace.Right, fWallTexture);

            Vector3D wbSize = new Vector3D(4.0f-(0.305f*2.0f), 3.0f, 0.01f);
            Point3D wbTrans = new Point3D(0, (wbSize.Y/2)+(roomSize.Y-wbSize.Y)/2, -roomSize.Z / 2.0f+.02f);
            AABB wbBB = new AABB(wbSize, wbTrans);
            whiteboard = new Whiteboard(gi, wbBB);
            //whiteboard.ImageSource = localCamProjector;
            
            fTable = new PedestalTable(gi);

            
            
            fChildren.Add(whiteboard);
            fChildren.Add(fTable);
        }
Ejemplo n.º 3
0
 public Whiteboard(GraphicsInterface gi, AABB boundary)
     :base(gi, boundary, new Resolution(1024,768))
 {
 }