Huge renderer update (WIP). Still plenty to do, especially pertaining to UI.
-Nametag bubble visbility is oddly inconsistent. May vanish with future planned UI merges... -VBOs are PAINFULLY slow on ATI hardware. This repos self-compiled davep/shining-fixes branch, so I'll leave the ball in LL's court for now regarding that.
This commit is contained in:
@@ -117,12 +117,15 @@ void LLCloudGroup::updatePuffs(const F32 dt)
|
||||
if (!mVOCloudsp)
|
||||
{
|
||||
mVOCloudsp = (LLVOClouds *)gObjectList.createObjectViewer(LLViewerObject::LL_VO_CLOUDS, mCloudLayerp->getRegion());
|
||||
mVOCloudsp->setCloudGroup(this);
|
||||
mVOCloudsp->setPositionRegion(mCenterRegion);
|
||||
mVOCloudsp->setScale(LLVector3(256.f/CLOUD_GROUPS_PER_EDGE + CLOUD_PUFF_WIDTH,
|
||||
256.f/CLOUD_GROUPS_PER_EDGE + CLOUD_PUFF_WIDTH,
|
||||
CLOUD_HEIGHT_RANGE + CLOUD_PUFF_HEIGHT)*0.5f);
|
||||
gPipeline.createObject(mVOCloudsp);
|
||||
if(mVOCloudsp)
|
||||
{
|
||||
mVOCloudsp->setCloudGroup(this);
|
||||
mVOCloudsp->setPositionRegion(mCenterRegion);
|
||||
mVOCloudsp->setScale(LLVector3(256.f/CLOUD_GROUPS_PER_EDGE + CLOUD_PUFF_WIDTH,
|
||||
256.f/CLOUD_GROUPS_PER_EDGE + CLOUD_PUFF_WIDTH,
|
||||
CLOUD_HEIGHT_RANGE + CLOUD_PUFF_HEIGHT)*0.5f);
|
||||
gPipeline.createObject(mVOCloudsp);
|
||||
}
|
||||
}
|
||||
|
||||
LLVector3 velocity;
|
||||
|
||||
Reference in New Issue
Block a user