Implemented visualization of octrees for debugging occlusion culling algorithms.

Corrected project settings to allow objpack to compile again.

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4087
This commit is contained in:
kearwood
2012-09-05 18:14:08 +00:00
parent c74a85d931
commit 527bcb33c3
21 changed files with 264 additions and 45 deletions

View File

@@ -43,6 +43,7 @@
#import <KREngine_osx/KRVector2.h>
#import <KREngine_osx/KRVector3.h>
#import <KREngine_osx/KRMesh.h>
#import <KREngine_osx/KRContext.h>
KROBJPacker::KROBJPacker() {
@@ -56,7 +57,9 @@ void KROBJPacker::pack(const char *szPath) {
std::cout << "Reading " << szPath << " ...\n";
std::string base_path = KRResource::GetFilePath(szPath);
vector<KRResource *> resources = KRResource::Load(szPath);
KRContext context = KRContext();
vector<KRResource *> resources = KRResource::Load(context, szPath);
try {
vector<KRResource *>::iterator resource_itr = resources.begin();