Skip to content

How can I render .pcd #1157

Answered by drcmda
xiaopohaier asked this question in Q&A
Apr 1, 2021 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

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

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@xiaopohaier
Comment options

@ajitStephen
Comment options

@ajitStephen
Comment options

Answer selected by xiaopohaier
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1156 on April 01, 2021 07:51.