demo/FTGLDemo.cpp


Log

Author Commit Date CI Message
sammy ab4586ca 2008-05-01T09:45:14 * Update demos and unit tests so that they use the newly named types.
sammy 2aa2aeb5 2008-04-30T16:27:34 * Move include/* to src/FTGL/* so the files in there can directly be referred to as "FTGL/*.h". This is convenient because they will be installed in a similar location. * Put a warning in each legacy public header to advise users to only include the generic <FTGL/ftgl.h> header instead.
sammy 1f4a94f8 2008-04-29T14:39:28 * Since the MIT license is LGPL-compatible, there is no real point in shipping FTGL under a dual license. Consequently removing LGPL references from the code, in agreement with Sean.
sammy c96146ed 2008-04-29T06:44:51 * Moved header files that are not required by library clients into src/ so that they do not get installed. * Created an ftgl.h header that allows clients to #include <FTGL/ftgl.h> and be done with it.
sammy aaf4b59d 2008-04-27T09:52:41 * Various fixes and improvements to the demo, by Eric Beets and myself.
sammy 75c73099 2008-04-23T21:23:59 * Fix most compilation warnings. Most frequent causes: shadow declarations and const qualifier disappearances.
sammy 0007128c 2008-04-23T12:12:51 * Cosmetic changes to FTGLDemo: bigger font, layout-compliant text, filtered textures.
sammy 26da265c 2008-04-23T09:51:14 * Check for <GL/glut.h> and <GLUT/glut.h> during the configure step instead of guessing their location at build time.
sammy 9ae936f3 2008-04-22T23:47:24 * C bindings for the FTLayout interface. Code by Eric Beets.
sammy 15d3cad5 2008-04-22T17:06:49 * Fix FTTextureGlyph rendering offset so that it works with layouts.
sammy c4650043 2008-04-22T16:45:30 * Fix the demo program so that it uses the FTTextureFont class.
sammy 123c5972 2008-04-22T16:42:55 * Slightly tune the demo to show the new FTGL::RENDER_FRONT and RENDER_SIDE features.
sammy 4c6f87b9 2008-04-21T21:48:37 * Fine tune the demo so that the extrude mode shows the outset results.
sammy 952ab5dc 2008-04-14T14:22:18 * Made the FTGLDemo and FTGLMFontDemo coding style consistent with the rest of the code.
sammy 87609beb 2008-04-13T22:13:44 * Added copyright and license information to recently merged files.
sammy d6a2d851 2008-04-13T21:14:44 * Merged trunk commits [664], [665], [666], [667], [669], [670], [671], [672] and [684], by patrick and henry: + Added FTLayout.h, FTSimpleLayout.h and FTSimpleLayout.cpp to implement a framework for layout managers and an implementation of a simple layout manager. + Updated FTGLDemo to use the new FTSimpleLayout. Changes include: - Added a font origin to specify the location to render the font. - The default text is now blatantly plagarized from the back cover of the OGL red book. - The font size is much smaller. - Font metrics are rendered differently depending on the current layout manager. - The FTSimpleLayout alignment mode is now output with other font information. - The space bar no longer cycles through the fonts. The cursor up/down keys do. - The cursor left/right keys increment/decrement the size of the current font. - The page up/page down keys cycle through the layout managers. - The home/end keys increment and decrement the line length of a simple layout - The tab key cycles through the alignment modes of a simple layout. + Fixed a bug where the trackball rotation was applied after translation. + Minor reformatting and enabled texture fonts to be selected + Un-inlined private methods...because they are called by other private inlined methods + Minor formatting changes + Adding FTLayout
sammy 0b8db902 2008-04-12T22:41:39 * Fix an undefined operation in the FTGL demo.
sammy 7c358859 2008-04-04T12:43:38 * Generate a config.h file instead of passing all defines in the compiler command line. * "make install" now properly installs the includes, the documentation and the .pc file. * Generate a shared library.
sammy 4d10d9d0 2008-04-04T11:19:57 * Put standard system headers first because on Windows glut.h uses exit().
sammy a0614cd3 2008-04-04T09:20:40 * Fix an illegal cast of a static string to a char* (has to be char const*).
henry 7682e585 2004-09-18T11:25:09 Added demonstration of texture co-ordinate generation.
henry 2a980faa 2004-08-22T05:50:33 Removed unnecessary translates in the glyph rendering code.
henry 3f033ecf 2003-05-03T05:45:13 Changed MAC font path
henry 112ded61 2003-04-06T23:47:27 Minor reformatting and enabled texture fonts to be selected
patrick 616a1574 2003-04-06T21:56:04 Fixed a bug where the trackball rotation was applied after translation.
patrick d70b194d 2003-04-06T20:51:38 Updated FTGLDemo to use the new FTSimpleLayout. Changes include: - Added a font origin to specify the location to render the font. - The default text is now blatantly plagarized from the back cover of the OGL red book. - The font size is much smaller. - Font metrics are rendered differently depending on the current layout manager. - The FTSimpleLayout alignment mode is now output with other font information. - The space bar no longer cycles through the fonts. The cursor up/down keys do. - The cursor left/right keys increment/decrement the size of the current font. - The page up/page down keys cycle through the layout managers. - The home/end keys increment and decrement the line length of a simple layout - The tab key cycles through the alignment modes of a simple layout.
patrick ac4c33f8 2003-04-06T20:36:43 Updated FTGLDemo to use the new FTSimpleLayout. Changes include: - Added a font origin to specify the location to render the font. - The default text is now blatantly plagarized from the back cover of the OGL red book. - The font size is much smaller. - Font metrics are rendered differently depending on the current layout manager. - The FTSimpleLayout alignement - The space bar no longer cycles through the fonts. The cursor up/down keys
marcelo 6fcea409 2003-01-20T13:58:28 Expect a fontfile on the command line, fall back to a default one on systems where a default is known -- else complain about the missing parameter. Come to think of it, I could use a PS font on IRIX. I'll look into that later.
henry 812361ee 2002-12-21T09:09:50 Changed int to float in glRasterPos
henry f31295ad 2002-12-17T09:10:33 Changed render to Render
henry 9e37db56 2002-12-17T08:18:23 Changed mac font path to test directory
henry 59259511 2002-12-16T08:27:39 Refactored FTFont to get rid of Open function
henry e59da05e 2002-12-05T06:47:30 Fixed path
henry a31de491 2002-12-02T06:32:46 Rewriting to make it more 'correct'
henry 5fdcdcb8 2002-11-28T08:01:38 Removed some redundant code
henry a289e4ec 2002-06-21T08:22:34 Added hash define for windows fonts
henry 1fc86b8b 2002-02-16T05:12:09 Renamed from *.c to *.cpp