Robert Osfield
4fd2352afa
Cleaned up some warnings and added :
...
LINKARGS += -Wl,multiply_defined -Wl,suppress
To GNUmakefile for the OSX build.
2003-04-08 10:17:44 +00:00
Robert Osfield
18ab95a294
Added support for snaping screen images from osgProducer::Viewer apps.
2003-04-07 19:19:01 +00:00
Robert Osfield
e04b36b467
Fixes to dds plugin from Rune.
2003-04-07 15:11:29 +00:00
Robert Osfield
6a178f76c4
Set the hardware mip map generation to false in TextureCubeMap since this
...
extension is not implemented when texture cube mapping.
2003-04-07 15:07:45 +00:00
Robert Osfield
7af174fadb
From Ulrich Hertlien, new osg::TextureRectangle class.
2003-04-07 13:20:53 +00:00
Robert Osfield
9f0fa75484
Added support for unref image data after apply in the osg::Texture*
...
classes. Only unref's after all graphics context have been applied.
2003-04-07 12:51:00 +00:00
Robert Osfield
0df1b28672
Added osgwindows example which sets up and Producer::CameraConfig up
...
and uses that to create multiple windows.
2003-04-07 10:20:34 +00:00
Robert Osfield
7e58786b11
Moved the modified tag's from osg::Texture into the osg::Texture1D,2D,3D and
...
CubeMap classes.
2003-04-07 09:46:06 +00:00
Robert Osfield
98f691f693
Added if (!_kbmcb) to handle the case where the keyboard mouse callback
...
is pre set.
2003-04-06 21:46:48 +00:00
Robert Osfield
49a28660dc
Added the usage report to the examples for when no arguments are passed
...
to the examples.
2003-04-06 21:32:44 +00:00
Robert Osfield
8a3b81f00d
Fixed handling of pixel and internal images formats.
2003-04-06 10:07:44 +00:00
Robert Osfield
c7a7bd03cb
Added support for recording animation paths in the osgProducer::Viewer.
2003-04-05 22:24:48 +00:00
Robert Osfield
cac6642de5
Improvements to the handling of warp pointer call on start up.
2003-04-05 07:19:40 +00:00
Robert Osfield
c6e3cb044b
Fixed the drive manipulator so its height is now 1.5m and the buffer size if
...
2.0m.
2003-04-05 07:11:07 +00:00
Robert Osfield
169bf25f77
Implemented support for float x and y mouse positions, and normalization of
...
mouse coords in osgGA::GUIEventAdapter, and ported osgGA camera manaipulators
to use the new normalized values.
Moved osgProducer across to tracking the window dimensions and ensure that the
internals values in osgProducer::EventAdapter are kept consistent. Moved
the warp pointer in Viewer across to using KeyboardMouse::positionPointer().
2003-04-04 19:10:37 +00:00
Robert Osfield
e9e0b4304d
Improved support for toggle between full screen and non fullscreen in
...
the osgProducer::Viewer.
2003-04-04 11:06:09 +00:00
Robert Osfield
7473bf573d
Suported for mip mapping added by Rune.
2003-04-03 21:00:12 +00:00
Robert Osfield
a47a6f0310
Fixes to the multipipe initialization.
2003-04-03 14:12:09 +00:00
Don BURNS
03a0b4f5de
Changes to fix compiles on Mac OS X
2003-04-03 08:14:49 +00:00
Robert Osfield
78d95b2414
Fixes for Win32 - removed second copy constructor from protected section
...
in ReaderWriterLOGO.cpp, and add osgText as a dependancy to osgtexture3D example app.
2003-04-03 07:37:08 +00:00
Robert Osfield
12e2e1968a
Fixes to the dds plugin.
2003-04-02 19:41:18 +00:00
Robert Osfield
0f3eaeba46
From Rune Schmidt Jensen - new dds loader.
2003-04-02 18:26:34 +00:00
Robert Osfield
7aab621405
Added support for min pixel size, max pixel size and max visable distance to
...
osgSim::LightPointNode, the max pixel size from was originally in osg::LightPoint.
Added additional get/set methods to osg::LightPointNode.
Increased the compute pixel size by a ratio 1.41 (sqrtf(2)) to correlate the
computed size with the actual size seen on screen.
2003-04-02 10:50:15 +00:00
Robert Osfield
d3d32edfcd
Added prefix's to ApplicationUsageProxy's and made them static to help
...
prevent problems under OSX.
2003-04-02 08:22:47 +00:00
Robert Osfield
732dad0e6e
Fixed std::string usage so that std::string::size_type is used where
...
appropriate.
2003-04-01 20:52:56 +00:00
Robert Osfield
5a974ab091
Fixes to osg::Texture's handling of anisotropy updating and
...
hardware generate mip mapping.
Added switching off generate mip map from osgText::Font.cpp.
Changed savedmodel.osg to saved_model.osg in ViewerEventHandler.
2003-04-01 20:32:57 +00:00
Robert Osfield
b59760482f
Changed unsigned int to std::string::size_type.
2003-04-01 18:50:36 +00:00
Robert Osfield
5b36049f33
Added convinience constructor.
2003-04-01 18:42:38 +00:00
Robert Osfield
060b9f7150
Added futher debugging messages to track down the x86-64 crash.
2003-04-01 18:42:17 +00:00
Robert Osfield
49b62ff92c
Moved the logo plugins from the osgPlugins/logos directory to osgPlugins/logo
...
to make it consistent with the naming of the plugin.
2003-04-01 15:13:26 +00:00
Robert Osfield
43f1c0121b
Bug spotted and fix by Sébastien Kuntz. Changed < to <= on Geometry.cpp, in removePrimitiveSet(),
...
if( i+numElementsToRemove<_primitives.size() )
2003-04-01 15:08:30 +00:00
Robert Osfield
fee0debfde
Added timer code to the init in OsgCameraGroup.
...
Made the stats view 20 frames rather than 6.
2003-04-01 11:55:29 +00:00
Robert Osfield
763ee7f086
Cleaned up the reset of the vertex arrays in osg::State.
2003-04-01 11:53:34 +00:00
Robert Osfield
3975fc9b01
Improved handling of subloading.
...
Removed the rescalling of images in osg::Image during texture apply, moving
the rescale so it is locally calculated. This solves an outstanding threading
problem which occured by multiple draw threads all tried to rescale the same
image at one time.
Made osg::Image ptr in osg::Texture2D non mutable as it is no longer modified
during apply.
2003-04-01 11:49:09 +00:00
Robert Osfield
90a2c93e50
Added extra debugging messages into the ArgumentParser::reportRemainingOptionsAsUnrecognized(ErrorSeverity severity)
...
method to help track down a crash under x86-64.
2003-04-01 08:47:11 +00:00
Robert Osfield
b728b1dd99
Implemented load and subload methods in osg::Texture/Texture2D.
2003-03-31 21:41:17 +00:00
Robert Osfield
11a38e12f2
Made the default transparent bin be bin number 10 rather than 1 to allow
...
more bins between it and the default opaque bin of 0.
Added a check for compressed image format in osg::Texture.
2003-03-31 12:48:33 +00:00
Robert Osfield
60e16ea044
Added Escape to the help list.
...
Changed the help key from '?' to 'h'
2003-03-28 10:04:58 +00:00
Robert Osfield
6b7102d16e
Improved stats.
2003-03-27 14:39:19 +00:00
Robert Osfield
c784f8a669
Changed the background pixel colour to white, but kept the alpha value zero.
...
This has been done to improve the quality of the mip mapping of text.
2003-03-27 10:58:20 +00:00
Robert Osfield
fc4fe9c625
Updates to utilise the new Producer keyboard bindings.
2003-03-27 10:54:01 +00:00
Robert Osfield
e93c812021
Improved the stats reporting.
2003-03-26 16:48:29 +00:00
Robert Osfield
8779fe20a7
Added help support for display help on screen to osgProducer::Viewer.
2003-03-26 12:50:30 +00:00
Robert Osfield
e00b8f2868
Tweak the tex coords of fonts slightly to avoid cut off of text.
2003-03-25 15:48:17 +00:00
Robert Osfield
cad1d8162b
Fixed axis alignment bug in text, which occured what text was placed on the XZ
...
or YZ planes.
2003-03-25 15:45:08 +00:00
Robert Osfield
0c60d14c00
Added a ViewerEventHandler which manages full screen, file write, and help
...
output to osgProducer. Removed FullSreenEventHandler as it is now superseeded
by ViewerEventHandler.
2003-03-25 15:13:20 +00:00
Robert Osfield
ce46db87b0
Spotted by Brede - missing !
2003-03-25 13:01:34 +00:00
Robert Osfield
f2772debf4
Added back into the win32 build of KeyboardMouseCallback the check against VK_ESCAPE.
2003-03-25 12:42:06 +00:00
Robert Osfield
35e0ba12bc
Added a viewer.sync to the end of all the demos.
...
Removed the Win32 remapping of keycodes from the osgProducer::EventAdapter.
2003-03-25 10:05:09 +00:00
Robert Osfield
a03675495a
Added new osgkeyboad example.
2003-03-24 21:17:51 +00:00