After compiling with Visual studio community 2026 x64 is fine but when i run as in picture shows it, it gets some error and not showing image… what i am missing here ?
Do the other .xml examples work? It could be that the .xml examples are not up to date.
Where i can get the latest syntax from xml for Cycles in API documentation ? Thanks in advance.
<?xml version="1.0" encoding="UTF-8"?>
<scene>
<!-- Fond bleu -->
<background>
<color value="0.0 0.0 1.0"/>
</background>
<!-- Caméra -->
<camera name="Camera">
<transform>
<matrix value="1 0 0 0
0 1 0 0
0 0 1 50
0 0 0 1"/>
</transform>
<fov value="50"/>
</camera>
<!-- Lumière par défaut -->
<light type="point" name="Light">
<transform>
<matrix value="2 0 0 2
0 2 0 2
0 0 2 5
0 0 0 1"/>
</transform>
<color value="1 1 1"/>
<intensity value="8000"/>
</light>
<!--
<!-- Matériau orange -->
<shader name="OrangeShader" type="diffuse">
<color value="1.0 0.5 0.0"/>
</shader>
<!-- Cube -->
<mesh name="Cube">
<transform>
<matrix value="1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1"/>
</transform>
<!-- 8 sommets du cube -->
<vertices>
<point x="-1" y="-1" z="-1"/>
<point x=" 1" y="-1" z="-1"/>
<point x=" 1" y=" 1" z="-1"/>
<point x="-1" y=" 1" z="-1"/>
<point x="-1" y="-1" z=" 1"/>
<point x=" 1" y="-1" z=" 1"/>
<point x=" 1" y=" 1" z=" 1"/>
<point x="-1" y=" 1" z=" 1"/>
</vertices>
<!-- Faces triangulées (12 triangles = 6 faces) -->
<faces>
<!-- bas -->
<triangle v0="0" v1="1" v2="2"/>
<triangle v0="0" v1="2" v2="3"/>
<!-- haut -->
<triangle v0="4" v1="6" v2="5"/>
<triangle v0="4" v1="7" v2="6"/>
<!-- avant -->
<triangle v0="0" v1="4" v2="5"/>
<triangle v0="0" v1="5" v2="1"/>
<!-- arrière -->
<triangle v0="3" v1="2" v2="6"/>
<triangle v0="3" v1="6" v2="7"/>
<!-- gauche -->
<triangle v0="0" v1="3" v2="7"/>
<triangle v0="0" v1="7" v2="4"/>
<!-- droite -->
<triangle v0="1" v1="5" v2="6"/>
<triangle v0="1" v1="6" v2="2"/>
</faces>
<shader ref="OrangeShader"/>
</mesh>
-->
</scene>
This code works but not rendered for image, it is full black… ![]()

