Commit Graph

2693 Commits

Author SHA1 Message Date
Robert Osfield
77840e62e7 Added virtual destructor to LightPointDrawable 2004-02-04 11:03:52 +00:00
Robert Osfield
8cf1cc0dad From Brad Christaiansen, added check for projection matrix changing in
screen coord character size mode.
2004-02-04 09:30:06 +00:00
Robert Osfield
996d292979 Changes to help differentiate between OSX using Quicktime vs not using
quicktime, from Eric Sokolosky and Robert Osfield.
2004-02-03 22:46:10 +00:00
Robert Osfield
217a8519be Added rounding to nearest power of two in tile image size 2004-02-03 21:08:35 +00:00
Robert Osfield
519496754c Added dynamic_cast<DisplayListiVisitor> into SceneView::init() method to
properly check for class type before doing setState().
2004-02-03 19:07:32 +00:00
Robert Osfield
de83752acd Added support for better merging of height fields which ignores NoData
values.  Fixed various problems with handing of coordinates systems. Added
support for halving levels in x and y respectively, in addition to the
previous divide in both x and y at the same time, which allows long
line/short tall regions to be handled better.
2004-02-03 16:51:44 +00:00
Robert Osfield
fad11f64f5 From Eric Sokolosky, change to use X_INC in GNUmakefile to allow compiling
on systems with X installed in a non standard place.
2004-02-02 17:16:40 +00:00
Robert Osfield
e266385769 Moved the InitVisitor::setState() into the SceneView::init() method to make
sure that it always has the correct State object at the of the init.
2004-02-02 16:55:29 +00:00
Robert Osfield
f5e2f7c731 Added atan2f to the list of #define's into include/osg/Math. 2004-02-02 08:55:17 +00:00
Robert Osfield
4723b8a059 Commented out the PagedLOD priority offset to leave it at its default
values, so not to force the loading of distance children before near ones,
letting PagedLOD set priorities simply on the depth into a child range.
2004-02-01 17:21:12 +00:00
Robert Osfield
db02810270 Changed the osgviewer example to use the osg::Timer::instance instead a loca
instance.
2004-02-01 17:19:33 +00:00
Robert Osfield
b79c340922 From Nick, "I have modified the gdal code to read ecw images as well
There is a small issue though ... GDALRasterBand::GetColorInterpretation()
is not implemented for ecw images (in GDAL's sources I downloaded today)
... I put small hack in there to interpret the bands based on their index
and it seams to work .."
2004-02-01 17:18:36 +00:00
Robert Osfield
675d38d6f3 Increased expiry delay from 1 second to 30 seconds 2004-02-01 17:17:16 +00:00
Robert Osfield
24b710986f Fixed the PagedLOD::removeExpiredChildren() so it only removes the high
res child that has expired and no more.
2004-02-01 16:13:07 +00:00
Robert Osfield
9f81630453 Fixed GL_COMPRESSED_RGB_S3TC_DXT1_EXT pathway so both pixel and internal
formats are the same.
2004-02-01 15:40:33 +00:00
Robert Osfield
cec8dd54ed Improvements to the merging of source image datasets into the destination
tiles which ensure that gaps don't appear.

Made the elevation properly scaled relative to the having the x & y in
degrees.
2004-02-01 10:27:19 +00:00
Robert Osfield
4714f93054 Fixed second pathway for computing HeightField bounding box. 2004-01-31 21:27:02 +00:00
Robert Osfield
1ec93f9cce Fixed HeightField compute bounding box implementation. 2004-01-31 20:45:40 +00:00
Robert Osfield
d83fa3fca5 Added AnimationPathCallback::getAnimationTime() method 2004-01-31 11:34:28 +00:00
Robert Osfield
434e16598e Fixed another typo :) 2004-01-30 21:17:50 +00:00
Robert Osfield
bf24b0c23b Fixed misspelling of dependencies 2004-01-30 21:17:27 +00:00
Robert Osfield
72cce1e343 Added new dependancies file which contains a list of libraries that various
OSG modules depend upon, these can be set as installed or not.  The makedirdefs
now uses this to configure which modules to compile.
2004-01-30 21:11:58 +00:00
Robert Osfield
268096be69 Added osg:: infront of State in Draw callback to make the callback work
when copy and pasting it in user code.
2004-01-30 21:10:05 +00:00
Robert Osfield
26303b989a Added new osgspacewarp example which demonstrates how to create a star
field which becomes lines as one accelerates, similar to the effect seen
in star trek's warp drive.
2004-01-30 21:09:21 +00:00
Robert Osfield
407fbdb353 From Bob Keuhne, warning fixes under OSX 2004-01-30 16:12:53 +00:00
Robert Osfield
0199f77965 Added osgText dependancy to the TXP plugin 2004-01-30 15:54:41 +00:00
Robert Osfield
eee79585f1 Added Windows icon 2004-01-30 15:52:58 +00:00
Robert Osfield
9772b21e35 Added osgmovie example, derived from Ulrich Hertlien's original videotex
example, and brought up to date.
2004-01-30 14:06:29 +00:00
Robert Osfield
a8b772c09a Changed the snap image filename to save_image.jpg taking advantage of the
new JPEG writing support.
2004-01-30 13:53:15 +00:00
Robert Osfield
eda2d8dfba From Stephane, added support for writing JPEG images. 2004-01-30 13:52:12 +00:00
Robert Osfield
b4774099d6 Fixed the clampProjectionMatrix method so it doesn't modify the input
znar and zfar, by avoid the use of float/double&.
2004-01-29 20:14:20 +00:00
Don BURNS
5005047043 Adde Texture1D to .dsp file 2004-01-29 17:09:13 +00:00
Robert Osfield
dea75f5510 Attempts to fix compile problems under IRIX due to namespace problems. 2004-01-29 15:47:51 +00:00
Robert Osfield
965ed49427 Improved support for handling externally set projections 2004-01-29 15:47:06 +00:00
Robert Osfield
475c583975 From Pavel Moloshtan, add support to osg::Texture files for GL_ARB_shadow_ambinet support 2004-01-29 11:16:49 +00:00
Robert Osfield
7a94ab3903 Added double's as parameters to _clampProjectionMatrix() template function to
cure compile problems
2004-01-29 10:44:08 +00:00
Don BURNS
362cc3ccc3 Fixed WIREFRAME_CLOSED swap in flt loader. submitted by Andreas Ekstrand 2004-01-28 22:23:10 +00:00
Robert Osfield
b49f70f0ef Made the thread priority outwith the frame PRIORITY_MIN 2004-01-28 20:17:10 +00:00
Robert Osfield
ef13d749ae Adding scaling of skirt. 2004-01-28 14:44:35 +00:00
Robert Osfield
84f1f788f3 From Mike Weiblen, icons for osgviewer under Windows. The osgviewer changes effectively provides template
for making icons for all the examples.
2004-01-28 10:53:59 +00:00
Robert Osfield
39d7afaed2 Added support for CullVisitor::clampProjectionMatrixCallback 2004-01-28 10:49:23 +00:00
Don BURNS
21633a9b8f Added 1D texture support to .ive plugin. (Fixed a couple of misspellings
as well).
2004-01-27 22:45:03 +00:00
Robert Osfield
635f302a2a Added support for osg::Texture::setBorderWidth(). 2004-01-27 21:29:58 +00:00
Robert Osfield
43df3b90ef Fixed problems with the DatabasePager free of texture objects and display
list before they are finished with.
2004-01-27 14:49:59 +00:00
Robert Osfield
6f61b34590 Added className() method to GlyphTexture for debugging purposes. 2004-01-27 14:47:41 +00:00
Robert Osfield
6700faccf4 Added operator = implementations to template classes. 2004-01-27 14:46:29 +00:00
Robert Osfield
d226e3ec68 From Nick, added VectorUInt in osgText/String hack to get around VS's stoopid compiler bugs.
From Robert, removed an #if #else #endif block, for code clarity.
2004-01-27 11:50:32 +00:00
Robert Osfield
28ce0c232b Re-enabled the unref image of texture apply, since the bug of disappearing
textures was due to a bug in DatabasePager.
2004-01-26 14:52:11 +00:00
Robert Osfield
f21a70a4e7 Set the delete of expired subgraphs in the database thread to false, to
prevent problems with osgText.  Will need to solve the dirtyTextureObject
issue.
2004-01-26 14:51:01 +00:00
Robert Osfield
a32759eafb Removed Texture unref on apply. 2004-01-26 13:55:17 +00:00