Robert Osfield
00f161ca35
Introduce osgParticle::ParticleSystem::s/getParticleScaleReferenceFrame() to
...
help manage the scaling of particles, whether they should be relative to the
local coordiante frame of the particle system, or be in world coordinates.
2008-03-17 12:09:05 +00:00
Robert Osfield
b467fdeb6c
From Alberto Luaces, "it seems that include/osgParticle/BoxPlacer was created from the SectorPlacer
...
file. The code works well but the SectorPlacer comments stayed in the new
file. I have altered those comments so they now contain valid information for
the BoxPlacer class and the doxygen generated documentation is correct.
"
2007-12-11 11:37:03 +00:00
Robert Osfield
b20d542317
From David Callu, improved consistency of Version strings and add version support
...
for osgIntrospection and osgManipulator.
2007-09-05 17:12:24 +00:00
Robert Osfield
691a49d0fa
From Paul Melis, fixes to spelling mistakes/typos.
2007-07-11 15:51:17 +00:00
Robert Osfield
44c07b9fad
Separated OperationsThread out from the GraphicsThread header and introduced
...
new OperationQueue class.
2007-07-09 19:04:36 +00:00
Robert Osfield
eac3dc1963
From Paul Melis, "Here is a list of fixes to misspelled APIs. Unfortunately, more than one
...
of these are public APIs and therefore will break linkage to existing
shared libraries."
Note from Robert Osfield, updated wrappers.
2007-06-27 20:36:16 +00:00
Robert Osfield
7fc714ada1
Removed deprecated drawImplementation(State&) method from Drawable and Drawable::DrawCallback
2007-03-28 11:30:38 +00:00
Robert Osfield
ad3cac84e9
Moved Block, ReentrantMutex and ReadWriteMutex into OpenThreads.
2007-02-23 16:31:34 +00:00
Robert Osfield
b992451586
Added explicit to ParticleEffect constructors
2007-01-12 22:01:56 +00:00
Robert Osfield
007cc9f4ac
From Tom Jolley, "There was some unnecessary creation and deletion of Particle objects in
...
include/osgParticle/ParticleSystem. I replaced
Particle(ptemplate? *ptemplate: _def_ptemp)
with
ptemplate? *ptemplate: _def_ptemp
in a couple of places. This should make particle creation and reuse go
a little faster without all that memory allocation and copying."
2007-01-12 21:44:28 +00:00
Robert Osfield
11fef2d75e
Tweaks from using a ReadWriteMutex& to a ReadWriteMutex* parameter to avoid
...
problems with osgIntrospection generation.
2006-12-27 23:19:17 +00:00
Robert Osfield
30cb8735d3
Added an osgDB::ReadWriteMutex to help manage the ability to have serialize
...
write to objects but allow multiple threads to read at once in a read only way.
2006-12-27 16:40:34 +00:00
Robert Osfield
401f3bcd43
Added mutexes to ParticleProcessor and ParticleSystemUpdater to improve the thread safety of osgParticle
2006-12-22 21:52:53 +00:00
Robert Osfield
d0cc014f1b
Further migration to using RenderInfo
2006-11-14 12:51:31 +00:00
Robert Osfield
5ac6ea9a8d
Ben van Basten, "1 Bug fix in reuseParticle where originally an old particle that was already killed would be killed again, but instead should have been placed on the dead stack for future reuse.
...
2 Getter/setter for _maxNumberOfParticlesToSkip that is used for filtering of particles during draw. This enables you to turn the filtering of by setting this value to zero.
3 Getter for retrieval of the first particle in the trail. This allows you to directly manipulate the trail from your application by walking from the start particle towards the end of the trail."
Submitted on Ben's behalf by Roland Smeenk.
2006-11-07 13:48:20 +00:00
Robert Osfield
42dfe67c0c
From Farshid Lashkari, "There was a bug in ParticleSystem where the bounds is not properly
...
flagged as computed when there is only 1 particle. Attached is the
fix."
2006-10-02 11:26:43 +00:00
Robert Osfield
def74d3471
Introduced new osg::View, and osg::RenderInfo classes into the core OSG to help
...
handle scenes with multiple views with elements that need coordinating on a per view basis.
Added beginings of new osgText::FadeText class (not functionality yet).
2006-09-18 20:54:48 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
f1e7b6d5cb
From Roland Smeenk, Added missing initialization to zero of the _carryOver value in
...
default and copy constructor.
2006-07-04 09:18:04 +00:00
Robert Osfield
f22d11903b
UPdated wrappers
2006-04-25 13:50:07 +00:00
Robert Osfield
475f526b3d
Added UseFarLineSegments option
2006-04-25 12:56:33 +00:00
Robert Osfield
039457700d
Implemented seemless update of precipitation properties.
2006-04-25 12:39:00 +00:00
Robert Osfield
58e759619c
Moved LessFunctor into header.
2006-04-24 21:48:23 +00:00
Robert Osfield
10f2feeac5
Moved PrecipitationParameters directly into PrecipitationEffect.
2006-04-24 16:21:10 +00:00
Robert Osfield
49a5ef9ee1
Added support for wind.
2006-04-24 06:36:26 +00:00
Robert Osfield
e8fa0433b3
Moved PrecipitationEffect node into osgParticle.
2006-04-22 15:08:07 +00:00
Robert Osfield
14dab7f818
From Farshid Lashkari, Added ability to read/write the texture tile
...
settings of osgParticle::Particle to .osg files.
2006-03-17 14:05:40 +00:00
Robert Osfield
3baf9f51d2
From Brad Anderegg, add _frameNumber and associated code to ensure that particles
...
only get updated once per frame.
2006-02-04 21:12:45 +00:00
Robert Osfield
eaf6c5ac35
Added new BoxPlacer files.
2006-01-17 15:18:44 +00:00
Robert Osfield
d0c9ef1e14
Added the ability for osgParticle::ParticleEffect to switch off the automatic setup.
...
Normally the automatic setup is useful, but in the case of the .osg support this automatic
update was forcing premature loading of imagery that wasn't necessarily, and can lead to
reports of looking for files that arn't present.
2005-11-18 17:04:55 +00:00
Robert Osfield
9c93332c03
From Rodger James, changed the Win32 static library compilation support to use
...
OSG_LIBRARY_STATIC to avoid problems with building libs when not required.
2005-11-18 09:52:24 +00:00
Robert Osfield
47fcfa4cc5
From Eric Wing, compile fixes.
2005-11-15 21:47:24 +00:00
Robert Osfield
5de633f71b
From Farshid Lashkari : "I reported earlier about a problem with a custom emitter I was using.
...
I spent some more time debugging and it turns out there was a bug in
the ParticleSystem::update_bounds function. When the bound is being
reset, both the min and max are being set to the same postion without
the radius being subtracted/added to it. When there is only one
particle alive in the system this causes it to be culled by small
feature culling. I've modifed the function so that when the bound is
reset, the radius is subtracted/added to the position. This fixes my
problem."
2005-11-14 09:31:06 +00:00
Robert Osfield
258425d649
Bumped the version numbers up to 1.0 in preparation for 1.0-rc1.
2005-11-09 10:49:56 +00:00
Robert Osfield
d0ec2ea08f
Added protected destructors.
2005-10-25 09:49:53 +00:00
Robert Osfield
758ee8ed80
Changes to fix divide by 0 warning under VS.
2005-10-24 18:51:36 +00:00
Robert Osfield
1e508d432b
Added SmokeTrailEffect which renders created particles as single quad or line
...
strip, in the case of the quad strip the strip is aligned to the be orthogonal with
the eye point.
2005-10-12 18:42:36 +00:00
Robert Osfield
540e676dae
Added new shell of new class ConnectedParticleSystem, which will be used
...
for managing connect particle system for the purpose of doing missile trails etc.
2005-10-11 09:47:28 +00:00
Robert Osfield
f26c3da074
From Chris Hanson, "The following files are drop-in replacements for the include/*/Export files to permit
...
building statically linked osg libraries under Win32."
2005-09-28 14:05:05 +00:00
Robert Osfield
be285c62c0
Added support for rapid movement of the emitter, with particle now seeding between
...
the position of the emitter in the previous frame and the new position in the new
frame, the number of particles added also scales up to compensate for this movement.
2005-08-25 14:12:08 +00:00
Robert Osfield
24849f3c70
Renamed ExplosionDebriEffect to ExplosionDebrisEffect
2005-05-25 16:42:36 +00:00
Robert Osfield
cf06b40891
Added pragma to remove warnings under VS.8.0
2005-05-24 18:57:13 +00:00
Robert Osfield
b8b6ed8e34
Fixed doxygen comments.
2005-05-20 21:01:57 +00:00
Robert Osfield
bf4d63f6ea
Added new Node/Drawable::s/getInitialBound and Node/Drawable::s/getComputeBoundCallback
...
methods and reimplement computeBound so that it passes back a bounding volume rather
than modifying the local one.
2005-05-12 14:03:22 +00:00
Robert Osfield
52666a6dee
Added support for setting the texture filename and more fine control over
...
the particle template used in ParticleEffects
2005-05-11 15:26:16 +00:00
Robert Osfield
6b5238c294
Moved osgParticle across to standard OSG coding style.
2005-04-29 09:47:57 +00:00
Robert Osfield
4f6114ef77
From Brede Johansen, tweaks to emitter classes to make them more extensible.
2005-04-26 19:34:03 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
0d8bd24250
Fixed typo
2005-04-09 11:17:12 +00:00
Robert Osfield
9e5d905b05
Renamed _A and _B to make them more meanigful
2005-04-04 20:25:57 +00:00