curt e6371cbf9c Manuel Massing:
Attached is a small fix for the sorting in CloudShaderGeometry.cxx.
I think the sorting problem stems from the osg idiosyncracy
to store transposed matrices...so the intuitive

       osg::Vec4f p = vm * osg::Vec4f(_cloudsprites[i]->position.osg(), 1.0f);

needs to be replaced with...

       osg::Vec4f p = vm.preMult(osg::Vec4f(_cloudsprites[i]->position.osg(), 1.0f);

The patch also optimizes the distance calculation - it evaluates the distances
in model space instead of eye space, which reduces computation to a dot-
product instead of a matrix multiplication.
2008-11-09 15:39:54 +00:00
2008-11-09 15:39:54 +00:00
2004-04-04 14:24:06 +00:00
2006-02-17 08:58:56 +00:00
2000-02-09 19:27:02 +00:00
2003-06-11 18:55:36 +00:00
2001-12-17 16:52:20 +00:00
2007-11-18 14:21:41 +00:00
2008-05-19 15:17:55 +00:00
2006-03-20 19:22:20 +00:00
2000-03-29 00:00:46 +00:00
2007-07-23 22:00:31 +00:00
2002-09-07 02:58:19 +00:00

[ Nothing here at this time. ]
Description
No description provided
Readme 14 MiB
Languages
C++ 85.5%
C 13.1%
CMake 1.4%