demo


Log

Author Commit Date CI Message
Ben Boeckel dde5c75a 2015-02-18T15:28:10 windows: use the proper preprocessor define
David McFarland 318ebf73 2014-08-02T21:38:59 Added GL_LIBS and LIBM in demo LDFLAGS
sammy 87a8fb95 2010-05-23T17:50:57 Remove additional files upon make maintainer-clean. Fix courtesy of Bullet Catcher, from SF patch #2039757.
sammy b066d782 2010-05-23T16:30:54 Add query functions to request FTGL configuration information: - C version: ftglGetString(); - C++ version: FTGL::GetString(); Currently supported strings are: - FTGL_CONFIG_VERSION: FTGL version information
sammy 5e98dee3 2010-05-23T14:33:48 Activate blending and line smoothing in the mini demos. Texture fonts now work again, and polygon fonts look smoother.
sammy 1a9ee361 2009-07-19T15:13:40 Add help and font size indicator to FTGLDemo, courtesy of Bzflag's developer jwmelto.
sammy cab1fafd 2009-07-19T13:05:50 Update my e-mail address everywhere.
sammy abaf40a5 2009-04-01T16:22:45 Remove trailing spaces and tabs to ease syncs bzflag needs to do.
dtremenak fccd27b4 2008-08-05T15:21:25 add the same check to avoid negative font size as is used in FTGLDemo.
brlcad ae1656f5 2008-08-05T15:18:50 unsigned int, thx bulletcatcher
dtremenak 03663110 2008-06-13T21:16:09 make windows use the FONT_FILE mechanism for setting default font in demos also, no reason to special-case it. add standard license verbage to msvc config.h. tack a copyright notice on a couple files I made significant changes to.
sammy 6c2a187c 2008-06-08T15:56:35 * Revert the FTFont::Advance() and FTGlyph::Advance() improvements. After discussion, I was convinced they were not worth the backwards compatibility breakage. They now return float again, instead of FTPoint.
sammy cdc9b560 2008-06-03T12:23:07 * Coding style: remove tabs and trailing spaces, wrap long lines.
brlcad 2d92e442 2008-05-28T15:46:02 target-specific CPPFLAGS was not added to automake until 1.7 so use AM_CPPFLAGS instead
dtremenak 84869ec7 2008-05-23T00:46:08 * Provide a helper class for walking potentially-multibyte unicode strings. * Provide support for multibyte encodings (UTF-8, UTF-16) in FTFont and derived classes, and in FTSimpleLayout. * Put a few UTF-8 strings in non-latin codeplanes in FTGLDemo (toggle at compile-time) for testing. * FTSimpleLayout should be tested extensively before release. I would be surprised if I didn't break at least one unusual use case.
sammy 2ec899b0 2008-05-22T15:30:25 * Print FPS information in the small demos.
sammy a5fd3ea1 2008-05-21T16:38:25 * Revert the simple C++ demo to its previous state, now that FTBufferFont starts to work.
sammy a4096047 2008-05-21T11:39:14 * Temporarily disabled lighting in the simple demo to test FTBufferFont.
sammy 7eab0746 2008-05-21T10:11:38 * Add FTBufferFont to the complex FTGL demo.
dtremenak 2c71b47d 2008-05-21T01:14:34 all variables must be declared at the start of a block for C89 compliance. also use explicit float constants.
sammy 150528ab 2008-05-12T14:11:45 * The examples now use FONT_FILE if it was found by the configure step.
sammy 55dc91e0 2008-05-11T21:43:10 * Added optional position and string length to the Layout methods.
sammy 20ac99b1 2008-05-11T11:28:08 * FTFont::Advance(), FTFont::Render() and FTFont::BBox() are now far more powerful, allowing for substring display and extra spacing between characters.
brlcad eb0df25b 2008-05-09T15:41:15 reference a font that actually exists.. alas we do not all have a /Users/henry/Development directory. at least this one will exist if X11 is installed.
dtremenak ff534d1c 2008-05-08T23:45:05 use float constants when assigning to floats
sammy e9260bbf 2008-05-08T22:35:57 * Implement C bindings for FTGlyph and FTFont subclassing. * Add subclassing to the simple C demo to show how to do similar stuff as in the C++ demo.
sammy 4f44ec81 2008-05-07T15:01:47 * Make all BBox functions return an FTBBox object instead of doing countless conversions to floats or arrays of floats.
sammy 68419d9b 2008-05-07T07:17:17 * In the C++ demo, show that FTFont itself can be directly derived, not only its subclasses. * Minor changes to the C demo to reduce the differences with the C++ version.
dtremenak 9fcf7fbd 2008-05-06T21:41:58 on recent MS compilers one must include stdlib.h before glut.h
sammy 21dbe9d7 2008-05-06T21:19:09 * Minor fixes to the simple demo.
sammy 08e33f69 2008-05-06T12:14:36 * Create a C demo to show how the C bindings work.
sammy 500c67e7 2008-05-06T10:01:27 * Show how to subclass FTFont classes in the simple demo.
sammy 1c9e4908 2008-05-05T22:16:02 * The FTGL "simple demo" is no longer simple. Wrote a really simple one.
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.
brlcad 3674c4d1 2008-04-28T17:31:42 specify minimum versions, make ac be 2.58 and am be 1.6 (needed in order to support os x 10.4 out-of-the-box). PKG_CHECK_MODULES doesn't seem to wrap the args properly so you can't embed AC_MSG_RESULT, make a zip and bzip2 when we make a dist, and provide NULL to make am happy
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 2d7750d7 2008-04-13T21:39:26 * Merged trunk commits [678] and [711], by henry: + Created a demo that can handle multiple fonts and command line options. + Updated for new compiler.
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 9f978b91 2008-04-04T12:21:46 * Big build system overhaul. Autotools-generated files are no longer stored in SVN, the bootstrap script is more tolerant with odd installations, all makefiles are a lot shorter.
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
patrick f8be5414 2003-04-10T02:27:45 - Created a demo that can handle multiple fonts and command line options.
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
henry 7b3414c8 2003-03-05T21:25:19 Version 2.0 release
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 a3adc62b 2002-06-21T08:29:11 Merged 1.32 into 1.4
henry a289e4ec 2002-06-21T08:22:34 Added hash define for windows fonts
henry 3922d728 2002-02-16T05:42:47 Added EXTERN "C"
henry 1fc86b8b 2002-02-16T05:12:09 Renamed from *.c to *.cpp
henry 1537b21b 2002-01-28T06:24:30 Added comment about font path
henry 021a3165 2002-01-24T09:40:39 Set the correct state for font type
henry e5b44d17 2002-01-10T07:14:55 Bbox now uses float
henry c346eca8 2001-12-11T23:11:23 Added compilation note
henry b7748851 2001-12-11T23:04:25 fixed glut header for OSX
henry 6047a1c3 2001-12-11T22:46:41 initial import
henry 521c2d21 2001-12-11T03:42:02 Tidy ups for release 1.3
henry f723df19 2001-12-10T23:35:59 Added edit mode, labels and a bunch more
henry 09916d8f 2001-11-14T03:23:44 Enabled lighting for texture font
henry 6f997a31 2001-11-13T20:10:26 Can now switch between font types.
henry d64b0422 2001-11-13T01:35:36 Added some comments
henry 7c584066 2001-11-12T02:38:18 Changed blend func
henry d1e4ad97 2001-11-11T23:59:25 Initial import of demo