-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding updates from the BB repo to Github for V2.0.1 release CGR
- Loading branch information
Curtis Rubel
committed
Mar 29, 2016
1 parent
533060a
commit b1d44d1
Showing
84 changed files
with
3,567 additions
and
2,974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
set( APP_NAME openig-demo-a320 ) | ||
|
||
set( TARGET_SRC_FILES main.cpp ) | ||
set( TARGET_OTHER_FILES DataFiles/default.txt DataFiles/openig.xml ) | ||
|
||
add_executable( ${APP_NAME} ${TARGET_SRC_FILES} | ||
${TARGET_OTHER_FILES} ) | ||
|
||
target_link_libraries( ${APP_NAME} | ||
${OSG_LIBRARIES} | ||
OpenIG-Engine | ||
) | ||
|
||
install( | ||
TARGETS ${APP_NAME} | ||
RUNTIME DESTINATION bin/openig-a320 COMPONENT openig | ||
) | ||
|
||
set_target_properties( ${APP_NAME} PROPERTIES PROJECT_LABEL "Application A320" ) | ||
|
||
SET(INSTALL_INCDIR include) | ||
SET(INSTALL_BINDIR bin/openig-a320) | ||
IF(WIN32) | ||
SET(INSTALL_LIBDIR bin) | ||
SET(INSTALL_ARCHIVEDIR lib) | ||
ELSE() | ||
SET(INSTALL_LIBDIR ${CMAKE_INSTALL_LIBDIR}) | ||
SET(INSTALL_ARCHIVEDIR ${CMAKE_INSTALL_LIBDIR}) | ||
ENDIF() | ||
|
||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/DataFiles/default.txt DESTINATION ${INSTALL_BINDIR}) | ||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/DataFiles/flightpath.path DESTINATION ${INSTALL_BINDIR}/demo/) | ||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/DataFiles/openig.xml DESTINATION ${INSTALL_BINDIR}/igdata/) | ||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/DataFiles/OpenIG-Splash.jpg DESTINATION ${INSTALL_BINDIR}/igdata/) | ||
set( APP_NAME openig-demo-a320 ) | ||
|
||
set( TARGET_SRC_FILES main.cpp ) | ||
set( TARGET_OTHER_FILES DataFiles/default.txt DataFiles/openig.xml ) | ||
|
||
add_executable( ${APP_NAME} ${TARGET_SRC_FILES} | ||
${TARGET_OTHER_FILES} ) | ||
|
||
target_link_libraries( ${APP_NAME} | ||
${OSG_LIBRARIES} | ||
OpenIG-Engine | ||
) | ||
|
||
install( | ||
TARGETS ${APP_NAME} | ||
RUNTIME DESTINATION bin/openig-a320 COMPONENT openig | ||
) | ||
|
||
set_target_properties( ${APP_NAME} PROPERTIES PROJECT_LABEL "Application A320" ) | ||
|
||
SET(INSTALL_INCDIR include) | ||
SET(INSTALL_BINDIR bin/openig-a320) | ||
IF(WIN32) | ||
SET(INSTALL_LIBDIR bin) | ||
SET(INSTALL_ARCHIVEDIR lib) | ||
ELSE() | ||
SET(INSTALL_LIBDIR ${CMAKE_INSTALL_LIBDIR}) | ||
SET(INSTALL_ARCHIVEDIR ${CMAKE_INSTALL_LIBDIR}) | ||
ENDIF() | ||
|
||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/DataFiles/default.txt DESTINATION ${INSTALL_BINDIR}) | ||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/DataFiles/flightpath.path DESTINATION ${INSTALL_BINDIR}/demo/) | ||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/DataFiles/openig.xml DESTINATION ${INSTALL_BINDIR}/igdata/) | ||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/DataFiles/OpenIG-Splash.jpg DESTINATION ${INSTALL_BINDIR}/igdata/) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
#All platforms | ||
addentity 2 {$OPENIG_DATA_PATH;/usr/local/database;../data}/model/radar/radar.FBX.(0.1,0.1,0.1).scale -50 50 5 0 90 0 | ||
addentity 1 {$OPENIG_DATA_PATH;/usr/local/database;../data}/model/A320/a320.ive 0 0 45.9 105 0 0 | ||
addentity 0 {$OPENIG_DATA_PATH/terrain;/data/OIG/OIG_DEMO_SC_7_NT_;../data/terrain}/master.flt.osg 0 0 0 -50.5 0 0 | ||
|
||
fpo -4 0 -37 | ||
ms SBSC_Activ 0 | ||
|
||
playanim 2 fbx:"Take 001":LOOP | ||
|
||
manip 1 trackball | ||
|
||
tod 4 45 | ||
fog 500000 | ||
wind 5 90 | ||
addclouds 0 4 500 3000 0.7 | ||
|
||
|
||
|
||
|
||
#All platforms | ||
addentity 2 {$OPENIG_DATA_PATH;/usr/local/database;../data}/model/radar/radar.FBX.(0.1,0.1,0.1).scale -50 50 5 0 90 0 | ||
addentity 1 {$OPENIG_DATA_PATH;/usr/local/database;../data}/model/A320/a320.ive 0 0 10 0 0 0 | ||
addentity 0 {$OPENIG_DATA_PATH/terrain;/data/OIG/OIG_DEMO_SC_7_NT_;../data/terrain}/master.flt.osg 0 0 0 -51.1 0 0 | ||
|
||
fpo -4 0 -37 | ||
ms SBSC_Activ 0 | ||
|
||
# addentity 0 {$OPENIG_DATA_PATH/geocentric;/data/OIG/OIG_DEMO_SC_7_NT_;../data/geocentric}/master.flt.osg 0 0 0 0 0 0 | ||
# If you have Geocentric visual database | ||
# use this command to set the zero 0,0,0 | ||
# in geographics coords. The entity will | ||
# be placed right there | ||
# geozero -22.943 -43.7251 | ||
|
||
playanim 2 fbx:"Take 001":LOOP | ||
|
||
manip 1 trackball | ||
bindcamera 1 10 30 -2 -200 0 0 | ||
|
||
tod 4 45 | ||
fog 500000 | ||
wind 5 90 | ||
addclouds 0 4 500 3000 0.7 | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.