This commit is contained in:
Thomas FORGIONE 2015-06-10 11:31:28 +02:00
parent 73371aa42f
commit c28de16a87
2 changed files with 11 additions and 7 deletions

View File

@ -31,8 +31,6 @@ block content
camera that you want, and move to it progressively. camera that you want, and move to it progressively.
li li
a(href="#{urls.stream}") Streaming simulation a(href="#{urls.stream}") Sphere streaming
p. p.
A mesh of a sphere is fully loaded, and displayed Streaming of 3D obj model of sphere
progressively. This test is here to prove that we can
dynamically add vertices and faces to a mesh.

View File

@ -1,7 +1,7 @@
extends ../../../views/main extends ../../../views/main
block title block title
title #{title} - Streaming simulator title #{title} - Streaming
block extrajs block extrajs
script params = {}; params.get= {}; params.get.res = #{resolution} script params = {}; params.get= {}; params.get.res = #{resolution}
@ -14,8 +14,14 @@ block content
h2 Streaming simulator h2 Streaming simulator
p. p.
In fact, it's not really streaming. The sphere is fully preloaded and then, <strike>In fact, it's not really streaming. The sphere is fully preloaded and then,
a mesh is created and vertices and faces are dynamically added to this mesh a mesh is created and vertices and faces are dynamically added to this mesh
as time goes by. as time goes by.</strike>
p.
| In fact, it is acutally streaming. If you web browser supports
| WebSocket, you'll connect to the server and the mesh will be streamed
| onto the socket and the faces will be displayed as soon as you
| receive them.
#container #container