HuMoN-Research-Lab / AR_GroundPlane

HuMoN repo for the Augmented Reality Ground Plane (2022-07-28)
MIT License
2 stars 1 forks source link

write python code to generate terrain json file #22

Closed trentwirth closed 2 years ago

jonmatthis commented 2 years ago

Remember - json's are just Python dictionaries

... which is to say, you just need to build your terrain out as a dict and then save that out to a json using json.dumps or something:

https://www.geeksforgeeks.org/how-to-convert-python-dictionary-to-json/

trentwirth commented 2 years ago

deferring this until the next iteration of the ARGP...