Skip to content

Commit

Permalink
removed bunny.off added comment to embree_sample.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
PFasano99 committed May 20, 2024
1 parent a533d04 commit a65f2a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15,059 deletions.
8 changes: 1 addition & 7 deletions apps/embree/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
cmake_minimum_required (VERSION 3.13)
project (embree_sample)

set(VCG_INCLUDE_DIRS ../../../vcglib)
add_subdirectory(${VCG_INCLUDE_DIRS} ${CMAKE_BINARY_DIR}/vcglib)

set(SOURCES
./embree_sample.cpp
${VCG_INCLUDE_DIRS}/wrap/ply/plylib.cpp
)
set(SOURCES embree_sample.cpp)

FIND_PACKAGE(embree 4.3)

Expand Down
4 changes: 4 additions & 0 deletions apps/embree/embree_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,16 @@ int main( int argc, char **argv )
direction.push_back(Point3f(.0f,1.0f,6.0f));
direction.push_back(Point3f(.0f,1.0f,9.0f));

/*
If you want to test the visualize_ray_shoot add the ply to makefile
MyMesh m8;
adaptor.visualize_ray_shoot(m8, origine[0], direction, true);
int mask = vcg::tri::io::Mask::IOM_VERTCOORD;
mask |= vcg::tri::io::Mask::IOM_EDGEINDEX;
tri::io::ExporterPLY<MyMesh>::Save(m8, "EdgeTest.ply", mask);
*/
cout << "Done All" << endl;

return 0;
Expand Down
Loading

0 comments on commit a65f2a0

Please sign in to comment.