Michael Schlachter

Results 25 comments of Michael Schlachter

This looks awesome!!

To compute projection matrix with .fov as horizontal instead of vertical ``` this.perspectiveCamera.aspect = w / h; this.perspectiveCamera.updateProjectionMatrix(); if(this.fovAxis==='horizontal'){ let e = this.perspectiveCamera.projectionMatrix.elements; e[5]=this.perspectiveCamera.aspect; e[0]=1; } ``` Sorry if this...

Rad! Pocket RayTracer! How long to render a frame on the TFT?! I would legit love to have a keychain device that raytraces :D

Very cool that you're working on this! I actually have gotten a decent workflow going for this using this plugin combined with: https://github.com/LaserWeb/LaserWeb4... and Here is the low price laser...

I've thought about this a bit more, and noticed the SVG file looks pretty easy to parse, So maybe I should just write a converter rather than changing the exporter:)

Make sure object.scale never gets too close to zero...

Looks good to me! Yeah this is definitely a worthy optimization. There is definitely room to improve the API. I've had some thoughts about making the api more "fluent" and...

One way to speed these kinds of operations up, is to break them into smaller problems. If you take the intersection of the bounding box of each input, then subtract...

You can see an example of the first approach, here: https://manthrax.github.io/THREE-CSGMesh/v2/index.html Here I took a complex blobby gold shape, and subtract a high poly text from it. Doing it naively...