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
Robert Osfield
2e91a74f14
Added FluidProgram
2005-04-04 10:05:35 +00:00
Robert Osfield
22e446dbc9
Improved ParticleEffects
2005-04-04 07:54:52 +00:00
Robert Osfield
aee1e88f15
Added extra controls for ParticleEffects.
2005-03-23 17:05:21 +00:00
Robert Osfield
c3fd271dc4
Addd high level introductory docs for all the libs
2004-11-26 16:01:04 +00:00
Robert Osfield
df9c7e5031
From Tree, fixes for Java bindings
2004-10-25 19:16:57 +00:00
Robert Osfield
b70ff91eaf
Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define
2004-10-24 20:04:00 +00:00
Robert Osfield
6821a80e14
Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and
...
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.
2004-10-22 19:26:45 +00:00
Robert Osfield
e122b34858
From Tom Jolly. a couple of small changes to osgParticle.
...
"The first is with
Particle.cpp. I made a change so that when the lifetime is 0 (lasts
forever) the sizeRange, colorRange, and alphaRange are used to create
a random size, color, and alpha."
"The second change is with range and SectorPlacer. The distribution of
particles across the sector was not uniform. I added get_random_sqrtf()
function where it is used in SectorPlacer::Place(). This seems to make
the distribution uniform (at least when minimum radius is 0)."
2004-08-02 07:25:28 +00:00
Robert Osfield
ae5aefac0e
Added the beginings of new osgParticle Explosion, Fire and SmokeEffects.
...
Added support for generation explosion, fire and smoke effects in osgsimulation
2004-05-13 22:09:23 +00:00
Robert Osfield
3fea25a0a1
From Marco Jez, updates to osgParticle, with integration of changes from Tom
...
Jolly.
2004-03-17 20:31:55 +00:00
Robert Osfield
89d9ca11c9
From Marco Jez, on behalf of Farshid Lashkari. Details from Marco's email: "I've just received an addition to osgParticle from Farshid Lashkari. It enhances the generation of texture coordinates on particles so that animated textures can be used, with the current frame of animation being computed from each particle's current age.
...
Clients just have to call Particle::setTextureTile() and specify the number of
horizontal and vertical tiles that make the animation up in the texture image."
2004-03-05 15:44:15 +00:00