You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build-scripts/build-solution.py
+3
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@
24
24
# 2) the help text to display when help is invoked for the current script
25
25
artifact_map= {'maxsdk':('MaxSDK', 'The path location for the \'MaxSDK\' folder.'),
26
26
'qtinstall':('QtInstall', 'The Qt reference version from QtVsTools (aka \'Qt Installation\').'),
27
+
'pybind11inc':('PyBind11Inc', 'The path location for the \'pybind11\' include folder.'),
27
28
'materialx':('MaterialXDir', 'The path location for the 3ds Max MaterialX material plugin folder.'),
28
29
'googletest':('GoogleTestDir', 'The path location for the \'gtest\' folder.'),
29
30
'pyopengl':('PyOpenGLDir', 'The path location for the \'OpenGL\' Python module (PyOpenGL).'),
@@ -35,6 +36,8 @@
35
36
'ufeinc':('UfeInc', 'The path location for the \'Ufe\' include folder. If not provided, using the path from the \'devkit\' if the \'maxusddevkit\' option is provided.'),
36
37
'ufelib':('UfeLib', ' The path location for the \'Ufe\' lib folder. If not provided, using the path from the \'devkit\' if the \'maxusddevkit\' option is provided.'),
37
38
'usdufe':('UsdUfeDir', 'The path location for the \'UsdUfe\' folder. If not provided, using the path from the \'devkit\' if the \'maxusddevkit\' option is provided.'),
39
+
'usdlayereditor':('UsdLayerEditorDir', 'The path location for the \'UsdLayerEditor\' folder. If not provided, using the path from the \'devkit\' if the \'maxusddevkit\' option is provided.'),
40
+
'usdsharedcomponent':('UsdSharedComponentsDir', 'The path location for the \'usdSharedComponents\' folder. If not provided, using the path from the \'devkit\' if the \'maxusddevkit\' option is provided.'),
38
41
'openusd':('PxrUsdRoot', 'The path location for the \'OpenUSD\' folder. If not provided, using the path from the \'devkit\' if the \'maxusddevkit\' option is provided.'),
39
42
'tbb':('TBBDir', 'The path location for the \'TBB\' folder. If not provided, using the path from the \'OpenUSD\' if the \'openusd\' or \'maxusddevkit\' option is provided.'),
40
43
'boostinc':('BoostInc', 'The path location for the \'Boost\' include folder. If not provided, using the path from the \'OpenUSD\' if the \'openusd\' or \'maxusddevkit\' option is provided.'),
| CommitID/Tags | Officially supported:<br> [v21.11](https://github.com/PixarAnimationStudios/OpenUSD/tree/v21.11), [v22.11](https://github.com/PixarAnimationStudios/OpenUSD/tree/v22.11), [v23.11](https://github.com/PixarAnimationStudios/OpenUSD/tree/v23.11)| 3ds Max 2022 = v21.11<br>3ds Max 2023 = v21.11<br>3ds Max 2024 = v22.11<br>3ds Max 2025 = v23.11<br>Codename Devi = v24.05|[v21.11-MaxUsd-Public](https://github.com/autodesk-forks/USD/tree/v21.11-MaxUsd-Public)<br>[v22.11-MaxUsd-Public](https://github.com/autodesk-forks/USD/tree/v22.11-MaxUsd-Public)<br>[v23.11-MaxUsd-Public](https://github.com/autodesk-forks/USD/tree/v23.11-MaxUsd-Public)|
70
+
| CommitID/Tags | Officially supported:<br> [v21.11](https://github.com/PixarAnimationStudios/OpenUSD/tree/v21.11), [v22.11](https://github.com/PixarAnimationStudios/OpenUSD/tree/v22.11), [v23.11](https://github.com/PixarAnimationStudios/OpenUSD/tree/v23.11)| 3ds Max 2022 = v21.11<br>3ds Max 2023 = v21.11<br>3ds Max 2024 = v22.11<br>3ds Max 2025 = v23.11 |[v21.11-MaxUsd-Public](https://github.com/autodesk-forks/USD/tree/v21.11-MaxUsd-Public)<br>[v22.11-MaxUsd-Public](https://github.com/autodesk-forks/USD/tree/v22.11-MaxUsd-Public)<br>[v23.11-MaxUsd-Public](https://github.com/autodesk-forks/USD/tree/v23.11-MaxUsd-Public)|
77
71
78
72
The OpenUSD component has dependencies that are being reused to build the 3ds Max USD component (boost and TBB are dependencies to the 3ds Max USD) . Their source files are automatically fetched and built by the build script of OpenUSD. The table below reports on the various dependencies being used by the compiled version of OpenUSD found in the 3ds Max USD plugin.
79
73
@@ -83,22 +77,30 @@ The OpenUSD component has dependencies that are being reused to build the 3ds Ma
> :warning: Make sure that you don't have an older USD locations in your ```PATH``` and ```PYTHONPATH``` environment settings. ```PATH``` and ```PYTHONPATH``` are automatically adjusted inside the project to point to the correct USD location. See ```cmake/usd.cmake```.
92
86
93
-
#### 3. Universal Front End (UFE)
87
+
#### 3. Internal shared libraries
88
+
89
+
To build the 3ds Max USD component, you will need to use those headers and libraries included in the `devkit`.
94
90
91
+
##### Universal Front End (UFE)
95
92
The Universal Front End (UFE) is a DCC-agnostic component that allows the 3ds Max USD component to browse and edit data in multiple data models. This allows 3ds Max to edit pipeline data such as USD, using UDSUFE. UFE is developed as a separate binary component, and therefore versioned separately from 3ds Max.
96
93
97
-
The UFE component v5.3.0 is being used.
94
+
The UFE component v5.6.0 is being used.
98
95
The UFE component was originally developed by the Autodesk Maya team.
The project is only using the headers from this dependency. You can clone the git repository and locate the include folder (the include path is at the root of the repository).
136
+
128
137
##### spdlog
129
138
130
139
The project is only using the headers from this dependency. You can clone the git repository and locate the include folder (the include path is at the root of the repository).
@@ -172,9 +181,10 @@ Before starting to build the plugin, the component's dependencies location must
172
181
The build script can be used by following these usage rules:
@@ -196,6 +206,8 @@ The build script can be used by following these usage rules:
196
206
--maxsdk MAXSDK The path location for the 'MaxSDK' folder.
197
207
--qtinstall QTINSTALL
198
208
The Qt reference version from QtVsTools (aka 'Qt Installation').
209
+
--pybind11inc PYBIND11INC
210
+
The path location for the 'pybind11' include folder.
199
211
--materialx MATERIALX
200
212
The path location for the 3ds Max MaterialX material plugin folder.
201
213
--googletest GOOGLETEST
@@ -217,6 +229,12 @@ The build script can be used by following these usage rules:
217
229
if the 'maxusddevkit' option is provided.
218
230
--usdufe USDUFE The path location for the 'UsdUfe' folder. If not provided, using the path from the 'devkit'
219
231
if the 'maxusddevkit' option is provided.
232
+
--usdlayerEditor USDLAYEREDITOR
233
+
The path location for the 'UsdLayerEditor' folder. If not provided, using the path from the 'devkit'
234
+
the 'maxusddevkit' option is provided.
235
+
--usdsharedcomponent USDSHAREDCOMPONENT
236
+
The path location for the 'usdSharedComponents' folder. If not provided, using the path from
237
+
the 'devkit' if the 'maxusddevkit' option is provided.
220
238
--openusd OPENUSD The path location for the 'OpenUSD' folder. If not provided, using the path from the 'devkit'
221
239
if the 'maxusddevkit' option is provided.
222
240
--tbb TBB The path location for the 'TBB' folder. If not provided, using the path from the 'OpenUSD' if
@@ -235,6 +253,7 @@ For example, if you have:
235
253
- execute the Python script `copy_missing_DLLs_found_in_the_official_installation.py` found in the `c:\dev\3dsmax-usd-devkit-2025\Pixar_USD` folder to recreate a completed OpenUSD prebuilt library
236
254
- installed the 3ds Max 2025 SDK, by default, to `C:\Program Files\Autodesk\3ds Max 2025 SDK`)
237
255
- Qt v6.5.3 is installed in `C:\Qt\6.5.3\msvc2019_64`
256
+
- pybind11 is cloned in `C:\dev\pybind11`
238
257
- PyOpenGL is installed in `C:\Users\myusername\AppData\Roaming\Python\Python311\site-packages`
239
258
- GoogleTest is installed in `c:\dev\googletest-distribution`
240
259
@@ -245,6 +264,7 @@ You will have a command-line similar to the one below. Using the `devkit` reduce
245
264
--maxusddevkit c:\dev\3dsmax-usd-devkit-2025 \
246
265
--googletest c:\dev\googletest-distribution \
247
266
--qtinstall c:\Qt\6.5.3\msvc2019_64 \
267
+
--pybind11inc c:\dev\pybind11\include \
248
268
--maxsdk "c:\Program Files\Autodesk\3ds Max 2025 SDK\maxsdk" \
249
269
--materialx "c:\ProgramData\Autodesk\ApplicationPlugins\USD for 3ds Max 2025\Contents\MaterialX_plugin" \
0 commit comments