I thought up a very simple way to get Nginx to handle remote event logging over http using Nginx’s custom log formats. You can format the logs as CSV and use them elsewhere. Insert the following within http block (outside the server block): Add a location into the server block to handle the custom logging: […]
Ok, I know. You shouldn’t create experiences in VR that make you sick. Your wise words aren’t going to stop me … 🤭🤢🤮 Made with Blender + Unity in a couple of lunch hours.
Here is a fast workflow to get an equirectangular HDR image into a format suitable for an hdr environment map in Three.js. We will be using a piece of open source software called cmftStudio (cube map filtering tool). So head over there and download & install the correct binary. Next grab yourself an equirectangular HDR […]
This is a solution to get Firefox (Quantum) working chromeless in fullscreen from startup. This would be useful for setting up a browser for a kiosk. Create a userChrome.css file: https://www.howtogeek.com/334716/how-to-customize-firefoxs-user-interface-with-userchrome.css/ Paste this in to the css file: Useful to have installed for any other tweaks to the browser style… https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox Add this extension to […]
I am faced, yet again, with making multi-touch work in the browser on MacOS. This has always been a tricky one to solve. There have been working solutions in the past but the ones I can find are broken in one way or another and have become dusty and forgotten. Probably because most people decide […]
This is how you get smooth shading on your meshes from Blender -> GLTF -> THREE (with a MeshPhysicalMaterial) 1. Export your mesh with smooth shading toggled on in the object’s Tools -> Edit menu. 2. Make sure material.flatShading=false is set on your material. 3. If you still have problems, see this https://github.com/mrdoob/three.js/issues/347
A series of interactives for the Mackintosh At The Willow visitor centre. Tea Blending Colour Your Own Stencil
Precomputed 2D motion tracking on HD video applied to DOM element with CSS transformations.
Symfony requires you to specify a date.timezone in the ini file. The problem is, Mac uses it’s own install of PHP, and you need to create directory structure it searches for the ini file… and a php.ini file. Here’s how you do it. 1. Open terminal 2. nano /Library/Server/Web/Config/php/php.ini 3. add line date.timezone = “Europe/London” […]
Framebuffer objects in Cinder (by default) have no anti-aliasing which leaves your edges jagged. The solution is to create a Framebuffer format and specify the number of samples to use. More info on FBO’s and anti-aliasing
MAKE SURE YOU ARE ACTIVELY USING AND REFERENCING THE ATTRIBUTES IN THE SHADER!
Here’s an example of using dynamic custom attributes in GLSL 1.2 and Cinder. I also found this link useful!
Recently been getting to grips with Cinder, OpenGL and GLSL for a project. I managed to get close to a million particles drawing at around 60fps Here’s what I did to achieve this: Firstly I created a VBO mesh that contained randomly positioned vertices (each vertex represented a root particle position). Using VBO meshes mean […]
Remove an unwanted file from git
We were able to pull off silky smooth 3d animations and multi-marker AR with the help of Away3D 4.0 (which uses the Stage3D API in AIR for GPU accelerated graphics); FLARToolkit; the dab hand of a 3D artist and some upbeat disco music. Not forgetting days I spent working out a consistent workflow to get […]
At developer.apple.com 1. Create App ID (this may be wildcard, so you can use it for multiple apps with the same bundle prefix. e.g. com.wehaverhythm.* for all internal apps.) 2. Create an AdHoc provisioning profile using the above App ID. (More devices can be added later, but must be added before distribution export). In Xcode […]
A multiplayer wheelbarrow racing game for EE at their Market Street store in Manchester. Made in Node.JS & Adobe AIR.