예제 #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;
            }
        }
예제 #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);
        }
예제 #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;
            }
        }
예제 #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);
		}
예제 #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;
			}
		}
예제 #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;#");
        }
예제 #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\");#");
        }
예제 #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);
		}
예제 #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);
		}
예제 #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);
        }
예제 #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);
        }
예제 #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;#");
		}
예제 #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;#");
        }
예제 #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;#");
		}
예제 #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);
        }
예제 #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);
		}
예제 #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();
        }
예제 #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 ();
		}
예제 #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;
			}
		}
예제 #21
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("Scene Graph");
 }
예제 #22
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("Performance");
		}
예제 #23
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("Performance");
 }
예제 #24
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("What's new in OS X 10.9");
		}
예제 #25
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("Building an Application\nwith Scene Kit");
		}
예제 #26
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("Building an Application\nwith Scene Kit");
 }
예제 #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);
		}
예제 #28
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("What's new in OS X 10.9");
 }
예제 #29
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("Extending with OpenGL");
		}
예제 #30
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("Scene Graph");
		}
예제 #31
0
		public override void SetupSlide (PresentationViewController presentationViewController)
		{
			TextManager.SetChapterTitle ("What's New in Scene Kit");
		}
예제 #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);
 }
예제 #33
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("Extending with OpenGL");
 }
예제 #34
0
 public override void SetupSlide(PresentationViewController presentationViewController)
 {
     TextManager.SetChapterTitle("What's New in Scene Kit");
 }