From: <sv...@ww...> - 2008-04-18 11:42:54
|
Author: nsmoooose Date: 2008-04-18 04:42:45 -0700 (Fri, 18 Apr 2008) New Revision: 2235 Removed: trunk/csp/tools/cloud_prototype/CloudSprite.cpp trunk/csp/tools/cloud_prototype/CloudSprite.h Modified: trunk/csp/tools/cloud_prototype/Cloud.cpp trunk/csp/tools/cloud_prototype/CloudBox.cpp trunk/csp/tools/cloud_prototype/CloudBox.h trunk/csp/tools/cloud_prototype/CloudRegistry.cpp trunk/csp/tools/cloud_prototype/cloud_prototype.vcproj trunk/csp/tools/cloud_prototype/visitors/RemoveRedundantCloudSpritesVisitor.cpp Log: Changes for the cloud prototype: * Added random rotation to sprites. * Added random size to sprites. * Removed CloudSprite class and made CloudBox inherit from osg::Billboard instead. This due to the fact that osg::Billboard can handle several sprites. This will also reduce the number of objects in memory. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=2235 Diff omitted (15536 bytes). |