mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
Removed debugging code.
This commit is contained in:
parent
d2b0cc43dd
commit
2d535f3b86
1 changed files with 0 additions and 6 deletions
|
@ -797,13 +797,9 @@ void Voxelizer::voxelize(const glm::vec3& center) {
|
|||
MetavoxelData data;
|
||||
data.setSize(_size);
|
||||
|
||||
qDebug() << "Started voxelizing " << center.x << center.y << center.z;
|
||||
|
||||
VoxelizationVisitor visitor(_directionImages, center, _granularity);
|
||||
data.guide(visitor);
|
||||
|
||||
qDebug() << "Finished voxelizing " << center.x << center.y << center.z;
|
||||
|
||||
MetavoxelEditMessage edit = { QVariant::fromValue(SetDataEdit(
|
||||
center - glm::vec3(_size, _size, _size) * 0.5f, data, true)) };
|
||||
QMetaObject::invokeMethod(Application::getInstance()->getMetavoxels(), "applyEdit",
|
||||
|
@ -869,8 +865,6 @@ void SetSpannerTool::applyEdit(const AttributePointer& attribute, const SharedOb
|
|||
glReadPixels(0, 0, width, height, GL_DEPTH_COMPONENT, GL_FLOAT, images.depth.data());
|
||||
directionImages.append(images);
|
||||
|
||||
images.color.save(QString::number(i) + ".png");
|
||||
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
}
|
||||
glPopMatrix();
|
||||
|
|
Loading…
Reference in a new issue