Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5a6337f
ci: setup cmake, clangd, and debugger
mialana Sep 23, 2025
85171c5
ci: lint
mialana Sep 23, 2025
d77dff6
feat: implement single bounce bsdf
mialana Sep 25, 2025
08d0d22
feat: add stream_compaction library
mialana Sep 25, 2025
553dce6
feat: implement radix sort in stream_compaction
mialana Sep 26, 2025
2f24efd
feat: implement radix sort by key in stream_compaction
mialana Sep 27, 2025
ea17e8b
feat: begin sortByKey integration
mialana Sep 27, 2025
fb07473
fix: unterminating paths
mialana Sep 27, 2025
c2c945f
feat: import last version of stream_compaction
mialana Oct 4, 2025
779d984
ci: fresh start
mialana Oct 4, 2025
e19dc3a
ci: fix all deprecation warnings
mialana Oct 4, 2025
028cd91
feat: make all kernels 1D
mialana Oct 4, 2025
7986fbc
feat: impl stochastic anti-aliasing
mialana Oct 4, 2025
cafa585
feat: impl basic diffuse shading
mialana Oct 4, 2025
6c273c2
feat: implement stream_compaction for path segments
mialana Oct 5, 2025
5b843b3
feat: begin materialID sorting
mialana Oct 5, 2025
78957da
feat: implement sorted shading
mialana Oct 5, 2025
8c0d133
feat: rename cmake project
mialana Oct 5, 2025
b98824e
feat: allow for scene switching through file browser
mialana Oct 5, 2025
1c7cbc8
feat: import usd into cmake proj
mialana Oct 5, 2025
d5fc014
feat: prepared for usd parsing
mialana Oct 5, 2025
b01bcfe
feat: parsed mesh
mialana Oct 5, 2025
333be62
feat: can import meshes
mialana Oct 6, 2025
4d3b69f
feat: add specular reflection, add bugged normals to usd import, add …
mialana Oct 6, 2025
2bce9f4
fix: normals were face-varying i.e. per-face rather than per-vertex
mialana Oct 6, 2025
afbad55
feat: test out geom subset and material traversal
mialana Oct 6, 2025
15dec1a
docs: add temp README thumbnail
mialana Oct 6, 2025
f29e3a3
docs: get started on README
mialana Oct 6, 2025
b78a4ba
docs: add width to image README.md
mialana Oct 6, 2025
dfc0403
docs: increase size of thumbnail README.md
mialana Oct 6, 2025
ae4117c
docs: add custom yugiohClockArc asset
mialana Oct 8, 2025
36cae1d
docs: delete unnecessary versions of LOD0
mialana Oct 8, 2025
abe99ca
feat: README
mialana Oct 8, 2025
7fcd7a5
ci: remove unnecessary build files, clean up repo structure
mialana Apr 24, 2026
77dd395
ci: port over new versions of .clang-format, CMakePresets.json, etc
mialana Apr 24, 2026
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
236 changes: 236 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
# yaml-language-server: $schema=https://json.schemastore.org/clang-format.json
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: false
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments:
Kind: Never
OverEmptyLines: 1
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AttributeMacros:
- __capability
BinPackArguments: true
BinPackParameters: true
BitFieldColonSpacing: Both
BracedInitializerIndentWidth: 4
BreakBeforeConceptDeclarations: Always
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakAfterJavaFieldAnnotations: false
BreakAfterReturnType: ExceptShortType
BreakArrays: true
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Allman
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakFunctionDefinitionParameters: false
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
BreakTemplateDeclarations: Yes
ColumnLimit: 100
CommentPragmas: "^ IWYU pragma:"
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: Always
FixNamespaceComments: true
ForEachMacros:
- forever
- foreach
- Q_FOREACH
- BOOST_FOREACH
IfMacros:
- KJ_IF_MAYBE
IncludeBlocks: Preserve
IncludeCategories:
- Regex: "^<Q.*"
Priority: 200
SortPriority: 200
CaseSensitive: true
IncludeIsMainRegex: "(Test)?$"
IncludeIsMainSourceRegex: ""
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertBraces: false
InsertNewlineAtEOF: true
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: false
AtStartOfFile: false
LambdaBodyIndentation: Signature
LineEnding: LF
MacroBlockBegin: ""
MacroBlockEnd: ""
MainIncludeChar: Quote
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 4
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: NextLine
PenaltyBreakAssignment: 150
PenaltyBreakBeforeFirstCallParameter: 300
PenaltyBreakComment: 1000
PenaltyBreakFirstLessLess: 400
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 50
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 300
PointerAlignment: Left
PPIndentWidth: -1
QualifierAlignment: Leave
ReferenceAlignment: Pointer
ReflowComments: false
RemoveBracesLLVM: false
RemoveParentheses: MultipleParentheses
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Always
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes: false
SortJavaStaticImport: Before
SortUsingDeclarations: Lexicographic
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: false
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterPlacementOperator: true
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: Never
SpacesInContainerLiterals: false
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Auto
TableGenBreakInsideDAGArg: DontBreak
TabWidth: 4
UseTab: Never
VerilogBreakBetweenInstancePorts: true
24 changes: 24 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
CompileFlags:
Remove:
- -forward-unknown-to-host-compiler
- --options-file
- -arch=native
- -G
- -rdc=true
---
If:
PathMatch: [.*\.cpp, .*\.h, .*\.hpp]

CompileFlags:
Add:
- -xc++
- -I/usr/local/cuda-13.0/targets/x86_64-linux/include
---
If:
PathMatch: .*\.cu

CompileFlags:
Add:
- -xcuda
- -O3
- -use_fast_math
Loading