Added sponza link

This commit is contained in:
Thomas FORGIONE
2015-06-11 11:47:44 +02:00
parent 365d29bd3d
commit 44f3d37ccb
4 changed files with 33 additions and 2 deletions

View File

@@ -88,6 +88,14 @@ module.exports.arrows = protoHelper('prototype_arrows.jade');
module.exports.viewports = protoHelper('prototype_viewports.jade');
module.exports.reverse = protoHelper('prototype_reverse.jade');
module.exports.sponza = function(req, res) {
res.setHeader('Content-Type', 'text/html');
res.render('sponza.jade', res.locals, function(err, result) {
res.send(result);
});
}
module.exports.replay_info = function(req, res) {
res.setHeader('Content-Type', 'text/plain');

View File

@@ -6,5 +6,6 @@ module.exports = {
'/prototype/replay': 'replay_index',
'/prototype/replay/:id': 'replay',
'/prototype/replay_info/:id': 'replay_info',
'/prototype/tutorial': 'tutorial'
'/prototype/tutorial': 'tutorial',
'/prototype/sponza': 'sponza'
}

View File

@@ -0,0 +1,17 @@
extends ./prototype_interactive
block title
title #{title} - Prototype - Arrows
block mainjs
script(src="/static/js/sponza.min.js")
block configjs
script RecommendedCamera = FixedCamera;
//-block preciseDescription
p
| Recommended views are displayed with a
| transparent blue arrow. They disappear when you
| come closer to them, and shows the motion between
| your current position and the recommendation.