Skip to content

Releases: autopawn/3d-ascii-viewer

v1.4.0

23 Dec 16:29
Compare
Choose a tag to compare

New features:

  • Proper triangulation of non-convex faces with more than 3 vertices.
  • The model orientation can be changed using the -XYZ, -XZY, -YXZ, -YZX, -ZXY, and -ZYX options.
  • Faces can be flipped using the -F option.

Fixes:

  • Because of a limited buffer size for reading lines (256 characters), faces with many vertexes were not properly read for OBJ models. This was fixed.

Changes:

  • Added models/non-convex.obj to test capability of triangulating non-convex faces.

v1.3.0

21 Jun 00:13
Compare
Choose a tag to compare

New features:

  • STL format support. Thanks @PascalGilbraith !
  • HUD can now be toggled in --interactive mode.

Changes:

  • Repo renamed from 3d-ascii-viewer-c to 3d-ascii-viewer.
  • Altitude range extended to [180,180] in --interactive mode.
  • When using --color, dark material colors are lighted up a little so they can be seen against the black background.
  • Added Tux model by Vido89.
  • MTL file data is only loaded if --color is passed.

v1.2.0

30 May 07:17
Compare
Choose a tag to compare

New features:

  • Support for colors with the --color option on terminals that support it. For this, the materials' diffuse color is loaded from the companion MTL files.
  • Axes can now be inverted individually with the -X, -Y, and -Z options.
  • Support for zoom with the -z option. The zoom level can also be controlled in --interactive mode.

v1.1.0

04 May 05:19
Compare
Choose a tag to compare

New features:

  • If width and height options are not provided, the available terminal size will be used by default. It will also be adjusted automatically when the terminal is resized.
  • Custom luminescence characters can now be provided through the -c option.

Fixes:

  • The \n characters are not being printed when using ncurses, so it is possible to also use the last column of the screen.
  • OBJ models consider the +Z axis as going towards the observer. The program wasn't taking into account that so the models were mirrored on the X axis and initially facing backwards. This was fixed.

v1.0.0

29 Apr 22:54
Compare
Choose a tag to compare

This first version includes:

  • Support for specifying width and height of the output, in characters, with the -w and -h options.
  • The -s option to stretch the model to maximize its displayed size.
  • Options to control the animation and light: -d, -f, -t, -l.
  • Control over the assumed height/width ratio of terminal characters with the -a option.
  • --snap mode to output a single frame to stdout, with the given rotation. Which may be useful for scripts.
  • --interactive mode to manually rotate the camera.