Hello Christian,

Christian Bar wrote:
> Hello,
> I'm trying to create a particle system with a lot of points (more than 
> 100000), and I would like to make every point slightly different in size 
> and in color.

there is a MFReal32 _mfSizes where you can add a size for each particle.
For the colors there is SFGeoColorsPtr _sfColors which can point to an 
GeoColors3f (for example) that stores all the colors.
Or did you try that and it did not work (I haven't used particles in a 
long time, so maybe something broke in the meantime) ?

> What is the most convenient way to do that? I read that 
> OSGParticle does not allow to set a different size for every point... Is 
> there anyone that can suggest me what osg classes should I use?

hm, sounds like there is a documentation bug that should be fixed, may I 
ask where you read that ?  ;)

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to