jscastro76 / threebox

A Three.js plugin for Mapbox GL JS, with support for animations and advanced 3D rendering.
Other
562 stars 148 forks source link

how can i use it in R3F #337

Closed moshuying closed 2 years ago

moshuying commented 2 years ago

how do i use it in R3F?

jscastro76 commented 2 years ago

I don't know... what is R3F?

moshuying commented 2 years ago

I don't know... what is R3F?

this~ https://github.com/pmndrs/react-three-fiber

moshuying commented 2 years ago

This framework makes the code very readable and very easy to use. I've seen some authors use it to make great plugins, like this one https://github.com/pmndrs/react-three-lgl

jscastro76 commented 2 years ago

Hi @moshuying More clarity in your questions would be really appreciated if you expect an answer, this is not a Helpdesk or a Support Service. Integrating Threebox in other plugins or frameworks is not on the scope of this open source project.

If you look in closed issues you'll find people who integrated Threebox in react, or this, or this, or this, or this, or this

moshuying commented 2 years ago

Hi @moshuying More clarity in your questions would be really appreciated if you expect an answer, this is not a Helpdesk or a Support Service. Integrating Threebox in other plugins or frameworks is not on the scope of this open source project.

If you look in closed issues you'll find people who integrated Threebox in react, or this, or this, or this, or this, or this

tks~

mysterybear commented 2 years ago

@moshuying @jscastro76

I've been trying to take something like this on. Have had success rendering R3F to the Mapbox canvas and dealing with interactions (I'm just disabling/re-enabling all Mapbox interactions on an R3F interaction) but I'm quite stuck with the camera syncing stuff (tried just copying the Threebox logic and it doesn't work and I'm just a noob at camera/projection stuff)

I've written a post asking for any advice here https://discourse.threejs.org/t/failed-attempt-to-replicate-threebox-camerasync/40254 any feedback/advice would be super appreciated

Edit: actually I think I've thought of how to debug my issue, have replied in thread, sorry for noise