Skip to content

Commit 1c63161

Browse files
committed
Initial commit
0 parents  commit 1c63161

File tree

991 files changed

+168137
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

991 files changed

+168137
-0
lines changed

.clang-format

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
---
2+
Language: Cpp
3+
4+
BasedOnStyle: WebKit
5+
AlignAfterOpenBracket: AlwaysBreak
6+
AlignConsecutiveMacros: 'true'
7+
AlignConsecutiveDeclarations: 'true'
8+
AlignEscapedNewlines: Left
9+
AlignTrailingComments: 'true'
10+
AllowAllConstructorInitializersOnNextLine: 'false'
11+
AllowAllParametersOfDeclarationOnNextLine: 'false'
12+
AllowShortCaseLabelsOnASingleLine: 'true'
13+
AllowShortIfStatementsOnASingleLine: Never
14+
AllowShortLambdasOnASingleLine: All
15+
AllowShortLoopsOnASingleLine: 'false'
16+
AlwaysBreakTemplateDeclarations: MultiLine
17+
BinPackArguments: 'false'
18+
BinPackParameters: 'false'
19+
BreakBeforeBraces: Custom
20+
BraceWrapping:
21+
AfterClass: 'true'
22+
AfterEnum: 'true'
23+
AfterFunction: 'true'
24+
AfterStruct: 'true'
25+
AfterUnion: 'true'
26+
BreakBeforeTernaryOperators: 'true'
27+
BreakConstructorInitializers: BeforeComma
28+
BreakInheritanceList: BeforeComma
29+
ColumnLimit: '100'
30+
CommentPragmas: '^\\.+'
31+
FixNamespaceComments: 'true'
32+
IncludeBlocks: Regroup
33+
IncludeCategories:
34+
35+
# Desired final ordering:
36+
# 0. Glew must be included before any other GL header
37+
# 1. Related header
38+
# 2. All private headers
39+
# 3/4/5. All public headers from this repository
40+
# 6. UsdUfe headers
41+
# 7. Pixar + USD headers
42+
# 8. Autodesk + Qt headers
43+
# 9. Other libraries' headers
44+
# 10. C++ standard library headers
45+
# 11. C system headers
46+
# 12. Conditional includes
47+
48+
# 0. GL loaders must be included before any other GL header
49+
# Negative priority puts it above the default IncludeIsMainRegex
50+
- Regex: '<pxr/imaging/(garch/glApi.h|glf/glew.h)>'
51+
Priority: -1
52+
53+
# 1. Related header
54+
# Handled by the default IncludeIsMainRegex regex, and auto-assigned
55+
# Priority 0
56+
57+
# 2. All private headers
58+
- Regex: '^"'
59+
Priority: 2
60+
61+
# 3. Headers from projects this repository that have dependencies on headers of 4 and/or 5
62+
- Regex: '^<(MaxUsdObjects)/'
63+
Priority: 3
64+
65+
# 4. Headers from projects this repository that have dependencies on headers of 4
66+
- Regex: '^<(RenderDelegate|UFEUI|USDExport|USDImport)/'
67+
Priority: 4
68+
69+
# 5. MaxUsd Headers
70+
- Regex: '^<(MaxUsd)/'
71+
Priority: 5
72+
73+
# 6. UsdUfe library headers
74+
- Regex: '^<usdUfe/'
75+
Priority: 6
76+
77+
# 7. Pixar + USD headers
78+
- Regex: '^<pxr/'
79+
Priority: 7
80+
81+
# 8. Autodesk + QT headers
82+
- Regex: '^<(maxscript|Graphics|ufe|Qt*)/'
83+
Priority: 8
84+
85+
# 9. Other libraries' headers
86+
- Regex: '^<'
87+
Priority: 9
88+
89+
# 10. C++ standard library headers
90+
# angle brackets, no directory, no extension
91+
- Regex: '^<[A-Za-z0-9_-]+>$'
92+
Priority: 10
93+
94+
# 11. C system headers
95+
# angle brackets, no directory, end with ".h"
96+
- Regex: '^<[A-Za-z0-9_-]+\.h>$'
97+
Priority: 11
98+
99+
# 12. Conditional includes
100+
# Not reordered by clang-format, we need to manually make sure these come last
101+
102+
MaxEmptyLinesToKeep: '1'
103+
NamespaceIndentation: None
104+
UseTab: Never
105+
106+
...

.clang-format-ignore

Whitespace-only changes.

.clang-format-include

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
\.c$
2+
\.cc$
3+
\.cpp$
4+
\.cxx$
5+
\.h$
6+
\.hh$
7+
\.hpp$
8+
\.hxx$

.gitattributes

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*.png filter=lfs diff=lfs merge=lfs -text
2+
*.max filter=lfs diff=lfs merge=lfs -text
3+
*.mui filter=lfs diff=lfs merge=lfs -text
4+
*.rc text working-tree-encoding=UTF-16LE-BOM eol=CRLF
5+
*.r text working-tree-encoding=UTF-16LE-BOM eol=CRLF
6+
*.zip filter=lfs diff=lfs merge=lfs -text
7+
*.usdc filter=lfs diff=lfs merge=lfs -text

.github/ISSUE_TEMPLATE/bug_report.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: santosg87
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Steps to reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Attachments**
24+
If applicable, add screenshots, sample files, etc to help explain your problem.
25+
26+
**Specs (if applicable):**
27+
- OS & version [e.g. Windows 10]
28+
- Compiler & version [e.g. MSVS VS 2029 (16.11.34)]
29+
- 3ds Max version [e.g. 3ds Max 2025]
30+
- 3ds USD commit SHA [e.g. dev at caa921c1]
31+
- Pixar USD commit SHA [e.g. dev at b85ddac2]
32+
33+
**Additional context**
34+
Add any other context about the problem here.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Build issue report
3+
about: Before opening a new build issue, please review doc/build.md
4+
title: ''
5+
labels: help wanted
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the issue**
11+
A description of what the issue is.
12+
13+
**Build log**
14+
Please attach a build_log.txt
15+
16+
**Specs:**
17+
- OS & version [e.g. Windows 10]
18+
- Compiler & version [e.g. MSVS VS 2029 (16.11.34)]
19+
- 3ds Max version [e.g. 3ds Max 2025]
20+
- 3ds USD commit SHA [e.g. dev at caa921c1]
21+
- Pixar USD commit SHA [e.g. dev at b85ddac2]
22+
23+
**Additional context**
24+
Add any other context about the problem here.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you would like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you have considered**
17+
A clear and concise description of any alternative solutions or features you have considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

0 commit comments

Comments
 (0)