Commit Graph

6549 Commits

Author SHA1 Message Date
Robert Osfield
df49ff18ba Updatged ChangeLog using svn2log, osgversion to handle new SVN based ChangeLog, and updated AUTHORS.txt 2007-04-15 12:09:12 +00:00
Robert Osfield
84c4b86da8 Added an #include<unistd.h> and extern "C" around X11ErrorHandling to prevent Solaris build errros 2007-04-14 08:31:40 +00:00
Robert Osfield
d786be8d4c Added some debugging 2007-04-13 19:28:22 +00:00
Robert Osfield
b358a73d99 Updated wrappers 2007-04-13 19:28:11 +00:00
Robert Osfield
ea071d3f1e Added fullscreen toggle event handler 2007-04-13 14:54:41 +00:00
Robert Osfield
9e8e07b373 Added usleep's to avoid X11 errors when doing X11 calls to close to changes in
window size or decoration.
2007-04-13 14:54:22 +00:00
Robert Osfield
934ed30314 Added setWindowRectangle implementation for GraphicsWindowWin32, and
place holder for setWindowRectangle implementation for GraphicsWindowCarbon.
2007-04-13 14:23:10 +00:00
Robert Osfield
3deda9f2a7 Updated wrappers 2007-04-13 13:28:10 +00:00
Robert Osfield
035b98993f Added s/getWindowRectangle to GraphicsWindow and implementation in GraphicsWindowX11 2007-04-13 13:22:52 +00:00
Robert Osfield
07c3503dbb Changed hitItr to be a const_iterator. 2007-04-13 13:19:29 +00:00
Robert Osfield
06c3dd3500 From Eric Wing, "I added a warning message for Mac users about the Universal Binary
problem."
2007-04-13 10:14:57 +00:00
Robert Osfield
7b2567b77c Fixed variable name dereference 2007-04-12 17:30:06 +00:00
Robert Osfield
054d009aac Added different cmake version requirements across platforms 2007-04-12 10:14:10 +00:00
Robert Osfield
071a7775ed From Eric Wing, "Adding back missing search paths in FindOpenThreads.cmake. Also fixed
a bug regarding when to set the debug version. It waited until both
include and library were set, but it shouldn't wait on include.

Also added a fix to the optional warning flags."
2007-04-12 10:06:09 +00:00
Robert Osfield
ef84805d5a Added SETUP_COMMANDLINE_APPLICATION and SETUP_COMMANDLINE_EXAMPLE macros 2007-04-12 09:59:34 +00:00
Robert Osfield
2187b061fc From Eric Wing,
"Attached is a patch allows access access to the CMake MACOSX_BUNDLE
option. Now SETUP_APPLICATION and SETUP_EXAMPLE take an additional
optional parameter that specifies if the program is a command line
application or a GUI application (think: IS_COMMANDLINE_APP). Passing
1 means true (is_commandline_app). Passing 0 or omitting the parameter
means false.

I changed the scripts for osgversion and osgunittests to support this
option because I believe they are command line apps. Are there any
others?"
2007-04-12 09:33:24 +00:00
Robert Osfield
0d4dd3da8e Updated wrappers 2007-04-12 09:32:48 +00:00
Robert Osfield
5954722c07 From Mike Wittman, fix to CopyOp&. 2007-04-12 09:32:34 +00:00
Robert Osfield
4ba0a43ffc From Eric Wing, "Minor robustness fix to osgsimpleviewerCocoa." 2007-04-12 09:18:40 +00:00
Robert Osfield
73f980bd49 Prep work on new TerrainGeometry Drawable which supports selective display list/VBO's usage.
Updated wrappers
2007-04-11 17:39:13 +00:00
Robert Osfield
17054afc8f Changed the parameter handling so that it supports left to right inheritance of settings 2007-04-11 11:20:42 +00:00
Robert Osfield
557fdacba2 Added support for multiple colour layers, and fixed handling of elevation
and colour layers having different locator
2007-04-11 11:20:04 +00:00
Robert Osfield
e42daa775f From Eric Wing,
"
Changes include:

A internal cache flag that can be used to detect if this is the first
time running the CMake configuration. This is needed to work around
stupid CMake UI shortcomings about the UI not reflecting anything you
SET unless you use FORCE. But if you use FORCE, you override anything
the user may try to set/override unless you have an exception check.
It turns out the exception check you need is often the first-run
check. This flag is potentially useful for other things too.

An optional switch that turns on more aggressive warnings based on
your compiler.

Some Apple specific stuff for detecting the OS version and enabling
Universal Binaries (and some additional compiler flags that are good
but gcc version dependent). The version check code is unfortunately
really fragile. I need to lobby CMake to return the OS X version
number for us. FYI, building Universal will fail with the current
CMake release due to a bug, but is now fixed in CVS.
"
2007-04-11 08:35:39 +00:00
Robert Osfield
6fb7910dce Removed tabs 2007-04-11 08:33:40 +00:00
Robert Osfield
5be86601bb Removed old GNUmakefile.inst files 2007-04-10 13:58:18 +00:00
Robert Osfield
3ba26f4fc6 Updated INSTALL and README to refect new Cmake build 2007-04-10 13:23:32 +00:00
Robert Osfield
e6bf742999 Removed the bin and lib directories as these are now built automatically by CMake. 2007-04-10 13:15:59 +00:00
Robert Osfield
777343d612 Removed more of the old VisualStudio build system 2007-04-10 13:12:58 +00:00
Robert Osfield
2e6ee4bb39 Removed old gmake and VisualStudio build files 2007-04-10 13:10:25 +00:00
Robert Osfield
f928b1bb62 Updated to refect new incldue/osgViewer/Win32 directory for GraphicsWindowWin32 2007-04-10 12:11:16 +00:00
Robert Osfield
7e34b91b6d Updated wrapper to honour move of GraphicsWindow* include/osgViewer/api/ 2007-04-10 11:09:38 +00:00
Robert Osfield
cc1ab2c711 Create new incliude/osgViewer/api directory to hold platform specific classes such as GraphicsWindow implementations.
Moved GraphicsWindowWin32,X11 and Carbon into their api/Win32, api/X11 and api/Carbon directories.
2007-04-10 11:03:37 +00:00
Robert Osfield
a78e8d2b6b Fixed the handle of triangle fan. 2007-04-06 19:51:20 +00:00
Robert Osfield
e2ba8d91c0 Added extra check to prevent calling frame() when the window has been closed. 2007-04-06 19:38:22 +00:00
Robert Osfield
6d7b5e7ebd From Eric Wing, pedantic warning fixes 2007-04-06 15:36:13 +00:00
Robert Osfield
0909bd04e4 Updated wrappers 2007-04-06 15:35:27 +00:00
Robert Osfield
11d74fd54e From Eric Wing, pedantic warning fixes 2007-04-06 15:13:02 +00:00
Robert Osfield
acee7ccaee From Laurens Voerman, "I've added the code to set up quad_stereo properly. I have tested with
WinXP / VC8, stereo is working. I also added code to set sampleBuffers
and samples. These cannot yet be properly set, tested (windows only ) by
changing _numMultiSamples in DisplaySettings::setDefaults() and
recompiling."
2007-04-06 14:40:39 +00:00
Robert Osfield
cfa545b728 From Mike Wittman, "1. Disable suppression of osg::CullStack. I've been building the osgWrapper code successfully with this change on both Windows and Linux, but I believe you said you got some (unspecified) errors when you tried it before. If it still causes problems, could you post the errors so I can try to solve them?
2. Change osg::GraphicsContext from object-type to abstract-object-type.  The current setting is incorrect because the class is actually abstract."
2007-04-06 14:38:23 +00:00
Robert Osfield
511bc9d571 From Laurens Voerman, "attached is OpenSceneGraph\src\osgViewer\GraphicsWindowWin32.cpp
I've added the code to get the osgViewer working on windows displays
with less than 32 bit color. Only tested with 16 bit color."
2007-04-06 14:36:59 +00:00
Robert Osfield
31ac332b1f Add setting of ShadowVolumeGeometry draw mode 2007-04-06 14:33:55 +00:00
Robert Osfield
8a5b8d9656 Set default ShadeModel back to SMOOTH 2007-04-05 20:27:02 +00:00
Robert Osfield
6c12c71337 Added constructor argument to ShadeModel 2007-04-05 16:12:10 +00:00
Robert Osfield
561dc02da5 Commented out superfluous debug messages 2007-04-05 15:04:05 +00:00
Robert Osfield
811d0e465a Added better handling of colour layer/elevation layer/transfer function combinations and
use of 16bit luminance format for colour layers used as input to transfer functions
2007-04-05 14:56:30 +00:00
Robert Osfield
538a83dad4 Added support for flushing buffer objects 2007-04-04 09:07:46 +00:00
Robert Osfield
24067cd26c From Paul Martz, added osgViewer headers to VS syntax highlighting. 2007-04-04 08:09:24 +00:00
Robert Osfield
abb72cc182 Removed OpenThreads reference 2007-04-04 08:06:22 +00:00
Robert Osfield
62ce8b72c1 Updated wrappers 2007-04-04 08:05:45 +00:00
Robert Osfield
9b5bbe862d From Mike Wittman, C# build fixes 2007-04-04 08:05:23 +00:00