Hello. I want to ask if using Mapbox HDA in tops is possible. The aim for this is making long routes in game based on real locations. Sometimes as long as 150km, but possibly longer in future.
I've made a small setup (TOPsetup.png). With screens of how each look. At the end I get an error that I am not sure what to do with.
QWidget: Must construct a QApplication before a QWidget
Can you Ctrl+Middle Click on one of the failed work items and copy the output log here? Failed work items will often have a log that explains more details on what the issue is, if the process associated with the work item failed to cook successfully.
INFO:root:HDA: otls/SideFX_Labs.hda INFO:root:Operator Type: Sop/labs::mapbox INFO:root:Setting parm terrain_mode to: [1L] INFO:root:Setting parm snap_to_terrain to: [1L] INFO:root:Setting parm height_from_terrain to: [0L] INFO:root:Setting parm color_from_terrain to: [1L] INFO:root:Setting parm resample_curve to: [0L] INFO:root:Setting parm lat_lon_zoom to: [43.3646, 5.3609, 14.0] INFO:root:Setting parm offsets to: [0.0, 0.0] INFO:root:Setting parm height_scale to: [1.0] INFO:root:Setting parm resolution_scale to: [1.0] INFO:root:Setting parm height_blur_strength to: [0.0] INFO:root:Setting parm offset to: [0.0] INFO:root:Setting parm segment_length to: [1.0] INFO:root:Setting parm api_key to: [cut out api key] INFO:root:Setting parm download_path_color to: [u'D:/Houdini/maps/MapGenerator_0_0_Mapbox_terrain_color.jpg'] INFO:root:Setting parm download_path_height to: [u'D:/Houdini/maps/MapGenerator_0_0_Mapbox_terrain_height.png'] INFO:root:Setting parm download_path_osm to: [u'D:/Houdini/maps/MapGenerator_0_0_Mapbox_city.osm'] INFO:root:Pressing refresh parm button QWidget: Must construct a QApplication before a QWidget
Currently, it is not possible to automate the Mapbox HDA because it requires a GUI (which is launched when the ‘Refresh’ button is pressed). I've filed an RFE for you to make it possible to process the HDA in TOPs.
I did fill an RFE as well, after I made this post. Hopefully this is something easy to adjust as it will be very beneficial for our company to utilize this node.