Hi Melvin,

Eng Yuit Fun, Melvin wrote:
> Hi again,
>
> Sure no problem...
> I have a 5-million-point dataset containing 3D position coordinates and an 
> intensity value for each point.
> This is the result of some urban atmospheric pollutant simulation where each 
> point is to be rendered as a translucent smoke sprite at the specified 
> position, and with the degree of translucency scaled by the specified 
> intensity. Translucency animation is expected as the intensity values will 
> vary with time(though the positions are all fixed).
> I hope this is clear enough? Please feel free to ask for further 
> clarification...
>   
The Particles core comes to mind, but it doesn't use Point Sprites 
(they're fairly restrictive, and the upside-down texture is just 
annoying). Today I'd probably go for a Geometry shader to create the 
billboards, but I don't have an example for that, sorry. :(

Note that for 5 million transparent particles the sorting is going to 
hurt a lot. We do have a BSP in the particles core, if the particle 
positions don't change, but it's probably not going to be realtime in 
any case.

Hope it helps

    Dirk


-------------------------------------------------------------------------
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