Yes papa
This commit is contained in:
parent
73371aa42f
commit
c28de16a87
|
@ -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.
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue