started working on walling, dooring and windowing

refactoring
This commit is contained in:
k-a-z-u
2018-07-25 16:21:47 +02:00
parent f7e4323d58
commit 0d22d91470
9 changed files with 368 additions and 48 deletions

View File

@@ -14,8 +14,8 @@
#include "DataMap3.h"
#include "../../../geo/Ray3.h"
#include "MaterialOptions.h"
#include "Obstacle3.h"
#include "ModelFactory.h"
#include "../../../floorplan/3D/Obstacle3.h"
#include "../../../floorplan/3D/Builder.h"
//#include "ObstacleTree.h"
@@ -33,6 +33,7 @@
// 3D
// http://graphics.stanford.edu/courses/cs148-10-summer/docs/2006--degreve--reflection_refraction.pdf
using namespace Floorplan3D;
namespace Ray3D {
@@ -199,7 +200,7 @@ namespace Ray3D {
// allocate
dm.resize(bbox, gs);
ModelFactory fac(map);
Builder fac(map);
std::vector<Obstacle3D> obstacles = fac.getMesh().elements;
// build bounding volumes