User:Wesley Miller: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


== Goals ==
== Goals ==
Learn more about graphics and virtual reality
*Learn more about graphics and virtual reality
Build cave painting in the graphics lab, in the old cave, and for the new cave
*Build cave painting in the graphics lab, in the old cave, and for the new cave
Assist in modifying the cave software to blend the projector images correctly and correctly account for image distortion caused by the curved screen
*Assist in modifying the cave software to blend the projector images correctly and correctly account for image distortion caused by the curved screen


== Steps For Building Cave Painting ==
== Steps For Building Cave Painting ==
Note:Replace $G with the directory path of your sandbox. Although $G is recognized by the cd command, it cannot be used in include statements in c++ source files.
Note:Replace $G with the absolute directory path of your sandbox. Although $G is recognized by the cd command, it cannot be used in include statements in c++ source files.
#Gather Required Packages
#Gather Required Packages
#*vrg3d
#*vrg3d
Line 22: Line 22:
#In $G/project/kuchora/cavepainting/main.cpp
#In $G/project/kuchora/cavepainting/main.cpp
#*change #include <kuchora/Kuchora.H> to #include <$G/common/kuchora/Kuchora.H>
#*change #include <kuchora/Kuchora.H> to #include <$G/common/kuchora/Kuchora.H>
#In$G/common/kuchora/AnnotationModel.H
#In $G/common/kuchora/AnnotationModel.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In$G/common/kuchora/TextInputWidget.H
#In $G/common/kuchora/TextInputWidget.H
#*change #include <kuchora/EventMgr.H> to #include <$G/common/kuchora/include/kuchora/EventMgr.H>
#*change #include <kuchora/EventMgr.H> to #include <$G/common/kuchora/include/kuchora/EventMgr.H>
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#In$G/common/kuchora/BrushState.H
#In $G/common/kuchora/BrushState.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In$G/common/kuchora/CavePaintingCursors.H
#In $G/common/kuchora/CavePaintingCursors.H
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#In $G/common/kuchora/PointModel.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/FishtankDepthCues.H
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/TriStripModel.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/WorkingLimits.H
#*change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
#In $G/common/kuchora/HCIMgr.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/ForceNetInterface.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/Selection.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/Markers.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/AnnotationModel.H
#*change #include <kuchora/MoveMarkersHCI.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
#In $G/common/kuchora/Shadows.H
#*change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>


  *Will be expanded upon
  *Will be expanded upon

Revision as of 14:52, 12 June 2012

Summer REU student working on Cave stuff.

Goals

  • Learn more about graphics and virtual reality
  • Build cave painting in the graphics lab, in the old cave, and for the new cave
  • Assist in modifying the cave software to blend the projector images correctly and correctly account for image distortion caused by the curved screen

Steps For Building Cave Painting

Note:Replace $G with the absolute directory path of your sandbox. Although $G is recognized by the cd command, it cannot be used in include statements in c++ source files.

  1. Gather Required Packages
    • vrg3d
    • cvs: common, import, project
    • build utility, gg
    • import/vrpn_7.28_gcc_64
    • import/g3d_8.01_64
    • sdl.rpm
    • project/kuchora/cavepainting
  2. Follow Set_up_your_environment_for_diffusion_MRI_processing tutorial
  3. Change all include vrg3d header file statements in $G/common/kuchora to correct filepath*
  4. Change all include MMotion header file statements in $G/common/kuchora to correct filepath*
  5. Make in $G/common/kuchora
  6. In $G/project/kuchora/cavepainting/main.cpp
    • change #include <kuchora/Kuchora.H> to #include <$G/common/kuchora/Kuchora.H>
  7. In $G/common/kuchora/AnnotationModel.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  8. In $G/common/kuchora/TextInputWidget.H
    • change #include <kuchora/EventMgr.H> to #include <$G/common/kuchora/include/kuchora/EventMgr.H>
    • change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
  9. In $G/common/kuchora/BrushState.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  10. In $G/common/kuchora/CavePaintingCursors.H
    • change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
  11. In $G/common/kuchora/PointModel.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  12. In $G/common/kuchora/FishtankDepthCues.H
    • change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  13. In $G/common/kuchora/TriStripModel.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  14. In $G/common/kuchora/WorkingLimits.H
    • change #include <kuchora/GfxMgr.H> to #include <$G/common/kuchora/include/kuchora/GfxMgr.H>
  15. In $G/common/kuchora/HCIMgr.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  16. In $G/common/kuchora/ForceNetInterface.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  17. In $G/common/kuchora/Selection.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  18. In $G/common/kuchora/Markers.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  19. In $G/common/kuchora/AnnotationModel.H
    • change #include <kuchora/MoveMarkersHCI.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>
  20. In $G/common/kuchora/Shadows.H
    • change #include <kuchora/KuchoraBase.H> to #include <$G/common/kuchora/include/kuchora/KuchoraBase.H>


*Will be expanded upon