Intro I extracted my mate’s (approximately 60×60 pixel) face from a Facebook picture, and overlaid it onto a depth-map for a similarly shaped face, then used a custom python script to create a 3d wavefront model of his face, and an accompanying .mtl file for the texture. I will create a post soon properly dissecting […]
3d
Code
Game Design
Media
Python
Python Model Sword MakerMake a variety of sword, knives, hammer/axes, polearms, and much more with only a few lines code. The code is split into 3 libraries:Mesh.py: Tools for processing triangle meshes. The triangle mesh is a list of triangles composed of 3 vertices, each with a corresponding colour (RGB from 0 to 1). Currently the library only […]
3d
Code
LISP
R5RS Scheme Wavefront .obj (3d Files)This library will allow for the easy creation of 3d Wavefront .Obj Files https://en.wikipedia.org/wiki/Wavefront_.obj_file in Scheme. I’ve made sure the code is R5RS compliant, tested under Dr-Racket but I’m pretty sure it should work in MIT-scheme and probably many other dialects.
3d
Code
LISP
Media
R5RS Scheme 3d ExtruderThis is my 3d library, from my personal R5RS build; It requires my .obj library be loaded.At the end I’ve also attached and commented out a few examples and demos. The simplest top-level Function is the surface of revolution, you simply enter a 2d shape as a list of 2d-points (just cons cells, no special […]
0