Skip to content

Commit

Permalink
Removes uneeded printouts and warnings due to unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Blayzeing committed Sep 22, 2023
1 parent 3dc259b commit fa3f3f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion cuda/LocalGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ SUTIL_HOSTDEVICE LocalGeometry getLocalGeometry( const GeometryData& geometry_da
}

// Set vertex colour coordinates
uint4 C0, C1, C2;
float4 Cf0, Cf1, Cf2;
if( mesh_data.dev_color_type != -1 )
{
Expand Down
7 changes: 0 additions & 7 deletions libEyeRenderer3/MulticamScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1719,14 +1719,7 @@ void MulticamScene::createSBTmissAndHit(OptixShaderBindingTable& sbt)
rec.data.geometry_data.triangle_mesh.texcoords = mesh->texcoords[i];
rec.data.geometry_data.triangle_mesh.indices = mesh->indices[i];

//TODO: UNFIX - This is the part that is causing issues
std::cout << "---------------> Index: " << i << std::endl;
std::cout << "------> Length (types): " << mesh->host_color_types.size() << std::endl;
std::cout << "---------> Length (f4): " << mesh->host_colors_f4.size() << std::endl;
std::cout << "-----------------> ith: " << mesh->host_colors_f4[i] << std::endl;

rec.data.geometry_data.triangle_mesh.dev_color_type = mesh->host_color_types[i];

rec.data.geometry_data.triangle_mesh.dev_colors_f4 = mesh->host_colors_f4[i];
rec.data.geometry_data.triangle_mesh.dev_colors_us4 = mesh->host_colors_us4[i];
rec.data.geometry_data.triangle_mesh.dev_colors_uc4 = mesh->host_colors_uc4[i];
Expand Down

0 comments on commit fa3f3f7

Please sign in to comment.