Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
brossee-adsk committed Dec 4, 2024
0 parents commit 1c63161
Show file tree
Hide file tree
Showing 991 changed files with 168,137 additions and 0 deletions.
106 changes: 106 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
---
Language: Cpp

BasedOnStyle: WebKit
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveMacros: 'true'
AlignConsecutiveDeclarations: 'true'
AlignEscapedNewlines: Left
AlignTrailingComments: 'true'
AllowAllConstructorInitializersOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: 'true'
AfterEnum: 'true'
AfterFunction: 'true'
AfterStruct: 'true'
AfterUnion: 'true'
BreakBeforeTernaryOperators: 'true'
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
ColumnLimit: '100'
CommentPragmas: '^\\.+'
FixNamespaceComments: 'true'
IncludeBlocks: Regroup
IncludeCategories:

# Desired final ordering:
# 0. Glew must be included before any other GL header
# 1. Related header
# 2. All private headers
# 3/4/5. All public headers from this repository
# 6. UsdUfe headers
# 7. Pixar + USD headers
# 8. Autodesk + Qt headers
# 9. Other libraries' headers
# 10. C++ standard library headers
# 11. C system headers
# 12. Conditional includes

# 0. GL loaders must be included before any other GL header
# Negative priority puts it above the default IncludeIsMainRegex
- Regex: '<pxr/imaging/(garch/glApi.h|glf/glew.h)>'
Priority: -1

# 1. Related header
# Handled by the default IncludeIsMainRegex regex, and auto-assigned
# Priority 0

# 2. All private headers
- Regex: '^"'
Priority: 2

# 3. Headers from projects this repository that have dependencies on headers of 4 and/or 5
- Regex: '^<(MaxUsdObjects)/'
Priority: 3

# 4. Headers from projects this repository that have dependencies on headers of 4
- Regex: '^<(RenderDelegate|UFEUI|USDExport|USDImport)/'
Priority: 4

# 5. MaxUsd Headers
- Regex: '^<(MaxUsd)/'
Priority: 5

# 6. UsdUfe library headers
- Regex: '^<usdUfe/'
Priority: 6

# 7. Pixar + USD headers
- Regex: '^<pxr/'
Priority: 7

# 8. Autodesk + QT headers
- Regex: '^<(maxscript|Graphics|ufe|Qt*)/'
Priority: 8

# 9. Other libraries' headers
- Regex: '^<'
Priority: 9

# 10. C++ standard library headers
# angle brackets, no directory, no extension
- Regex: '^<[A-Za-z0-9_-]+>$'
Priority: 10

# 11. C system headers
# angle brackets, no directory, end with ".h"
- Regex: '^<[A-Za-z0-9_-]+\.h>$'
Priority: 11

# 12. Conditional includes
# Not reordered by clang-format, we need to manually make sure these come last

MaxEmptyLinesToKeep: '1'
NamespaceIndentation: None
UseTab: Never

...
Empty file added .clang-format-ignore
Empty file.
8 changes: 8 additions & 0 deletions .clang-format-include
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
\.c$
\.cc$
\.cpp$
\.cxx$
\.h$
\.hh$
\.hpp$
\.hxx$
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.max filter=lfs diff=lfs merge=lfs -text
*.mui filter=lfs diff=lfs merge=lfs -text
*.rc text working-tree-encoding=UTF-16LE-BOM eol=CRLF
*.r text working-tree-encoding=UTF-16LE-BOM eol=CRLF
*.zip filter=lfs diff=lfs merge=lfs -text
*.usdc filter=lfs diff=lfs merge=lfs -text
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: santosg87

---

**Describe the bug**
A clear and concise description of what the bug is.

**Steps to reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Attachments**
If applicable, add screenshots, sample files, etc to help explain your problem.

**Specs (if applicable):**
- OS & version [e.g. Windows 10]
- Compiler & version [e.g. MSVS VS 2029 (16.11.34)]
- 3ds Max version [e.g. 3ds Max 2025]
- 3ds USD commit SHA [e.g. dev at caa921c1]
- Pixar USD commit SHA [e.g. dev at b85ddac2]

**Additional context**
Add any other context about the problem here.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/build-issue-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Build issue report
about: Before opening a new build issue, please review doc/build.md
title: ''
labels: help wanted
assignees: ''

---

**Describe the issue**
A description of what the issue is.

**Build log**
Please attach a build_log.txt

**Specs:**
- OS & version [e.g. Windows 10]
- Compiler & version [e.g. MSVS VS 2029 (16.11.34)]
- 3ds Max version [e.g. 3ds Max 2025]
- 3ds USD commit SHA [e.g. dev at caa921c1]
- Pixar USD commit SHA [e.g. dev at b85ddac2]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you would like**
A clear and concise description of what you want to happen.

**Describe alternatives you have considered**
A clear and concise description of any alternative solutions or features you have considered.

**Additional context**
Add any other context or screenshots about the feature request here.
Loading

0 comments on commit 1c63161

Please sign in to comment.