Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/Rendering/RenderPass/RenderQueue.cpp

Diff revisions: vs.
  @@ -32,14 +32,6 @@
32 32 return temp;
33 33 }
34 34
35 - RenderBin* RenderQueue::getBinSorted(U16 renderBin){
36 - return _sortedRenderBins[renderBin];
37 - }
38 -
39 - RenderBin* RenderQueue::getBin(U16 renderBin){
40 - return getBin(_renderBinId[renderBin]);
41 - }
42 -
43 35 RenderBin* RenderQueue::getBin(RenderBin::RenderBinType rbType){
44 36 RenderBin* temp = NULL;
45 37 RenderBinMap::iterator binMapiter = _renderBins.find(rbType);
  @@ -99,6 +91,7 @@
99 91 temp = New RenderBinParticles(RenderBin::RBT_PARTICLES,RenderingOrder::BACK_TO_FRONT,0.8);
100 92 break;
101 93 case RenderBin::RBT_TRANSLUCENT:
94 + ///When rendering translucent objects, we should also sort each object's polygons depending on it's distance from the camera
102 95 temp = New RenderBinTranslucent(RenderBin::RBT_TRANSLUCENT,RenderingOrder::BACK_TO_FRONT,0.9);
103 96 break;
104 97 default: