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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ The following packages contain pre-built binaries for the latest release, includ
79
79
80
80
## Additional Resources
81
81
82
-
- The [Developer Guide](http://www.materialx.org/docs/api/index.html) contains a developer-oriented overview of MaterialX with API documentation.
82
+
- The [Developer Guide](http://www.materialx.org/docs/api/index.html) contains a developer-oriented overview of MaterialX with Build and API documentation.
83
83
- The [Python Scripts](python/Scripts) folder contains standalone examples of MaterialX Python code.
84
84
- The [JavaScript](javascript) folder contains details on building JavaScript bindings for MaterialX.
85
85
- Presentations at [ASWF Open Source Days](https://materialx.org/assets/ASWF_OSD2024_MaterialX_Final.pdf) and the [SIGGRAPH Physically Based Shading Course](https://blog.selfshadow.com/publications/s2020-shading-course/#materialx) provide details on the roadmap for MaterialX development.
Copy file name to clipboardExpand all lines: documents/DeveloperGuide/MainPage.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ The MaterialX codebase requires a compiler with support for C++17, and can be bu
20
20
21
21
The Python bindings for MaterialX are based on [PyBind11](https://github.com/pybind/pybind11), and support Python versions 3.9 and greater.
22
22
23
+
On macOS, you'll need to [install Xcode](https://developer.apple.com/xcode/resources/), in order to get access to the Metal Tools as well as compiler toolchains.
24
+
23
25
## Building MaterialX
24
26
25
27
### Building MaterialX C++
@@ -52,6 +54,29 @@ Select the `MATERIALX_BUILD_VIEWER` option to build the MaterialX Viewer. Insta
52
54
53
55
To generate HTML documentation for the MaterialX C++ API, make sure a version of [Doxygen](https://www.doxygen.org/) is on your path, and select the advanced option `MATERIALX_BUILD_DOCS` in CMake. This option will add a target named `MaterialXDocs` to your project, which can be built as an independent step from your development environment.
54
56
57
+
## Editor Setup
58
+
59
+
MaterialX should work in any editor that supports CMake, or that CMake can generate a project for.
60
+
Some common Editors are listed here to help developers get started.
61
+
62
+
### CLion
63
+
64
+
[CLion](https://www.jetbrains.com/clion/) is a cross-platform IDE that can be used to develop MaterialX.
65
+
Additionally, it includes CMake and is free for non-commercial Use.
66
+
67
+
To get started with CLion, open the MaterialX repository directly, and it will load the CMake project for you.
68
+
If you want to enable features like Python, go to `Settings -> Build, Execution and Deployment -> CMake` and configure
69
+
the CMake Options, for example:
70
+
71
+
```
72
+
-DMATERIALX_BUILD_PYTHON=ON
73
+
-DMATERIALX_BUILD_VIEWER=ON
74
+
-DMATERIALX_BUILD_GRAPH_EDITOR=ON
75
+
```
76
+
77
+
To build, either select `Build -> Build Project` or select a specific configuration to build.
78
+
To install, select `Build -> Install`
79
+
55
80
## Installing MaterialX
56
81
57
82
Building the `install` target of your project will install the MaterialX C++ and Python libraries to the folder specified by the `CMAKE_INSTALL_PREFIX` setting, and will install MaterialX Python as a third-party library in your Python environment. Installation of MaterialX Python as a third-party library can be disabled by setting `MATERIALX_INSTALL_PYTHON` to `OFF`.
0 commit comments