1 / 34

SPL basic – Build Simulation Environment

Learn how to start a simulation engine, add sky, sun, ground, update camera view, save scene as a file, and start the simulation engine from saved files.

wolivera
Télécharger la présentation

SPL basic – Build Simulation Environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SPL basic – Build Simulation Environment SPL First Beginner Course – 03 Young Joon Kim http://www.helloapps.com

  2. Topics • Start simulation engine • Add sky • Add sun • Add ground • Update camera view • Save scene as a file • Start simulation engine from saved files

  3. Start Simulation Engine

  4. Start simulation engine • Open new script page by pressing “Ctrl+N” or “File->New” menu

  5. Start simulation engine • Select “Environment” tab

  6. Start simulation engine • Add “StartSimulationEngine” command by double-clicking Double-Click

  7. Start simulation engine • Save and run script by pressing “F5”

  8. Add Sky

  9. Add sky • Add “AddSkyEntity” command by double-clicking Double-Click

  10. Start simulation engine • Save and run script by pressing “F5” • Drag mouse up to see sky Drag mouse up

  11. Add Sun

  12. Add sun • Add “AddLightSourceEntity” by double-clicking Double-Click

  13. Add Ground

  14. Add ground • Add “AddHeightFieldEntity” by double-clicking Double-Click

  15. Add ground • Save and run script by pressing “F5” Change view direction by mouse-dragging

  16. Change camera view

  17. Change camera view • Add “UpdateCameraView” command Double-Click

  18. Change camera view • Save and run script by pressing “F5”

  19. Save environment as a file

  20. Save environment as a file • Add “SaveSceneAs” command by double-clicking Double-Click

  21. Save environment as a file • Save and run script by pressing “F5”

  22. Start simulation engine from saved file

  23. Start simulation engine from saved file • Open new script page by pressing “Ctrl+N” or “File->New” menu

  24. Start simulation engine from saved file • Add “StartSimulationEngine” command on the new script page Double-Click

  25. Start simulation engine from saved file • Double-click “FileName” option Double-Click

  26. Start simulation engine from saved file • Select “mysim.xml”

  27. Start simulation engine from saved file • Selected result

  28. Start simulation engine from saved file • Save and run script by pressing “F5”

  29. Start simulation engine from basic sample environments

  30. Start simulation engine from basic environment samples • Add “StartSimulationEngine” on the new script page Double-Click

  31. Start simulation engine from basic environment samples • Add “SimState/basicsim.xml” option by double-clicking Double-Click

  32. Start simulation engine from basic environment samples • Save and run script by pressing “F5”

  33. Start simulation engine from basic environment samples • StartSimulationEngine"SimState/BasicObstacles.xml"

  34. Start simulation engine from basic environment samples • StartSimulationEngine"SimState/basicterrain.xml"

More Related