Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-4968 Use 3-D model for celestial body in Orbit View
  3. GMT-4828

Use 3-D model for celestial body in Orbit View - Implementation (base/gui)

    Details

      Description

      Add new fields to CelestialBody for 3D model file and scale factor.
      Update OrbitView to draw 3D model for the celestial body if it has 3D model file.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            rqureshi Rizwan Qureshi added a comment -

            I labeled this Improvement 'CCB' so it can show up on CCB dashboard for CCB to decide this bug's fate.

            Show
            rqureshi Rizwan Qureshi added a comment - I labeled this Improvement 'CCB' so it can show up on CCB dashboard for CCB to decide this bug's fate.
            Hide
            gmatloj Linda Jun added a comment -

            Finished implementation. It now shows 3D models for celestial bodies in OrbitView. There are a few changes to GUI CelestialBodyPanel and gmat_startup_file.txt

            - Added a new Visualization tab to CelestialBody panel for 3D model.
            - Updated gmat_startup_file.txt to add a new path 
                 BODY_3D_MODEL_PATH     = DATA_PATH/graphics/models/
                 RQ36_3D_MODEL_FILE     = BODY_MODEL_PATH/RQ36.3ds <== ex) Add this for a new model file
               and modified MODEL_PATH to VEHICLE_MODEL_PATH, so it looks like this:
                 VEHICLE_MODEL_PATH     = DATA_PATH/vehicle/models/
                 SPACECRAFT_MODEL_FILE  = VEHICLE_MODEL_PATH/aura.3ds
            
            Show
            gmatloj Linda Jun added a comment - Finished implementation. It now shows 3D models for celestial bodies in OrbitView. There are a few changes to GUI CelestialBodyPanel and gmat_startup_file.txt - Added a new Visualization tab to CelestialBody panel for 3D model. - Updated gmat_startup_file.txt to add a new path BODY_3D_MODEL_PATH = DATA_PATH/graphics/models/ RQ36_3D_MODEL_FILE = BODY_MODEL_PATH/RQ36.3ds <== ex) Add this for a new model file and modified MODEL_PATH to VEHICLE_MODEL_PATH, so it looks like this: VEHICLE_MODEL_PATH = DATA_PATH/vehicle/models/ SPACECRAFT_MODEL_FILE = VEHICLE_MODEL_PATH/aura.3ds
            Hide
            rqureshi Rizwan Qureshi added a comment -

            Good. Linda, please let us know in which build will these changes show up in. Then I'll grab LatestCompleteVersion and put it on my machine.

            Show
            rqureshi Rizwan Qureshi added a comment - Good. Linda, please let us know in which build will these changes show up in. Then I'll grab LatestCompleteVersion and put it on my machine.
            Hide
            rqureshi Rizwan Qureshi added a comment -

            Linda, I'm re-opening this issue based on my very preliminary testing of setting 3D models on CelestialBody object. I found a bug (more bugs may follow after I do more detailed testing later on). and will commit it soon.

            Show
            rqureshi Rizwan Qureshi added a comment - Linda, I'm re-opening this issue based on my very preliminary testing of setting 3D models on CelestialBody object. I found a bug (more bugs may follow after I do more detailed testing later on). and will commit it soon.
            Hide
            gmatloj Linda Jun added a comment -

            I think current issues related celestial body model are fixed.

            Show
            gmatloj Linda Jun added a comment - I think current issues related celestial body model are fixed.

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 days Original Estimate - 4 days
                  4d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 1 hour, 30 minutes
                  4d 1h 30m