Hello.
Two models were placed in one scene each.
Every time I move the scene, I keep loading the model,
- Can I keep the model continuously after the first loading?
- Is there any additional way to accelerate model loading?
-model tris
g1o - 600k tirs / loding time - about 5s
g2o - 600k tirs / loding time - about 5s
scene_000 > 5s > scene_001 > 5s >scene_000 ...
repeated loading..
code here
Code
<scene name="scene_000" autoload="true" >
<view hlookat="180.20" vlookat="26.0" fovtype="MFOV" fov="70" maxpixelzoom="2.0" fovmin="70" fovmax="140" tx="-4" ty="-220" tz="388"/>
<display depthbuffer="true" depthrange="5,10000" />
<image>
<depthmap url="model/g2o/g2o.obj" subdiv="0" axis="y+x+z" scale="1" center="0,0,0" origin="0|0|0" hittest="true" hittestmode="gpu"/>
</image>
<hotspot name="parcel14" style="Yellow" points3d="24.05, -51.59, 335.83, 94.4, -45.89, 282.89, 169.67, -45.71, 390.49, 80.32, -44.51, 452.65, 50.52, -44.16, 409.73, 47.81, -50.32, 373.81" onclick="go(scene_001);"/>
</scene>
<scene name="scene_001" autoload="true" >
<view hlookat="180.20" vlookat="26.0" fovtype="MFOV" fov="70" maxpixelzoom="2.0" fovmin="70" fovmax="140" tx="-4" ty="-220" tz="388"/>
<display depthbuffer="true" depthrange="5,10000" />
<image>
<depthmap url="model/g1o/g1o.obj" subdiv="0" axis="y+x+z" scale="1" center="0,0,0" origin="0|0|0" hittest="true" hittestmode="gpu"/>
</image>
<hotspot name="parcel14" style="Yellow" points3d="24.05, -51.59, 335.83, 94.4, -45.89, 282.89, 169.67, -45.71, 390.49, 80.32, -44.51, 452.65, 50.52, -44.16, 409.73, 47.81, -50.32, 373.81" onclick="go(scene_000);"/>
</scene>
<action name="go">
loadscene(%1,null,MERGE,LIGHTBLEND(1.0,0xffffff,2.0,linear));
</action>
Display More