Linux: Mesa, Gallium3D, Nouveau and NVIDIA Drivers, OpenGL Test
0 Members and 1 Guest are viewing this topic.
<?xml version="1.0" encoding="ISO-8859-1"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" > <!-- ================================================================================= Hyperion basic types ================================================================================= --> <xs:simpleType name="HYP_BOOLEAN"> <xs:restriction base="xs:string"> <xs:enumeration value="TRUE"/> <xs:enumeration value="FALSE"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="HYP_CLAMPED_REAL"> <xs:restriction base="xs:float"> <xs:minInclusive value="0.0" /> <xs:maxInclusive value="1.0" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="HYP_STR63"> <xs:restriction base="xs:string"> <xs:minLength value="0"/> <xs:maxLength value="63"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="HYP_STR127"> <xs:restriction base="xs:string"> <xs:minLength value="0"/> <xs:maxLength value="127"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="HYP_STR255"> <xs:restriction base="xs:string"> <xs:minLength value="0"/> <xs:maxLength value="255"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="HYP_STR4095"> <xs:restriction base="xs:string"> <xs:minLength value="0"/> <xs:maxLength value="4095"/> </xs:restriction> </xs:simpleType> <!-- ================================================================================= Hyperion Scene node. ================================================================================= --> <xs:element name="scene"> <xs:complexType> <xs:all> <xs:element name="background_color" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="r" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="g" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="b" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> </xs:complexType> </xs:element> <xs:element name="background_image" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="image" type="HYP_STR255" use="optional" /> </xs:complexType> </xs:element> <xs:element name="check_hardware_caps" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="oglsl" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="dot3" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="cube_mapping" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="vbo" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="shader_model_1_1" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="shader_model_2_0" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="shader_model_3_0" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="shader_model_4_0" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="s3tc" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="nvidia" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="ati" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="error_message" type="HYP_STR255" use="optional" /> </xs:complexType> </xs:element> <xs:element name="global_ambient_light" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="r" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="g" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="b" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="a" type="HYP_CLAMPED_REAL" use="optional" default="1.0" /> </xs:complexType> </xs:element> <xs:element name="ref_grid_color" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="r" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="g" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="b" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> </xs:complexType> </xs:element> <xs:element name="window_size" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="width" type="xs:nonNegativeInteger" use="optional" default="1024" /> <xs:attribute name="height" type="xs:nonNegativeInteger" use="optional" default="768" /> </xs:complexType> </xs:element> <xs:element name="wait_screen" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="image" type="HYP_STR255" use="optional" /> </xs:complexType> </xs:element> <xs:element name="infos" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="title" type="HYP_STR127" use="optional" /> <xs:attribute name="date" type="HYP_STR127" use="optional" /> <xs:attribute name="author" type="HYP_STR127" use="optional" /> <xs:attribute name="description" type="HYP_STR4095" use="optional" /> </xs:complexType> </xs:element> <xs:element name="infos_color" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="r" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="g" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> <xs:attribute name="b" type="HYP_CLAMPED_REAL" use="optional" default="0.0" /> </xs:complexType> </xs:element> <xs:element name="nx_gravity" minOccurs="0" maxOccurs="1" > <xs:complexType> <xs:attribute name="x" type="xs:float" use="optional" default="0.0" /> <xs:attribute name="y" type="xs:float" use="optional" default="-9.81" /> <xs:attribute name="z" type="xs:float" use="optional" default="0.0" /> </xs:complexType> </xs:element> </xs:all> <xs:attribute name="name" type="HYP_STR127" use="optional" default="myScene" /> <xs:attribute name="archive_filename" type="xs:string" use="optional" /> <xs:attribute name="screenshots_dir" type="xs:string" use="optional" /> <xs:attribute name="warm_up_caches_cycles" type="xs:nonNegativeInteger" use="optional" default="2" /> <xs:attribute name="display_fps" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="show_ref_grid" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="vsync" type="HYP_BOOLEAN" use="optional" default="TRUE" /> <xs:attribute name="clear_color_buffer" type="HYP_BOOLEAN" use="optional" default="TRUE" /> <xs:attribute name="use_fbo" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="nx_physics_simulation" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="nx_collision_detection" type="HYP_BOOLEAN" use="optional" default="TRUE" /> <xs:attribute name="display_elapsed_time" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="display_texture_memory_occupation" type="HYP_BOOLEAN" use="optional" default="FALSE" /> <xs:attribute name="display_all_statistics" type="HYP_BOOLEAN" use="optional" default="FALSE" /> </xs:complexType> </xs:element> <!-- ================================================================================= Hyperion root node. ================================================================================= --> <xs:element name="hyperion"> <xs:complexType> <xs:all> <xs:element ref="scene" minOccurs="0" maxOccurs="1" /> </xs:all> <xs:attribute name="version" type="xs:float" use="required" /> </xs:complexType> </xs:element></xs:schema>
<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- scene element --> <xs:element name="scene"> <xs:complexType> <xs:all> <!-- picking element --> <xs:element name="picking"> <xs:complexType> <xs:attribute name="active" type="hyperion_boolean" default="FALSE"/> <xs:attribute name="script" type="xs:string"/> </xs:complexType> </xs:element> <!-- wait_screen element --> <xs:element name="wait_screen"> <xs:complexType> <xs:attribute name="image" type="xs:string"/> </xs:complexType> </xs:element> <!-- window_size element --> <xs:element name="window_size"> <xs:complexType> <xs:attribute name="width" type="xs:int" default="1024"/> <xs:attribute name="height" type="xs:int" default="768"/> </xs:complexType> </xs:element> <!-- infos element --> <xs:element name="infos"> <xs:complexType> <xs:attribute name="author" type="xs:string"/> <xs:attribute name="date" type="xs:string"/> <!-- should be xs:date type --> <xs:attribute name="title" type="xs:string"/> <xs:attribute name="description" type="xs:string"/> </xs:complexType> </xs:element> </xs:all> <xs:attribute name="name" type="xs:string"/> <xs:attribute name="archive_filename" type="xs:string"/> <xs:attribute name="display_fps" type="hyperion_boolean" default="FALSE"/> <xs:attribute name="show_ref_grid" type="hyperion_boolean" default="FALSE"/> <xs:attribute name="vsync" type="hyperion_boolean" default="TRUE"/> <xs:attribute name="clear_color_buffer" type="hyperion_boolean" default="TRUE"/> <xs:attribute name="warm_up_caches_cycles" type="xs:int" default="2"/> <xs:attribute name="display_elasped_time" type="hyperion_boolean" default="FALSE"/> <xs:attribute name="display_texture_memory_occupation" type="hyperion_boolean" default="FALSE"/> <xs:attribute name="display_all_statistics" type="hyperion_boolean" default="FALSE"></xs:attribute> <xs:attribute name="screenshots_dir" type="xs:string"/> <xs:attribute name="nx_physics_simulation" type="hyperion_boolean" default="FALSE"/> <xs:attribute name="nx_collision_detection" type="hyperion_boolean" default="TRUE"/> </xs:complexType> </xs:element> <!-- Hyperion Boolean: TRUE or FALSE --> <xs:simpleType name="hyperion_boolean"> <xs:restriction base="xs:string"> <xs:enumeration value="TRUE"/> <xs:enumeration value="FALSE"/> </xs:restriction> </xs:simpleType> <!-- color range of a float between 0.0 and 1.0 --> <xs:simpleType name="color_value"> <xs:restriction base="xs:float"> <xs:minInclusive value="0.0"/> <xs:maxInclusive value="1.0"/> </xs:restriction> </xs:simpleType> <xs:attributeGroup name="hyperion_color"> <xs:attribute name="r" type="color_value"/> <xs:attribute name="g" type="color_value"/> <xs:attribute name="b" type="color_value"/> <xs:attribute name="a" type="color_value"/> </xs:attributeGroup></xs:schema>