Robert Osfield
06054d9520
Added support for multibuffering of tex coordinates.
2003-05-06 13:13:31 +00:00
Robert Osfield
895a722842
Addd support for maximum screen text size into osgText when auto scale to
...
screen is active.
Added osgautotransform demo.
2003-05-01 21:06:18 +00:00
Robert Osfield
d29c57a2ba
Reverted the test of setAutoScaleToScreen.
2003-04-30 11:41:24 +00:00
Robert Osfield
0ab467483f
Added support for automatic scaling of text to screen coords. Optimized
...
the text implementation to provide better speed, especially by using the
alignement to screen option.
Deprecated the Text::setFontSize(,) method, which is now being replaced
by setFontResolution(,)
Fixed typos in Texture*.cpp.
Removed old deprecated methods from osg headers.
2003-04-30 11:40:17 +00:00
Robert Osfield
490647f5f4
Updates to the introduction.html.
...
Added support for new alignment modes in osgtext.
2003-04-28 11:37:53 +00:00
Robert Osfield
89b1365b2b
Added support for gather information on which vertices have been intersected with.
2003-04-25 13:47:33 +00:00
Robert Osfield
4f92ba3245
Updated NEWS for the release date.
...
Tweaked the text sizes in osglogo.
2003-04-19 09:09:46 +00:00
Robert Osfield
b6ee5445b7
Changed the ordering of the picking intersections.
2003-04-18 21:44:48 +00:00
Robert Osfield
bc8bd29646
Updated NEWS for the release.
...
Fixed warnings.
2003-04-18 15:59:34 +00:00
Robert Osfield
dac86dabb5
Added a realize callback for setting up the pbuffer so that it definately
...
has a valid graphics context.
2003-04-18 08:17:18 +00:00
Robert Osfield
ba575396a4
Added setting of the RenderSurface name to the application name.
2003-04-17 15:57:05 +00:00
Robert Osfield
fd262554ac
Moved the managing of frame stamp from osgProducer::Viewer into
...
osgProducer::OsgCamaraGroup.
Added setting of trackball in osgcameragroup so its starts in the
correct place for different models.
2003-04-17 11:14:25 +00:00
Don BURNS
55cd95f542
InputRectangle converted to RenderSurface->get()...
2003-04-16 23:09:31 +00:00
Robert Osfield
904aceec22
Added convinence methods to osgProducer::Viewer:
...
/** compute, from normalized mouse coords, for sepecified Camera, the pixel coords relative to that Camera's RenderSurface.*/
bool computePixelCoords(float x,float y,unsigned int cameraNum,float& pixel_x,float& pixel_y);
/** compute, from normalized mouse coords, for sepecified Camera, the near and far points in worlds coords.*/
bool computeNearFar(float x,float y,unsigned int cameraNum,osg::Vec3& near, osg::Vec3& far);
/** compute, from normalized mouse coords, for sepecified Camera, intersections with the scene.*/
bool computeIntersections(float x,float y,unsigned int cameraNum,osgUtil::IntersectVisitor::HitList& hits);
/** compute, from normalized mouse coords, for all Cameras, intersections with the scene.*/
bool computeIntersections(float x,float y,osgUtil::IntersectVisitor::HitList& hits);
2003-04-16 14:17:49 +00:00
Robert Osfield
48cb15015f
Add a check for the result to writeNodeFile().
2003-04-16 12:46:06 +00:00
Robert Osfield
f9eb43083a
Changed OsgSceneHandler so it re-uses osgUtil::SceneView project and modelview
...
matrices.
Changed the osgpick demo so that it uses the OsgSceneHandler's projection and
modelview matrices where possible.
2003-04-16 09:22:33 +00:00
Robert Osfield
fc4a2ab191
Added support for multiple cameras into osgpick.
2003-04-15 20:54:10 +00:00
Robert Osfield
6998229639
From Brede, Fixed the ordering of the znear and zfar.
2003-04-15 09:33:56 +00:00
Robert Osfield
0036018507
Added -I/usr/X11R6/include to osgProducer and all the examples GNUMakefiles.
...
From Bob, mods to GNUMakefile and Make/makedefs for the extra includes for
freetype.
2003-04-14 19:39:22 +00:00
Robert Osfield
deac5b8d4a
Updated osgstereoimage and osgimpostor to handle the new default
...
orientation of normalized mouse coords.
2003-04-14 18:49:41 +00:00
Robert Osfield
5df7118d6d
Updates to the osgpick code.
...
Updates to osgGA::CameraManipulors.
2003-04-14 15:44:30 +00:00
Robert Osfield
026dc2cbb7
Added Geoff Michel's osgpick and osgUtil::PickVisitor code.
2003-04-13 13:26:41 +00:00
Robert Osfield
8350eda616
Added std:: infront of cout instances.
2003-04-11 06:50:15 +00:00
Robert Osfield
aaa761e333
Added tests for presense of extensions to osgcubemap, osgvertexproram and
...
osgmultitexture examples.
Added osg::VertexProgram::Extensions class to better handle multiple graphics
context vertex program extensions.
2003-04-10 19:32:32 +00:00
Robert Osfield
52d2d8eaff
Moved the osgcameragroup example across to being just based on
...
osgProducer::OsgCameraGroup with no usage of osgGA manipulators.
Removed redundent files from osgProducer.
2003-04-10 15:23:49 +00:00
Robert Osfield
8b03d59be3
Added support for modifying the osg::Texture*:Extensions stuctures.
...
Added an example modifying osg::Texture::Extensions to osgtext. Optionally
compiled out by default.
2003-04-10 13:41:45 +00:00
Robert Osfield
0dd724e8b7
Changed the '-c' commandline option to '-m' to avoid overlapp with -c
...
used for config files.
2003-04-10 10:21:20 +00:00
Robert Osfield
2e87dcd804
Added desciptions to all the demos.
2003-04-09 11:44:32 +00:00
Robert Osfield
2061b1bdd3
Fixed warning.
2003-04-09 10:11:56 +00:00
Robert Osfield
b02917e7a2
Fixed type of osg::ApplicationUsage::set/getApplictionName(), updated
...
demos accordingly.
Made OsgCameraGroup set the _applicationUsage to the
osg::ApplicationUsage::instance() when no ArgumentParser is supplied.
Added export to osgProducer::ViewerEventAdapter.
2003-04-09 08:20:08 +00:00
Robert Osfield
06e773cefb
Fixed warning.
2003-04-08 20:05:00 +00:00
Robert Osfield
e928bca4c9
Changed the Viewer::realize() calls across to not using the threading paramter
...
leaving it up to the Viewer to specify the mode (which by default is MultiThreaded).
Added a check for the presence of osgParticle systems so that threading is
disabled in this case.
2003-04-08 15:18:45 +00:00
Robert Osfield
5f8411ac5c
Changed the KeySwichCameraManipulator::setNode() so it set all camera's
...
attached to it.
2003-04-08 13:10:47 +00:00
Robert Osfield
0d45181aff
Removed the output of command line usage when no arguments are passed since
...
this example doens't need paramters.
2003-04-08 09:48:02 +00:00
Robert Osfield
564077643f
Set the fusion distance ratio to 1/300.0f to compensate for the coords
...
of the hang gliding database being so small, this allow the scene to be
viewed in stereo and still look a convincing size.
2003-04-07 14:57:18 +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
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
908164d58a
Fixed for new implemention osg OsgCameraGroup::setView().
2003-04-06 18:18:52 +00:00
Robert Osfield
e60ddd4916
Fixed setView to work with new OsgCameraGroup::setView
2003-04-06 13:29:02 +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
79fd5786d8
Fixed manipulator to work correctly with new osgGA::GUIEventAdapter
...
code.
2003-04-05 20:02:42 +00:00
Robert Osfield
5dbe1f0d0b
Added Images/ infront of dog_left and dog_right images.
2003-04-05 19:54:51 +00:00
Robert Osfield
75b591e70b
Added a couple ability of offset the images relative to each other
...
horizontally and vertically to allow better comenstation for mismatched
imagery.
2003-04-05 19:40:18 +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
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
e0d7709d50
Added code to set the colour of each geometry to white to prevent
...
colours from the text being inherited.
2003-04-04 08:39:58 +00:00
Don BURNS
03a0b4f5de
Changes to fix compiles on Mac OS X
2003-04-03 08:14:49 +00:00
Robert Osfield
fea6ad3101
Changed colour of anisotropic text in osgtexture2D example.
...
Removed the save test.osg call in osgkeyboard.
2003-04-02 11:57:23 +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
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