POST
|
I am sorry, I am getting out of CE topic with this approach, I guess I should go to Unity forum 😉
... View more
02-12-2021
12:04 PM
|
0
|
0
|
2611
|
POST
|
Thanks again 🙂 I am not sure if I understood you correctly. I know I can use parameters in CE to set size and color (I converted csv to shape-file in ArcGIS und used that). But the thing is, I want to keep the parameters of each GPS point in Unity, e.g. because I want to choose whether the size of an object is based on the value of parameter 1 (e.g. temperature) or parameter 2 (e.g. humidity) or parameter x ... during runtime. Maybe it could be a solution to convert/project the GPS points in ArcMap to a coordinate system which is similar "a simple scene coordinates and the projection is basically an infinite flat plane"... and then import the resulting table of the shapefile in Unity and use the converted coordinates and the "passed on" parameters.
... View more
02-12-2021
11:56 AM
|
0
|
1
|
2613
|
POST
|
@Anonymous User wrote: It's more likely that Unity is ignoring the coordinate system and projections as they use a simple scene coordinates and the projection is basically an infinite flat plane, unless you are running some additional custom script/plugin to tell Unity how to handle the georeferenced data. That could be the solution to the riddle... I already imported the GPS data in CE and then export it in the same way as the generated city and that worked fine. The reason I wanted to import the GPS points in Unity was that I want to be able to change e.g. size and color of the single points according to their values they bring with them in the csv.
... View more
02-12-2021
09:44 AM
|
0
|
3
|
2617
|
POST
|
Thanks again. I changed the coordinate system in CE (it dosen't look like there is something changed when I am doing so), export the model, and import it in Unity. All the models dosen't differ at all. Looks like CE is ignoring the coordinate system change and also when exporting. Do I have to state this somewhere separately?
... View more
02-12-2021
05:14 AM
|
0
|
5
|
2627
|
POST
|
Thank you for your help. In CE I have selected the coordinate system CE CS in meters - but it still doesen't fit. I import the GPS data which is stored as csv-file directly in Unity and place some spheres on the GPS position. The proportions of the CE generated city and the GPS points do not match at all. The city is about ~10000 larger. If I compensate the size ratio by scaling, the GPS points still do not match the CE city. I don't get it... :see_no_evil_monkey: Do you have an idea?
... View more
02-12-2021
12:23 AM
|
0
|
7
|
2639
|
POST
|
Dear all, I am working with Unity and imported some GPS Points that include some environmental parameter. I want to add a city I build with CityEngine into my Unity scene. If I do so, the GPS points and the city dosen't fit. I think I would have to use a different coordinate system for the scene in CityEngine. Can someone tell me which one is the right one here? Thanks a lot!
... View more
02-10-2021
05:59 AM
|
0
|
9
|
2812
|
POST
|
Hi Brian, thank you for your answer. I have many points, so I prefer your first solution. Anyhow, I cannot add a rule file to the files in the scene. I found some comment that this might not be possible: https://community.esri.com/thread/111778 As you suggested the solution and provided a code, I guess there is a workaround? Do I have to change some settings to add a rule file to the lines?
... View more
10-22-2020
11:48 PM
|
0
|
1
|
1321
|
POST
|
Hello. I have a shape file with points and want to link one point to the next one. I wrote some python script that adds an attribute of the position of the last point to the current point object. I thought there is an CGA operation where I can extrude a primitiveDisk in the direction of the last point with the lenght of the distance, but I did not find something like that. Does someone have some hint for me how that can be done? Thank you!
... View more
10-19-2020
04:33 AM
|
0
|
4
|
1382
|
Online Status |
Offline
|
Date Last Visited |
02-15-2021
07:31 AM
|