Exemplo n.º 1
0
        public override void PresentStep(int index, PresentationViewController presentationViewController)
        {
            switch (index)
            {
            case 0:
                // Set the slide's title
                // And make the bullets we will add later to fade in
                TextManager.SetTitle("Outline");
                TextManager.FadesIn = true;
                break;

            case 1:
                TextManager.AddBulletAtLevel("Scene graph", 0);
                break;

            case 2:
                TextManager.AddBulletAtLevel("Build an application with Scene Kit", 0);
                break;

            case 3:
                TextManager.AddBulletAtLevel("Extending with OpenGL", 0);
                break;

            case 4:
                TextManager.AddBulletAtLevel("What’s new in OS X 10.9", 0);
                break;

            case 5:
                TextManager.AddBulletAtLevel("Performance notes", 0);
                break;
            }
        }
Exemplo n.º 2
0
        public override void SetupSlide(PresentationViewController presentationViewController)
        {
            TextManager.SetTitle("Creating a Scene");

            TextManager.AddBulletAtLevel("Creating programmatically", 0);
            TextManager.AddBulletAtLevel("Loading a scene from a file", 0);
        }
Exemplo n.º 3
0
        public override void PresentStep(int index, PresentationViewController presentationViewController)
        {
            switch (index)
            {
            case 0:
                // Set the slide's title and subtile
                TextManager.SetTitle("Performance");
                TextManager.SetSubtitle("Texturing");

                // From now on, every text we add will fade in
                TextManager.FadesIn = true;
                break;

            case 1:
                TextManager.AddBulletAtLevel("Avoid unnecessarily large images", 0);
                break;

            case 2:
                TextManager.AddBulletAtLevel("Lock ambient and diffuse", 0);
                TextManager.AddCode("#aMaterial.#LocksAmbientWithDiffuse# = true;#");
                break;

            case 3:
                TextManager.AddBulletAtLevel("Use mipmaps", 0);
                TextManager.AddCode("#aMaterial.Diffuse.#MipFilter# = #SCNFilterMode.Linear#;#");
                break;
            }
        }
Exemplo n.º 4
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("Creating a Scene");

			TextManager.AddBulletAtLevel ("Creating programmatically", 0);
			TextManager.AddBulletAtLevel ("Loading a scene from a file", 0);
		}
Exemplo n.º 5
0
		public override void PresentStep (int index, PresentationViewController presentationViewController)
		{
			switch (index) {
			case 0:
				// Set the slide's title
				// And make the bullets we will add later to fade in
				TextManager.SetTitle ("Outline");
				TextManager.FadesIn = true;
				break;
			case 1:
				TextManager.AddBulletAtLevel ("Scene graph", 0);
				break;
			case 2:
				TextManager.AddBulletAtLevel ("Build an application with Scene Kit", 0);
				break;
			case 3:
				TextManager.AddBulletAtLevel ("Extending with OpenGL", 0);
				break;
			case 4:
				TextManager.AddBulletAtLevel ("What’s new in OS X 10.9", 0);
				break;
			case 5:
				TextManager.AddBulletAtLevel ("Performance notes", 0);
				break;
			}
		}
Exemplo n.º 6
0
        public override void SetupSlide(PresentationViewController presentationViewController)
        {
            TextManager.SetTitle("Rendering a Scene");

            TextManager.AddBulletAtLevel("Assign the scene to the renderer", 0);
            TextManager.AddBulletAtLevel("Modifications of the scene graph are automatically reflected", 0);

            TextManager.AddCode("#// Assign the scene \nSCNView.#Scene# = aScene;#");
        }
Exemplo n.º 7
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("Loading a DAE");
			TextManager.SetSubtitle ("Sample code");

			TextManager.AddCode ("#// Load a DAE"
			+ "\n"
			+ "var scene = SCNScene.#FromFile# (\"yourPath\");#");
		}
        public override void SetupSlide(PresentationViewController presentationViewController)
        {
            TextManager.SetTitle("Loading a DAE");
            TextManager.SetSubtitle("Sample code");

            TextManager.AddCode("#// Load a DAE"
                                + "\n"
                                + "var scene = SCNScene.#FromFile# (\"yourPath\");#");
        }
Exemplo n.º 9
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("Extending Scene Kit with OpenGL");

			TextManager.AddBulletAtLevel ("Scene delegate rendering", 0);
			TextManager.AddBulletAtLevel ("Node delegate rendering", 0);
			TextManager.AddBulletAtLevel ("Material custom program", 0);
			TextManager.AddBulletAtLevel ("Shader modifiers", 0);
		}
Exemplo n.º 10
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("Scene Manipulation");
			TextManager.SetSubtitle ("Animating");

			TextManager.AddBulletAtLevel ("Properties are animatable", 0);
			TextManager.AddBulletAtLevel ("Implicit and explicit animations", 0);
			TextManager.AddBulletAtLevel ("Same programming model as Core Animation", 0);
		}
Exemplo n.º 11
0
        public override void SetupSlide(PresentationViewController presentationViewController)
        {
            TextManager.SetTitle("Scene Manipulation");
            TextManager.SetSubtitle("Animating");

            TextManager.AddBulletAtLevel("Properties are animatable", 0);
            TextManager.AddBulletAtLevel("Implicit and explicit animations", 0);
            TextManager.AddBulletAtLevel("Same programming model as Core Animation", 0);
        }
Exemplo n.º 12
0
        public override void SetupSlide(PresentationViewController presentationViewController)
        {
            TextManager.SetTitle("Extending Scene Kit with OpenGL");

            TextManager.AddBulletAtLevel("Scene delegate rendering", 0);
            TextManager.AddBulletAtLevel("Node delegate rendering", 0);
            TextManager.AddBulletAtLevel("Material custom program", 0);
            TextManager.AddBulletAtLevel("Shader modifiers", 0);
        }
Exemplo n.º 13
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("Rendering a Scene");

			TextManager.AddBulletAtLevel ("Assign the scene to the renderer", 0);
			TextManager.AddBulletAtLevel ("Modifications of the scene graph are automatically reflected", 0);

			TextManager.AddCode ("#// Assign the scene \nSCNView.#Scene# = aScene;#");
		}
Exemplo n.º 14
0
        public override void SetupSlide(PresentationViewController presentationViewController)
        {
            TextManager.SetTitle("Scene Manipulation");
            TextManager.SetSubtitle("Code example");

            TextManager.AddCode("#// Move a node to another position. \n"
                                + "aNode.#Position# = new SCNVector3 (0, 0, 0); \n"
                                + "aNode.#Scale#    = new SCNVector3 (2, 2, 2); \n"
                                + "aNode.#Rotation# = new SCNVector4 (x, y, z, angle); \n"
                                + "aNode.#Opacity#  = 0.5f;#");
        }
Exemplo n.º 15
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("Scene Manipulation");
			TextManager.SetSubtitle ("Code example");

			TextManager.AddCode ("#// Move a node to another position. \n"
			+ "aNode.#Position# = new SCNVector3 (0, 0, 0); \n"
			+ "aNode.#Scale#    = new SCNVector3 (2, 2, 2); \n"
			+ "aNode.#Rotation# = new SCNVector4 (x, y, z, angle); \n"
			+ "aNode.#Opacity#  = 0.5f;#");
		}
Exemplo n.º 16
0
        public override void SetupSlide(PresentationViewController presentationViewController)
        {
            TextManager.SetTitle("Scene Manipulation");
            TextManager.SetSubtitle("Basics");

            TextManager.AddBulletAtLevel("Retrieve nodes", 0);
            TextManager.AddBulletAtLevel("Move, scale and rotate", 0);
            TextManager.AddBulletAtLevel("Animate", 0);
            TextManager.AddBulletAtLevel("Change colors and images", 0);
            TextManager.AddBulletAtLevel("Change lighting", 0);
            TextManager.AddBulletAtLevel("Clone", 0);
        }
Exemplo n.º 17
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("Scene Manipulation");
			TextManager.SetSubtitle ("Basics");

			TextManager.AddBulletAtLevel ("Retrieve nodes", 0);
			TextManager.AddBulletAtLevel ("Move, scale and rotate", 0);
			TextManager.AddBulletAtLevel ("Animate", 0);
			TextManager.AddBulletAtLevel ("Change colors and images", 0);
			TextManager.AddBulletAtLevel ("Change lighting", 0);
			TextManager.AddBulletAtLevel ("Clone", 0);
		}
Exemplo n.º 18
0
        public override void SetupSlide(PresentationViewController presentationViewController)
        {
            TextManager.SetTitle("More Information");

            TextManager.AddTextAtLevel("Allan Schaffer", 0);
            TextManager.AddTextAtLevel("Graphics and Game Technologies Evangelist", 1);
            TextManager.AddTextAtLevel("*****@*****.**", 2);
            TextManager.AddEmptyLine();

            TextManager.AddTextAtLevel("Documentation", 0);
            TextManager.AddTextAtLevel("Scene Kit Programming Guide", 1);
            TextManager.AddTextAtLevel("http://developer.apple.com", 2);
            TextManager.AddEmptyLine();

            TextManager.AddTextAtLevel("Apple Developer Forums", 0);
            TextManager.AddTextAtLevel("http://devforums.apple.com", 2);
            TextManager.AddEmptyLine();
        }
Exemplo n.º 19
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("More Information");

			TextManager.AddTextAtLevel ("Allan Schaffer", 0);
			TextManager.AddTextAtLevel ("Graphics and Game Technologies Evangelist", 1);
			TextManager.AddTextAtLevel ("*****@*****.**", 2);
			TextManager.AddEmptyLine ();

			TextManager.AddTextAtLevel ("Documentation", 0);
			TextManager.AddTextAtLevel ("Scene Kit Programming Guide", 1);
			TextManager.AddTextAtLevel ("http://developer.apple.com", 2);
			TextManager.AddEmptyLine ();

			TextManager.AddTextAtLevel ("Apple Developer Forums", 0);
			TextManager.AddTextAtLevel ("http://devforums.apple.com", 2);
			TextManager.AddEmptyLine ();
		}
Exemplo n.º 20
0
		public override void PresentStep (int index, PresentationViewController presentationViewController)
		{
			switch (index) {
			case 0:
				// Set the slide's title and subtile
				TextManager.SetTitle ("Performance");
				TextManager.SetSubtitle ("Texturing");

				// From now on, every text we add will fade in
				TextManager.FadesIn = true;
				break;
			case 1:
				TextManager.AddBulletAtLevel ("Avoid unnecessarily large images", 0);
				break;
			case 2:
				TextManager.AddBulletAtLevel ("Lock ambient and diffuse", 0);
				TextManager.AddCode ("#aMaterial.#LocksAmbientWithDiffuse# = true;#");
				break;
			case 3:
				TextManager.AddBulletAtLevel ("Use mipmaps", 0);
				TextManager.AddCode ("#aMaterial.Diffuse.#MipFilter# = #SCNFilterMode.Linear#;#");
				break;
			}
		}
Exemplo n.º 21
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("Scene Graph");
 }
Exemplo n.º 22
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("Performance");
		}
Exemplo n.º 23
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("Performance");
 }
Exemplo n.º 24
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("What's new in OS X 10.9");
		}
Exemplo n.º 25
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("Building an Application\nwith Scene Kit");
		}
Exemplo n.º 26
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("Building an Application\nwith Scene Kit");
 }
Exemplo n.º 27
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetTitle ("Scene Kit");
			TextManager.AddBulletAtLevel ("Introduced in Mountain Lion", 0);
			TextManager.AddBulletAtLevel ("Eases the integration of 3D into applications", 0);
		}
Exemplo n.º 28
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("What's new in OS X 10.9");
 }
Exemplo n.º 29
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("Extending with OpenGL");
		}
Exemplo n.º 30
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("Scene Graph");
		}
Exemplo n.º 31
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("What's New in Scene Kit");
		}
Exemplo n.º 32
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetTitle("Scene Kit");
     TextManager.AddBulletAtLevel("Introduced in Mountain Lion", 0);
     TextManager.AddBulletAtLevel("Eases the integration of 3D into applications", 0);
 }
Exemplo n.º 33
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("Extending with OpenGL");
 }
Exemplo n.º 34
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("What's New in Scene Kit");
 }