Skip to content

Commit

Permalink
Add the OBJ and MTL files for drawing Spiri
Browse files Browse the repository at this point in the history
This commit adds the 3D model for the Spiri quadcopter. Although the files for the model should be located under plugins/robots, they are located under plugins/simulator until we have a good solution to resource management in the simulator (see issue ilpincy#94). The CMakeLists.txt has been modified so that the model directory is installed.
  • Loading branch information
allsey87 committed Apr 24, 2019
1 parent b51a134 commit d72aa94
Show file tree
Hide file tree
Showing 3 changed files with 52,508 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ target_link_libraries(argos3plugin_${ARGOS_BUILD_FOR}_qtopengl argos3plugin_${AR
# target_link_libraries(argos3plugin_${ARGOS_BUILD_FOR}_qtopengl ${SDL_LIBRARY})
# endif(SDL_FOUND)

#install(DIRECTORY icons textures models DESTINATION include/argos3/plugins/simulator/visualizations/qt-opengl)
install(DIRECTORY icons textures DESTINATION include/argos3/plugins/simulator/visualizations/qt-opengl)
install(DIRECTORY icons textures models DESTINATION include/argos3/plugins/simulator/visualizations/qt-opengl)
install(FILES ${ARGOS3_HEADERS_PLUGINS_SIMULATOR_VISUALIZATIONS_QTOPENGL} DESTINATION include/argos3/plugins/simulator/visualizations/qt-opengl)
install(TARGETS argos3plugin_${ARGOS_BUILD_FOR}_qtopengl
RUNTIME DESTINATION bin
Expand Down
62 changes: 62 additions & 0 deletions src/plugins/simulator/visualizations/qt-opengl/models/spiri.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Blender MTL File: 'None'
# Material Count: 6

newmtl spiri_GridPlate
Ns 500.000000
Ka 1.000000 1.000000 1.000000
Kd 0.000000 0.000000 0.000000
Ks 0.100000 0.100000 0.100000
Ke 0.000000 0.000000 0.000000
Ni -1.000000
d 1.000000
illum 2

newmtl spiri_blackplastic
Ns 123.529412
Ka 0.025317 0.025317 0.025317
Kd 0.025317 0.025317 0.025317
Ks 0.100000 0.100000 0.100000
Ke 0.000000 0.000000 0.000000
Ni -1.000000
d 1.000000
illum 2

newmtl spiri_blueplastic
Ns 64.705882
Ka 0.603922 0.858824 0.909804
Kd 0.603922 0.858824 0.909804
Ks 0.089412 0.089412 0.089412
Ke 0.000000 0.000000 0.000000
Ni -1.000000
d 1.000000
illum 2

newmtl spiri_brushedsteel
Ns 1417.647059
Ka 1.000000 0.949020 0.909804
Kd 1.000000 0.949020 0.909804
Ks 0.100000 0.100000 0.100000
Ke 0.000000 0.000000 0.000000
Ni -1.000000
d 1.000000
illum 2

newmtl spiri_greybeams
Ns 64.705882
Ka 0.105882 0.094118 0.101961
Kd 0.105882 0.094118 0.101961
Ks 0.100000 0.100000 0.100000
Ke 0.000000 0.000000 0.000000
Ni -1.000000
d 1.000000
illum 2

newmtl spiri_whiteplastic
Ns 64.705882
Ka 1.000000 1.000000 1.000000
Kd 1.000000 1.000000 1.000000
Ks 0.100000 0.100000 0.100000
Ke 0.000000 0.000000 0.000000
Ni -1.000000
d 1.000000
illum 2
Loading

0 comments on commit d72aa94

Please sign in to comment.