Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Chisel Graph #311

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ UserSettings/EditorUserSettings.asset
/Assets/Experiments.meta

/UserSettings
.vsconfig
99 changes: 99 additions & 0 deletions Assets/ChiselGraphInstance.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3144103473529927222
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3144103473529927224}
- component: {fileID: 3144103473529927223}
- component: {fileID: 3144103473529927226}
- component: {fileID: 3144103473529927225}
m_Layer: 0
m_Name: ChiselGraphInstance
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &3144103473529927224
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3144103473529927222}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.055}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &3144103473529927223
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3144103473529927222}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b7112759bb6d84f45890aef9caadedbe, type: 3}
m_Name:
m_EditorClassIdentifier:
graph: {fileID: 11400000, guid: 7554a9f6d7403e34597bef241745c03e, type: 2}
meshFilter: {fileID: 3144103473529927226}
meshRenderer: {fileID: 3144103473529927225}
--- !u!33 &3144103473529927226
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3144103473529927222}
m_Mesh: {fileID: 0}
--- !u!23 &3144103473529927225
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3144103473529927222}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
7 changes: 7 additions & 0 deletions Assets/ChiselGraphInstance.prefab.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/ChiselNodes.meta

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

189 changes: 189 additions & 0 deletions Assets/ChiselNodes/MySubGraph.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-6468980190964667538
MonoBehaviour:
m_ObjectHideFlags: 0
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: d678cf2bf10f3bf4f8d68ae693a7a7a3, type: 3}
m_Name: Box
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: 136, y: 168}
ports:
keys:
- center
- size
- output
- input
- localPosition
- localRotation
values:
- _fieldName: center
_node: {fileID: -6468980190964667538}
_typeQualifiedName: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: size
_node: {fileID: -6468980190964667538}
_typeQualifiedName: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: output
_node: {fileID: -6468980190964667538}
_typeQualifiedName: Chisel.Nodes.ChiselGraphNode+CSG, ChiselNode, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: -6468980190964667538}
_typeQualifiedName: Chisel.Nodes.ChiselGraphNode+CSG, ChiselNode, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: output
node: {fileID: 1688561918610544374}
reroutePoints: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: localPosition
_node: {fileID: -6468980190964667538}
_typeQualifiedName: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: localRotation
_node: {fileID: -6468980190964667538}
_typeQualifiedName: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
localPosition: {x: 0, y: 0, z: 0}
localRotation: {x: 0, y: 0, z: 0}
operation: 1
center: {x: 0, y: 0.93, z: 0}
size: {x: 2.16, y: 1, z: 1}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: 1719bdb460489264dbc2eda6f3845f03, type: 3}
m_Name: MySubGraph
m_EditorClassIdentifier:
nodes:
- {fileID: 1688561918610544374}
- {fileID: -6468980190964667538}
active: {fileID: -6468980190964667538}
instance: {fileID: 0}
--- !u!114 &1688561918610544374
MonoBehaviour:
m_ObjectHideFlags: 0
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: d678cf2bf10f3bf4f8d68ae693a7a7a3, type: 3}
m_Name: Box
m_EditorClassIdentifier:
graph: {fileID: 11400000}
position: {x: -184, y: 168}
ports:
keys:
- center
- size
- output
- input
- localPosition
- localRotation
values:
- _fieldName: center
_node: {fileID: 1688561918610544374}
_typeQualifiedName: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: size
_node: {fileID: 1688561918610544374}
_typeQualifiedName: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: output
_node: {fileID: 1688561918610544374}
_typeQualifiedName: Chisel.Nodes.ChiselGraphNode+CSG, ChiselNode, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections:
- fieldName: input
node: {fileID: -6468980190964667538}
reroutePoints: []
_direction: 1
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: input
_node: {fileID: 1688561918610544374}
_typeQualifiedName: Chisel.Nodes.ChiselGraphNode+CSG, ChiselNode, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: localPosition
_node: {fileID: 1688561918610544374}
_typeQualifiedName: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
- _fieldName: localRotation
_node: {fileID: 1688561918610544374}
_typeQualifiedName: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null
connections: []
_direction: 0
_connectionType: 0
_typeConstraint: 0
_dynamic: 0
localPosition: {x: 0, y: 0, z: 0}
localRotation: {x: 0, y: 0, z: 0}
operation: 0
center: {x: 0, y: 0, z: 0}
size: {x: 2, y: 2, z: 2}
8 changes: 8 additions & 0 deletions Assets/ChiselNodes/MySubGraph.asset.meta

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

Loading