Labs Mapbox and PDG

   338   4   0
User Avatar
Member
3 posts
Joined: 7月 2019
Offline
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

Any suggestions?

Windows 10
Houdini 18.0.391
Labs version 391

Attachments:
TOPsetup.PNG (48.4 KB)
InitialData.PNG (37.6 KB)
OffsetX.PNG (24.1 KB)
OffsetY.PNG (23.7 KB)
Mapbox.PNG (53.4 KB)

User Avatar
スタッフ
332 posts
Joined: 5月 2014
Offline
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.
Edited by tpetrick - 2020年4月9日 11:06:31
User Avatar
Member
3 posts
Joined: 7月 2019
Offline
Sure. I will just cut out the API key out.

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
Edited by arkadiusz.dawidowski - 2020年4月14日 05:32:01
User Avatar
スタッフ
361 posts
Joined: 8月 2017
Offline
Hello,

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.
User Avatar
Member
3 posts
Joined: 7月 2019
Offline
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.

Thanks!
  • Quick Links