Description
I'm trying to use SimpleMeshLayer in pydeck like this:
layer = pdk.Layer(
"SimpleMeshLayer",
data=df,
mesh="https://raw.githubusercontent.com/visgl/deck.gl-data/master/website/humanoid_quad.obj",
get_position=["lng", "lat"],
get_color="color",
pickable=True
)
In the JS documentation the example uses this -> loaders:[OBJLoader]. There is no information how to pass this in pydeck Layer.
I receive this error in the browser:
loading mesh of SimpleMeshLayer({id: 'fb2a7166-b8ca-42fa-bc75-05791a64df50'}): No valid loader found (humanoid_quad.obj, MIME type: "text/plain", first bytes: not available) Error: No valid loader found (humanoid_quad.obj, MIME type: "text/plain", first bytes: not available)
Flavors
Expected Behavior
No response
Steps to Reproduce
Install pydeck.
Use the layer definition from the description.
Review console logs in the browser.
Environment
- Framework version: pydeck==0.9.1
- Browser: Chrome Version 131.0.6778.205 (Official Build) (64-bit)
- OS: Linux / Ubuntu 24.04
Logs
No response
Description
I'm trying to use SimpleMeshLayer in pydeck like this:
In the JS documentation the example uses this -> loaders:[OBJLoader]. There is no information how to pass this in pydeck Layer.
I receive this error in the browser:
Flavors
Expected Behavior
No response
Steps to Reproduce
Install pydeck.
Use the layer definition from the description.
Review console logs in the browser.
Environment
Logs
No response