Debian Codegraph @

examples/viewport_and_scenes/build_3d_object_by_code/README.md

raw symbols SCIP
1 # Build 3D Object By Code
2
3 Simple example how to build a new 3D object (nodes graph) by ObjectPascal code. Saves the result using `SaveNode` to `test.x3d` file (open it with
4 any _Castle Game Engine_ tool, like [Castle Model Viewer](https://castle-engine.io/castle-model-viewer)).
5
6 Check out https://castle-engine.io/vrml_x3d.php
7 for a complete list of supported X3D nodes.
8
9 Using [Castle Game Engine](https://castle-engine.io/).
10
11 ## Building
12
13 Compile by:
14
15 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
16
17 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
18
19 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `build_3d_object_by_code_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
20
21 - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `build_3d_object_by_code_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.