This is a xml file with all the scene configuration. This is one example:
<modelan3d>
   <world fogDensity="0.01" fogEnabled="false" name="objetis2" 
backgroundColor="0.000 0.000 0.000 1.000">
backgroundColor="0.000 0.000 0.000 1.000">
      <camera cameraAngle="0 0 0" fieldOfView="75.00"  
location="0.000 91.574 157.700" lookAt="-0.000 27.171 65.217"
lookAtDistance="112.70"/>
location="0.000 91.574 157.700" lookAt="-0.000 27.171 65.217"
lookAtDistance="112.70"/>
      <lights>
         <lightsPoint length="1">
            <lightPoint location="0.000 200.000 200.000 1.000">
               <material ambient="0.200 0.200 0.200 1.000" 
diffuse="1.000 1.000 1.000 1.000" shiness="50.000"
specular="0.000 0.000 0.000 1.000"/>
diffuse="1.000 1.000 1.000 1.000" shiness="50.000"
specular="0.000 0.000 0.000 1.000"/>
            </lightPoint>
         </lightsPoint>
      </lights>
      <objects>
         <globalAxis offset="0.0" transparency="0.0" visible="true"/>
         <objects class="java.util.ArrayList">
            <userGlObjectAbs class="com.modela3d.opengl.objects.group.GroupGlObject"  
creationTime="2017-12-15 17:08:51"
minSDKVersion="8" creationType="101"
name="Object" rotation="0.000 0.000 0.000" scale="1.000 1.000 1.000"
translate="-4.145 43.562 74.250" vertices3Id="0">
creationTime="2017-12-15 17:08:51"
minSDKVersion="8" creationType="101"
name="Object" rotation="0.000 0.000 0.000" scale="1.000 1.000 1.000"
translate="-4.145 43.562 74.250" vertices3Id="0">
               <listObjects class="java.util.ArrayList">
                  <userGlObjectAbs class="com.modela3d.opengl.objects.UserGlObjectNoBacking" 
creationTime="2017-12-15 16:51:43" minSDKVersion="8"
creationType="2" name="Object"
rotation="0.000 0.000 0.000" scale="1.000 1.000 1.000"
translate="6.540 1.543 -15.003" vertices3Id="1">
creationTime="2017-12-15 16:51:43" minSDKVersion="8"
creationType="2" name="Object"
rotation="0.000 0.000 0.000" scale="1.000 1.000 1.000"
translate="6.540 1.543 -15.003" vertices3Id="1">
                     <material ambient="0.200 0.200 0.200 1.000" 
diffuse="1.000 0.765 0.000 1.000"
shiness="50.000" specular="1.000 1.000 1.000 1.000"/>
diffuse="1.000 0.765 0.000 1.000"
shiness="50.000" specular="1.000 1.000 1.000 1.000"/>
                     <matrixOperations length="3">
                        <vector3PojoXml type="0" x="6.5401344" y="1.5434628" z="-15.002789"/>
                        <vector3PojoXml type="1" x="0.0" y="0.0" z="0.0"/>
                        <vector3PojoXml type="2" x="1.0" y="1.0" z="1.0"/>
                     </matrixOperations>
                  </userGlObjectAbs>
                  <userGlObjectAbs class="com.modela3d.opengl.objects.UserGlObjectNoBacking" 
creationTime="2017-12-15 16:55:25" minSDKVersion="8"
creationType="2" name="Object" rotation="0.000 0.000 0.000"
scale="1.000 1.000 1.000" translate="21.348 -1.543 15.003"
vertices3Id="2">
creationTime="2017-12-15 16:55:25" minSDKVersion="8"
creationType="2" name="Object" rotation="0.000 0.000 0.000"
scale="1.000 1.000 1.000" translate="21.348 -1.543 15.003"
vertices3Id="2">
                     <material ambient="0.200 0.200 0.200 1.000" 
diffuse="0.000 0.196 1.000 1.000"
shiness="50.000"
specular="1.000 1.000 1.000 1.000"/>
diffuse="0.000 0.196 1.000 1.000"
shiness="50.000"
specular="1.000 1.000 1.000 1.000"/>
                     <matrixOperations length="3">
                        <vector3PojoXml type="0" x="21.347689" y="-1.5434647" z="15.002785"/>
                        <vector3PojoXml type="1" x="0.0" y="0.0" z="0.0"/>
                        <vector3PojoXml type="2" x="1.0" y="1.0" z="1.0"/>
                     </matrixOperations>
                  </userGlObjectAbs>
               </listObjects>
               <matrixOperations length="3">
                  <vector3PojoXml type="0" x="-4.144524" y="43.561867" z="74.25049"/>
                  <vector3PojoXml type="1" x="0.0" y="0.0" z="0.0"/>
                  <vector3PojoXml type="2" x="1.0" y="1.0" z="1.0"/>
               </matrixOperations>
            </userGlObjectAbs>
         </objects>
         <plane planeSize="200" reflexion="true" shadows="true"  
textureAssetName="ground/square.png" textureScale="20.0"
transparency="0.8" visible="true">
textureAssetName="ground/square.png" textureScale="20.0"
transparency="0.8" visible="true">
            <material ambient="0.200 0.200 0.200 1.000"  
diffuse="1.000 1.000 1.000 1.000"
shiness="50.000"
specular="1.000 1.000 1.000 1.000"/>
diffuse="1.000 1.000 1.000 1.000"
shiness="50.000"
specular="1.000 1.000 1.000 1.000"/>
         </plane>
      </objects>
   </world>
</modelan3d>
 
No comments:
Post a Comment