Skip to content

Commit

Permalink
Improve boing ball pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjs committed Nov 25, 2014
1 parent fd039a4 commit 58c1835
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions VR-iOS-Experiment.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
05ADC3E819DA20B700B0EC7A /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05ADC3E719DA20B700B0EC7A /* CoreMotion.framework */; };
05ADC3EB19DA21CB00B0EC7A /* FireParticles.scnp in Resources */ = {isa = PBXBuildFile; fileRef = 05ADC3E919DA21CB00B0EC7A /* FireParticles.scnp */; };
05ADC3EC19DA21CB00B0EC7A /* spark.png in Resources */ = {isa = PBXBuildFile; fileRef = 05ADC3EA19DA21CB00B0EC7A /* spark.png */; };
05ADC3EE19DA25A600B0EC7A /* 500px-Checkerboard_pattern.png in Resources */ = {isa = PBXBuildFile; fileRef = 05ADC3ED19DA25A600B0EC7A /* 500px-Checkerboard_pattern.png */; };
05ADC3EE19DA25A600B0EC7A /* checkerboard_pattern.png in Resources */ = {isa = PBXBuildFile; fileRef = 05ADC3ED19DA25A600B0EC7A /* checkerboard_pattern.png */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -45,7 +45,7 @@
05ADC3E719DA20B700B0EC7A /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
05ADC3E919DA21CB00B0EC7A /* FireParticles.scnp */ = {isa = PBXFileReference; lastKnownFileType = file.scp; path = FireParticles.scnp; sourceTree = "<group>"; };
05ADC3EA19DA21CB00B0EC7A /* spark.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = spark.png; sourceTree = "<group>"; };
05ADC3ED19DA25A600B0EC7A /* 500px-Checkerboard_pattern.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "500px-Checkerboard_pattern.png"; sourceTree = "<group>"; };
05ADC3ED19DA25A600B0EC7A /* checkerboard_pattern.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = checkerboard_pattern.png; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -91,7 +91,7 @@
05ADC3C019DA200700B0EC7A /* VR-iOS-Experiment */ = {
isa = PBXGroup;
children = (
05ADC3ED19DA25A600B0EC7A /* 500px-Checkerboard_pattern.png */,
05ADC3ED19DA25A600B0EC7A /* checkerboard_pattern.png */,
05ADC3C319DA200700B0EC7A /* AppDelegate.swift */,
05ADC3C519DA200700B0EC7A /* ViewController.swift */,
05ADC3C719DA200700B0EC7A /* Main.storyboard */,
Expand Down Expand Up @@ -212,7 +212,7 @@
05ADC3C919DA200700B0EC7A /* Main.storyboard in Resources */,
05ADC3EC19DA21CB00B0EC7A /* spark.png in Resources */,
05ADC3EB19DA21CB00B0EC7A /* FireParticles.scnp in Resources */,
05ADC3EE19DA25A600B0EC7A /* 500px-Checkerboard_pattern.png in Resources */,
05ADC3EE19DA25A600B0EC7A /* checkerboard_pattern.png in Resources */,
05ADC3CE19DA200700B0EC7A /* LaunchScreen.xib in Resources */,
05ADC3CB19DA200700B0EC7A /* Images.xcassets in Resources */,
);
Expand Down Expand Up @@ -425,6 +425,7 @@
05ADC3DF19DA200700B0EC7A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
05ADC3E019DA200700B0EC7A /* Build configuration list for PBXNativeTarget "VR-iOS-ExperimentTests" */ = {
isa = XCConfigurationList;
Expand All @@ -433,6 +434,7 @@
05ADC3E219DA200700B0EC7A /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
Binary file removed VR-iOS-Experiment/500px-Checkerboard_pattern.png
Binary file not shown.
2 changes: 1 addition & 1 deletion VR-iOS-Experiment/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class ViewController: UIViewController {
scene.rootNode.addChildNode(boingBallNode)

let material = SCNMaterial()
material.diffuse.contents = UIImage(named: "500px-Checkerboard_pattern.png")
material.diffuse.contents = UIImage(named: "checkerboard_pattern.png")
material.specular.contents = UIColor.whiteColor()
material.shininess = 1.0
boingBall.materials = [ material ]
Expand Down
Binary file added VR-iOS-Experiment/checkerboard_pattern.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 58c1835

Please sign in to comment.