Skip to content

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

License

Notifications You must be signed in to change notification settings

jumpdesigner/brlcad-viewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%