From c28de16a87ce1029960116582dfbcbfd526bb940 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 10 Jun 2015 11:31:28 +0200 Subject: [PATCH] Yes papa --- controllers/index/views/index.jade | 6 ++---- controllers/stream/views/index.jade | 12 +++++++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/controllers/index/views/index.jade b/controllers/index/views/index.jade index 5b915a4..b3e4e9c 100644 --- a/controllers/index/views/index.jade +++ b/controllers/index/views/index.jade @@ -31,8 +31,6 @@ block content camera that you want, and move to it progressively. li - a(href="#{urls.stream}") Streaming simulation + a(href="#{urls.stream}") Sphere streaming p. - A mesh of a sphere is fully loaded, and displayed - progressively. This test is here to prove that we can - dynamically add vertices and faces to a mesh. + Streaming of 3D obj model of sphere diff --git a/controllers/stream/views/index.jade b/controllers/stream/views/index.jade index b7433e8..f7b25b8 100644 --- a/controllers/stream/views/index.jade +++ b/controllers/stream/views/index.jade @@ -1,7 +1,7 @@ extends ../../../views/main block title - title #{title} - Streaming simulator + title #{title} - Streaming block extrajs script params = {}; params.get= {}; params.get.res = #{resolution} @@ -14,8 +14,14 @@ block content h2 Streaming simulator p. - In fact, it's not really streaming. The sphere is fully preloaded and then, + 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 - as time goes by. + as time goes by. + + 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