Your Privacy
We use cookies to give you a better experience in LSAS TEC
You can learn more about what kind of cookies we use, why, and how from our Privacy Policy. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings in our cookie banner to change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. For more details, check out our Privacy Policy link below.
Strictly Necessary Cookies
These cookies are necessary for the website to function and cannot be switched off in our systems, but do not store any person information. They are usually set in response to your actions that triggers a request for services, such as setting your privacy preferences, logging in or filling forms. You can change your browser settings to alert you about these cookies, but some parts of the Website may not work.
View Cookies
I want to create a video and then export to Unreal engine. Is this possible?
0 Votes
Alexander Ridgeway posted 5 months ago Admin Best Answer
Great question! I have been looking into this. The connect to STK to Unreal possible, but it requires some work to get the content exported from STK and then imported to Unreal, also it requires Cesium for Unreal.
1. Build your scenario in STK to include all of your objects and 3D models so you know what you want to include in the video project. STK provides the full force models and real physics, so you can take full advantage of this. Also please use the Cesium Tiles for terrain imagery and building data as they can be used in Unreal.
2. Export your data. Currently there is not STK to Unreal exporter. So you will need to pull the data out that you need. Currently we are looking into exact formats and exact content required in Unreal, but in general, you need Position and Attitude information along with the 3D model used in STK, for each and every object in your scenario.
3. Use Cesium for Unreal. Cesium provides the 3D Globe and 3D Tiles to Unreal. So connect your Unreal project to Cesium using a pluging. Here is a great guide from Cesium.
https://cesium.com/learn/unreal/unreal-quickstart/
Also some videos.
Unreal Engine 5 - Google Maps API & Cesium - Full tutorial PT 1 (youtube.com)
Cesium for Unreal: The World in 3D - YouTube
4. Ingest STK content. This part depends on the scenario itself. It depends on the type of data. Below is a description of how to bring in CSV data into Unreal Engine.
Creating a pathway in Unreal Engine (UE) from a CSV file containing Latitude, Longitude, Altitude (or XYZ points) and making a 3D model follow this route involves several steps. Here’s a comprehensive guide to help you achieve this:
1. Prepare the CSV File
Ensure your CSV file is properly formatted. A simple example might look like this:
Lat,Lon,Alt
40.712776,-74.005974,10
40.713776,-74.006974,15
40.714776,-74.007974,20
Or for XYZ coordinates:
X,Y,Z
100,200,10
110,210,15
120,220,20
2. Import the CSV File into Unreal Engine
3. Read the CSV Data
4. Create the Pathway
ForEach Loop (Array of Coordinates)
Add Spline Point (Convert Lat/Lon/Alt to X/Y/Z if necessary)
5. Convert Lat/Lon/Alt to XYZ (if needed)
6. Move the 3D Model Along the Pathway
Timeline (Track 0-1)
Update:
Get Location at Distance Along Spline (Spline Length * Track Value)
Set Actor Location (3D Model)
7. Handle Multiple Pathways
Example Blueprint Pseudo-code:
Event BeginPlay
Read CSV Data into Array
ForEach Coordinate in Array
Add Spline Point to Spline Component
Event Timeline Update
Get Location at Distance Along Spline (Current Spline Length * Timeline Value)
Set 3D Model Location
Event Switch Pathway (New Pathway Index)
Set Current Spline Component
This approach will create a dynamic path in Unreal Engine from your CSV data and move your 3D model along this path. Adjustments might be needed based on your specific requirements and coordinate system.
0 Votes
1 Comments
Alexander Ridgeway posted 5 months ago Admin Answer
Great question! I have been looking into this. The connect to STK to Unreal possible, but it requires some work to get the content exported from STK and then imported to Unreal, also it requires Cesium for Unreal.
1. Build your scenario in STK to include all of your objects and 3D models so you know what you want to include in the video project. STK provides the full force models and real physics, so you can take full advantage of this. Also please use the Cesium Tiles for terrain imagery and building data as they can be used in Unreal.
2. Export your data. Currently there is not STK to Unreal exporter. So you will need to pull the data out that you need. Currently we are looking into exact formats and exact content required in Unreal, but in general, you need Position and Attitude information along with the 3D model used in STK, for each and every object in your scenario.
3. Use Cesium for Unreal. Cesium provides the 3D Globe and 3D Tiles to Unreal. So connect your Unreal project to Cesium using a pluging. Here is a great guide from Cesium.
https://cesium.com/learn/unreal/unreal-quickstart/
Also some videos.
Unreal Engine 5 - Google Maps API & Cesium - Full tutorial PT 1 (youtube.com)
Cesium for Unreal: The World in 3D - YouTube
4. Ingest STK content. This part depends on the scenario itself. It depends on the type of data. Below is a description of how to bring in CSV data into Unreal Engine.
Creating a pathway in Unreal Engine (UE) from a CSV file containing Latitude, Longitude, Altitude (or XYZ points) and making a 3D model follow this route involves several steps. Here’s a comprehensive guide to help you achieve this:
1. Prepare the CSV File
Ensure your CSV file is properly formatted. A simple example might look like this:
Lat,Lon,Alt
40.712776,-74.005974,10
40.713776,-74.006974,15
40.714776,-74.007974,20
Or for XYZ coordinates:
X,Y,Z
100,200,10
110,210,15
120,220,20
2. Import the CSV File into Unreal Engine
3. Read the CSV Data
4. Create the Pathway
ForEach Loop (Array of Coordinates)
Add Spline Point (Convert Lat/Lon/Alt to X/Y/Z if necessary)
5. Convert Lat/Lon/Alt to XYZ (if needed)
6. Move the 3D Model Along the Pathway
Timeline (Track 0-1)
Update:
Get Location at Distance Along Spline (Spline Length * Track Value)
Set Actor Location (3D Model)
7. Handle Multiple Pathways
Example Blueprint Pseudo-code:
Event BeginPlay
Read CSV Data into Array
ForEach Coordinate in Array
Add Spline Point to Spline Component
Event Timeline Update
Get Location at Distance Along Spline (Current Spline Length * Timeline Value)
Set 3D Model Location
Event Switch Pathway (New Pathway Index)
Set Current Spline Component
This approach will create a dynamic path in Unreal Engine from your CSV data and move your 3D model along this path. Adjustments might be needed based on your specific requirements and coordinate system.
0 Votes
Login or Sign up to post a comment