Skip to content

Commit

Permalink
added raytracing
Browse files Browse the repository at this point in the history
  • Loading branch information
mhorga committed Jul 12, 2018
1 parent 04c2663 commit fa63cd0
Show file tree
Hide file tree
Showing 15 changed files with 1,970 additions and 0 deletions.
345 changes: 345 additions & 0 deletions raytracing/RayTracing.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,345 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {

/* Begin PBXBuildFile section */
2994029720F1703F00AF5474 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2994029620F1703F00AF5474 /* AppDelegate.swift */; };
2994029920F1703F00AF5474 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2994029820F1703F00AF5474 /* ViewController.swift */; };
2994029C20F1703F00AF5474 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2994029A20F1703F00AF5474 /* Main.storyboard */; };
2994029F20F1703F00AF5474 /* Shaders.metal in Sources */ = {isa = PBXBuildFile; fileRef = 2994027A20F1703D00AF5474 /* Shaders.metal */; };
299402A120F1703F00AF5474 /* Renderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2994027B20F1703D00AF5474 /* Renderer.swift */; };
299402A320F1703F00AF5474 /* ShaderTypes.h in Resources */ = {isa = PBXBuildFile; fileRef = 2994027C20F1703D00AF5474 /* ShaderTypes.h */; };
299402B020F1BB5800AF5474 /* Scene.swift in Sources */ = {isa = PBXBuildFile; fileRef = 299402AE20F1BB5800AF5474 /* Scene.swift */; };
299402B320F1D0E600AF5474 /* Transforms.swift in Sources */ = {isa = PBXBuildFile; fileRef = 299402B120F1D0E600AF5474 /* Transforms.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
2994027A20F1703D00AF5474 /* Shaders.metal */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.metal; path = Shaders.metal; sourceTree = "<group>"; };
2994027B20F1703D00AF5474 /* Renderer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Renderer.swift; sourceTree = "<group>"; };
2994027C20F1703D00AF5474 /* ShaderTypes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ShaderTypes.h; sourceTree = "<group>"; };
2994029420F1703F00AF5474 /* RayTracing.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RayTracing.app; sourceTree = BUILT_PRODUCTS_DIR; };
2994029620F1703F00AF5474 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
2994029820F1703F00AF5474 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
2994029B20F1703F00AF5474 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
2994029D20F1703F00AF5474 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
299402AE20F1BB5800AF5474 /* Scene.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Scene.swift; sourceTree = "<group>"; };
299402B120F1D0E600AF5474 /* Transforms.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Transforms.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
2994029120F1703F00AF5474 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
2994027420F1703D00AF5474 = {
isa = PBXGroup;
children = (
2994027B20F1703D00AF5474 /* Renderer.swift */,
299402AE20F1BB5800AF5474 /* Scene.swift */,
299402B120F1D0E600AF5474 /* Transforms.swift */,
2994027A20F1703D00AF5474 /* Shaders.metal */,
2994027C20F1703D00AF5474 /* ShaderTypes.h */,
29CED22920F7B1FC00B26108 /* Supporting files */,
2994028320F1703F00AF5474 /* Products */,
);
sourceTree = "<group>";
};
2994028320F1703F00AF5474 /* Products */ = {
isa = PBXGroup;
children = (
2994029420F1703F00AF5474 /* RayTracing.app */,
);
name = Products;
sourceTree = "<group>";
};
29CED22920F7B1FC00B26108 /* Supporting files */ = {
isa = PBXGroup;
children = (
2994029620F1703F00AF5474 /* AppDelegate.swift */,
2994029820F1703F00AF5474 /* ViewController.swift */,
2994029A20F1703F00AF5474 /* Main.storyboard */,
2994029D20F1703F00AF5474 /* Info.plist */,
);
path = "Supporting files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
2994029320F1703F00AF5474 /* RayTracing */ = {
isa = PBXNativeTarget;
buildConfigurationList = 299402AB20F1703F00AF5474 /* Build configuration list for PBXNativeTarget "RayTracing" */;
buildPhases = (
2994029020F1703F00AF5474 /* Sources */,
2994029120F1703F00AF5474 /* Frameworks */,
2994029220F1703F00AF5474 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = RayTracing;
productName = "MPS macOS";
productReference = 2994029420F1703F00AF5474 /* RayTracing.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
2994027520F1703D00AF5474 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1000;
LastUpgradeCheck = 1000;
TargetAttributes = {
2994029320F1703F00AF5474 = {
CreatedOnToolsVersion = 10.0;
};
};
};
buildConfigurationList = 2994027820F1703D00AF5474 /* Build configuration list for PBXProject "RayTracing" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 2994027420F1703D00AF5474;
productRefGroup = 2994028320F1703F00AF5474 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
2994029320F1703F00AF5474 /* RayTracing */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
2994029220F1703F00AF5474 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2994029C20F1703F00AF5474 /* Main.storyboard in Resources */,
299402A320F1703F00AF5474 /* ShaderTypes.h in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
2994029020F1703F00AF5474 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
299402A120F1703F00AF5474 /* Renderer.swift in Sources */,
2994029F20F1703F00AF5474 /* Shaders.metal in Sources */,
299402B320F1D0E600AF5474 /* Transforms.swift in Sources */,
299402B020F1BB5800AF5474 /* Scene.swift in Sources */,
2994029920F1703F00AF5474 /* ViewController.swift in Sources */,
2994029720F1703F00AF5474 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
2994029A20F1703F00AF5474 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
2994029B20F1703F00AF5474 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
299402A620F1703F00AF5474 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
299402A720F1703F00AF5474 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
name = Release;
};
299402AC20F1703F00AF5474 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = "$(SRCROOT)/Supporting files/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
PRODUCT_BUNDLE_IDENTIFIER = org.metalkit.RayTracing;
PRODUCT_NAME = RayTracing;
SDKROOT = macosx;
SWIFT_OBJC_BRIDGING_HEADER = ShaderTypes.h;
SWIFT_VERSION = 4.2;
};
name = Debug;
};
299402AD20F1703F00AF5474 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = "$(SRCROOT)/Supporting files/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
PRODUCT_BUNDLE_IDENTIFIER = org.metalkit.RayTracing;
PRODUCT_NAME = RayTracing;
SDKROOT = macosx;
SWIFT_OBJC_BRIDGING_HEADER = ShaderTypes.h;
SWIFT_VERSION = 4.2;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
2994027820F1703D00AF5474 /* Build configuration list for PBXProject "RayTracing" */ = {
isa = XCConfigurationList;
buildConfigurations = (
299402A620F1703F00AF5474 /* Debug */,
299402A720F1703F00AF5474 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
299402AB20F1703F00AF5474 /* Build configuration list for PBXNativeTarget "RayTracing" */ = {
isa = XCConfigurationList;
buildConfigurations = (
299402AC20F1703F00AF5474 /* Debug */,
299402AD20F1703F00AF5474 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 2994027520F1703D00AF5474 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Binary file not shown.
Loading

0 comments on commit fa63cd0

Please sign in to comment.