|
|
3 lat temu | |
|---|---|---|
| .. | ||
| DCC | 3 lat temu | |
| IDE | 3 lat temu | |
| Solutions | 3 lat temu | |
| .gitignore | 3 lat temu | |
| Env_DCC_Blender.bat | 3 lat temu | |
| Env_DCC_Maya.bat | 3 lat temu | |
| Env_DCC_Substance.bat | 3 lat temu | |
| Env_Dev.bat.example | 3 lat temu | |
| Env_IDE_PyCharm.bat | 3 lat temu | |
| Env_IDE_VScode.bat | 3 lat temu | |
| Env_IDE_Wing.bat | 3 lat temu | |
| Env_O3DE_Core.bat | 3 lat temu | |
| Env_O3DE_Python.bat | 3 lat temu | |
| Env_O3DE_Qt.bat | 3 lat temu | |
| Launch_O3DE_PY.bat | 3 lat temu | |
| Launch_O3DE_PY_Cmd.bat | 3 lat temu | |
| readme.md | 3 lat temu | |
O3DE (Open 3D Engine) is an open-source, real-time, multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
DccScriptingInterface (DCCsi) is a framework for O3DE extensions, for example:
The DccScriptingInterface\config.py, procedurally provides a synthetic env context. This env is a data-driven approach to configuring layered and managed env settings.
This env provides the hooks for DDC apps and/or standalone tools, to configure acess to O3DE code (for boostrapping), safely retreive known paths, set/get developer flags, etc.
This is a .bat file based version of the default env context for development on windows. ( there is a synthetic/dynamic/procedural env config and settings: < DCCsi >/config.py )
This is what we currently use to boot the default env context such that it is available, when launching a development tool such as a IDE or a DCC tool. The .bat env was stood up first, the value in doing so is to work out the dependancies and kinks and provide a viable development environment in which to create solutions like the dynamic config.py, if that syntehetic environment is broken we always have this fallback, this allows a developer to troubleshoot/debug code, like making changes to < DCCsi >/config.py
Other tools, can use config.py to stand up the env context.
What is in this folder ...
Env_O3DE_Core.bat : core access to O3DE and DCCsi
Env_O3DE_Python.bat : access to O3DE python and general py configuration
Env_O3DE_Qt.bat : access to O3DE Qt .dll files and PySide2
Env_DCC_Maya.bat : configures Maya with code O3DE/DCCsi access
Env_DCC_Blender.bat : configures Blender
Env_DCC_Substance.bat : Configures Substance Designer
Env_IDE_Wing.bat : configures WingIDE for DCCsi development
Env_IDE_VScode.bat : configures VScode
Env_IDE_PyCharm.bat : configures PyCharm
Launch_O3DE_PY_Cmd.bat : Starts a cmd with core managed env context
: ^ allows user to validate env
: ^ display all default ENVAR plugs
: ^ allows user to test O3DE python + scripts from cmd
Launch_O3DE_PY.bat : Starts o3de python with same access as above
: ^ for instance, test Dccsi\config.py like this:
: {DCCsi prommpt}>python config.py
A set of DCC tool launchers are here, these init the env and then launch the tool within the managed env context:
A set of IDE launchers for developers are here, these init the env and then launch the IDE within the managed env context:
Note: per-tool launchers will be moved into the tools directory and these may be deprecated in the future. We will maintain them in both places for now diring the transition.
How to test the synthetic environment and settings externally
Option 1) Run the DCCsi cmd: < O3DE >/DccScriptingInterface/Tools/Dev/Windows/Launch_O3DE_PY_Cmd.bat
Run command (prompt):>python config.py -dm=True -py=True -qt=True -tp=True
Note: using this route, will test how .bat envar hooks interact with code (.bat envars should propogate)
Additionally there are patterns for devs to locally alter the env without code:
Option 2) Opn a command prompt from this location: "C:< O3DE >\python\"
Run command (prompt):>python "C:\Depot\o3de-dev\Gems\AtomLyIntegration\TechnicalArt\DccScriptingInterface\config.py" -dm=True -py=True -qt=True -tp=True
Note: using this route, config.py will synthetically derive the env context (no use of .bat files)
What this does?
Here is a rundown of what is happeneing:
What does this look like?
Using just these basic options (no -dm, devmode): -py=True -qt=True -tp=True
The synthetic environment looks like:

For information about contributing to Open 3D Engine, visit https://o3de.org/docs/contributing/.
For terms please see the LICENSE*.TXT files at the root of this distribution.
LICENSE INFO
Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
SPDX-License-Identifier: Apache-2.0 OR MIT