Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 798 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 798 Bytes

brlcad-viewer

A geometry viewer application that generates a standalone double-clickable file that views a given model.

Compilation Instructions:

Adjust the command according to the location of your brlcad installation. This command is for default and release 7.24.4.

gcc -o viewer viewer.c -L/usr/brlcad/rel-7.24.4/lib -lrt -lbu -I/usr/brlcad/rel-7.24.4/include -I/usr/brlcad/rel-7.24.4/include/brlcad
cat viewer moss.g > exec
./exec

Development Plan Summary:

  • Read a ".g" file and identify its header bytes [DONE]
  • Pass on the opened file to librt
  • Call libdm to draw the geometry

More here: BRLCAD Viewer


Markdown Cheatsheet