Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jKnepel committed Jan 26, 2025
0 parents commit 3b06954
Show file tree
Hide file tree
Showing 215 changed files with 112,247 additions and 0 deletions.
90 changes: 90 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Extended version of: https://github.com/github/gitignore/blob/master/Unity.gitignore

# Unity
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
[Uu][Ww][Pp]/
[Uu]nity[Pp]ackage[Mm]anager/
[Ll]ogs/
[Uu]ser[Ss]ettings/
**/[Aa]ssets/[Aa]sset[Ss]tore[Tt]ools*

# Asset meta data should only be ignored when the corresponding asset is also ignored
!**/[Aa]ssets/**/*.meta

# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
[Mm]emoryCaptures/

# Recordings can get excessive in size
[Rr]ecordings/

# Visual Studio
.vs/
# JetBrains
**/[Aa]ssets/Plugins/Editor/JetBrains*
.idea
# Visual Studio Code
*.vscode/
.vsconfig

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D Generated File On Crash Reports
sysinfo.txt

# Builds
*.apk
*.aab
*.unitypackage
*.app
*.exe
*.x86_64
*.x86

# Crashlytics generated file
crashlytics-build.properties

# TextMeshPro
com.unity.textmeshpro
**/[Aa]ssets/TextMesh Pro*

# NuGet
**/[Aa]ssets/[Pp]ackages*

# Packed Addressables
**/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*

# Temporary auto-generated Android Assets
**/[Aa]ssets/[Ss]treamingAssets/aa.meta
**/[Aa]ssets/[Ss]treamingAssets/aa/*

# Mac general files
.DS_Store
8 changes: 8 additions & 0 deletions Assets/NovoceneSamples.meta

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

21 changes: 21 additions & 0 deletions Assets/NovoceneSamples/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 AURORA XR School for Artists & Jens Isensee

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
7 changes: 7 additions & 0 deletions Assets/NovoceneSamples/LICENSE.md.meta

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

26 changes: 26 additions & 0 deletions Assets/NovoceneSamples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# NovoceneSamples

This repository provides a Unity package, which contains samples from the [Novocene](https://aurora.htw-berlin.de/novocene/) project developed by [AURORA XR School for Artists](https://aurora.htw-berlin.de/) and [Jens Isensee](https://jensisensee.de/). This project is an interactive Mixed Reality experience for the Meta Quest HMDs. The provided samples are open-source and can be imported and used in any other Unity project, which uses a compatible version of the Meta XR SDK and Universal Rendering Pipeline.

## Samples

The following samples are contained within the package and can be imported individually into any project:

- [Ceiling Cutout](https://github.com/FKI-HTW/NovoceneSamples/blob/main/Assets/NovoceneSamples/Samples~/CeilingCutout/CHANGELOG.md):
- Enables Meta Quest passthrough and spawns a cutout in the physical room's ceiling to show the skybox above.
- [Passthrough Flashlight](https://github.com/FKI-HTW/NovoceneSamples/blob/main/Assets/NovoceneSamples/Samples~/PassthroughFlashlight/CHANGELOG.md):
- Shows an example of layering passthrough with different brightness scalings to create a flashlight effect in the passthrough.
- [Scene Anchoring](https://github.com/FKI-HTW/NovoceneSamples/blob/main/Assets/NovoceneSamples/Samples~/SceneAnchoring/CHANGELOG.md):
- Provides scripts for anchoring objects in user-defined position, rotation, and scaling, saving the anchors between sessions and scenes.
- [Underwater Scene](https://github.com/FKI-HTW/NovoceneSamples/blob/main/Assets/NovoceneSamples/Samples~/UnderwaterScene/CHANGELOG.md):
- Contains a rising and lowering water shader in the physical passthrough room with object's buoyancy being physically simulated.

While these samples can be used as they are, they are primarily meant to be used as bases for you to implement your own solutions on top.
Each individual sample also provides an additional README file for information on its functionality and usage.

## Installation

Download the package through the <strong>Window > Package Manager</strong> in the Unity Editor with <strong>Add package from git URL...</strong>.
Using the URL <strong>https://github.com/FKI-HTW/NovoceneSamples.git#upm</strong> for the newest version, or <strong>https://github.com/FKI-HTW/NovoceneSamples.git#VERSION_TAG</strong> for a specific one. The available version tags can be found in [Tags](https://github.com/FKI-HTW/NovoceneSamples/tags).

Once downloaded, the individual samples can be imported in the package manager, in the NovoceneSamples package > Samples. The samples will then be imported into the Assets/Samples folder and can either be used directly or used as a base to add your own implementations on top.
7 changes: 7 additions & 0 deletions Assets/NovoceneSamples/README.md.meta

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

8 changes: 8 additions & 0 deletions Assets/NovoceneSamples/Samples.meta

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

8 changes: 8 additions & 0 deletions Assets/NovoceneSamples/Samples/CeilingCutout.meta

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

8 changes: 8 additions & 0 deletions Assets/NovoceneSamples/Samples/CeilingCutout/Materials.meta

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,137 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: OcclusionMat
m_Shader: {fileID: 4800000, guid: d83cf346d52c15b4abac9c631a96e7c5, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2451
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BlendOpAlpha: 3
- _BlendOpColor: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Inflation: 0
- _InvertedAlpha: 1
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZTest: 4
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
--- !u!114 &1154957636676693706
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 7

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

30 changes: 30 additions & 0 deletions Assets/NovoceneSamples/Samples/CeilingCutout/Materials/Stencil.mat
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Stencil
m_Shader: {fileID: 4800000, guid: e5d2fda0585d2b7469847d5549b171f4, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3000
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs: []
m_Ints: []
m_Floats:
- _StencilID: 1
m_Colors: []
m_BuildTextureStacks: []

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

Loading

0 comments on commit 3b06954

Please sign in to comment.