Read and convert a formatted ASCII text file and an Open Inventor file describing a single geometrical 'Dot' object into an Open Inventor scene graph and output 3-D geometry file describing an entire DotsPlus Braille Font.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
34 'dquote' g_height = 8 g_width = 5 c_height = 8 c_width = 5 bline = 0 xxxxx xxxxx xxxxx x0x0x x0x0x x0x0x xxxxx xxxxxThe Braille font glyph for the character 'double-quote' is described by a block of ASCII text with an 'x' indicating empty space and a '0' indicating a [hysical 'Dot'. There is an implied vertical and horizontal pitch per 'Dot' address of 0.1 inch.
# Compiling for IRIX # CXX = CC # USER_CXXFLAGS = -g -I. -DIRIX_MIPS3 # CXXFLAGS = $(USER_CXXFLAGS) -DFUNCPROTO -DXTFUNCPROTO -mips3 # USER_LIBRARIES = -lInventor -lm -lmalloc_cv # LIBS = $(USER_LIBRARIES) -lGL -lGLU # Compiling for Linux_i368/GNU CXX = g++ USER_CXXFLAGS = -g -I. -DLINUX_i386 CXXFLAGS = $(USER_CXXFLAGS) -DFUNCPROTO -DXTFUNCPROTO USER_LIBRARIES = -lInventor -lm LIBS = $(USER_LIBRARIES) -lGL -lGLU # Compiling for MacOS-X/Darwin/PPC # CXX = cc -framework inventor -framework OpenGL # USER_CXXFLAGS = -fstrict-prototype -g -I. -DMACOSX_PPC # CXXFLAGS = $(USER_CXXFLAGS) -DFUNCPROTO -DXTFUNCPROTO # USER_LIBRARIES = # LIBS = -lmYou want to edit Makefile.fromDotsPicTxt to activate compiler options for your particular platform, and comment-out ('# ') those lines you want to disable.
This package is currently geared toward GNU's 'gmake' and 'gcc'.