How can I render .pcd #1157
Answered
by
drcmda
xiaopohaier
asked this question in
Q&A
How can I render .pcd
#1157
-
I load .pcd by useLoaders,and then how can I render them?thanks a lot |
Beta Was this translation helpful? Give feedback.
Answered by
drcmda
Apr 1, 2021
Replies: 2 comments 3 replies
-
the same as anything else:
what result is depends on the loader. if result is a group or a scene then you simply go
and that's that |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
xiaopohaier
-
I am getting an error where the PCDLoader is unable to find the URL / path to the PCD file at all |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the same as anything else:
const result = useLoader(PCDLoader, url)
what result is depends on the loader. if result is a group or a scene then you simply go
return <primitive object={result} />
and that's that