diff --git a/.glitch-assets b/.glitch-assets index fd7814c..1233abd 100644 --- a/.glitch-assets +++ b/.glitch-assets @@ -64,3 +64,5 @@ {"uuid":"EjI8Y9wdZ9DEXI17","deleted":true} {"uuid":"NrjOonoBBKwJOzAM","deleted":true} {"uuid":"6Nh4U9WKKmsixoal","deleted":true} +{"uuid":"htKWwt5VEMZxfPpE","deleted":true} +{"name":"kowloon-walled-city.mtl","date":"2020-01-10T18:39:13.930Z","url":"https://cdn.glitch.com/cb410afa-f144-49f6-8fc1-a31e25633361%2Fkowloon-walled-city.mtl","type":"","size":1196,"thumbnail":"https://cdn.glitch.com/cb410afa-f144-49f6-8fc1-a31e25633361%2Fthumbnails%2Fkowloon-walled-city.mtl","thumbnailWidth":210,"thumbnailHeight":210,"uuid":"qsP9ofBkiLaReu1T"} diff --git a/README.md b/README.md index f3f815a..95831e2 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,14 @@ -# Assets.js -Assets.js allows you to use relative paths to serve your assets on Glitch. +# Kowloon Walled City VR -Replacing this: `https://cdn.glitch.com/us-east-1%3A1a0f89c8-26bf-4073-baed-2b409695e959%2Ffoobar.png` :( -With this: `/assets/foobar.png` :) +## Source Model -## Getting Started +IIRC I generated the mtl and obj from [this sketchup file on 3dwarehouse.com](https://3dwarehouse.sketchup.com/collection/u86e3e850-75c6-41f8-bb8c-db9ae8d660d5/Kowloon-Walled-City?sortBy=modifyTime%20DESC&searchTab=model&hl=en), but it was a while ago and I can't remember 😅 -### Install: -Just copy and paste the contents of `assets.js` into your project. +## Detailing -### Example usage: -Then reference that file as follows: -``` -var assets = require("./assets"); -var express = require("express"); +I saw [this post](https://twitter.com/mflux/status/874182080359350273) from @mflux about procedural building generation that looked in the right direction. -var app = express(); -app.use("/assets", assets); -``` \ No newline at end of file +And @colonthree replied with [examples of their work which was even closer](https://twitter.com/Colonthreee/status/874278263186747392). + +Their [tumblr post](has ) \ No newline at end of file diff --git a/views/index.html b/views/index.html index c66bc4e..2b2a7d9 100644 --- a/views/index.html +++ b/views/index.html @@ -1,29 +1,27 @@ - - Kowloon Walled City (VR) - - - - - - - - + + Kowloon Walled City (VR) + + + + + + - - + + - - - - + + + + - - + + - - - + + \ No newline at end of file