Loading a globe as an object in existing code #1851
-
I would like to use an itowns globe to replace a current static landscape image draped over a mesh. I had a go at creating a globe with the itowns source and trying to combine it with existing code, but wasn't sure how to access the canvas or renderer objects created by itowns. I was also getting errors such as 'threejs loading twice'. Is there a simple way to create and add a globe mesh with associated imagery ( e.g. WMTS ortho imagery) as an object into an existing project? I guess I'm thinking of the way code is added as examples in other threejs projects. Should I create two overlapping canvases, one for the objects I already created, and another for the itowns? Any suggestions on how to proceed would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
it's not possible for the moment (see #1829) |
Beta Was this translation helpful? Give feedback.
three
is exported initowns.js
bundle. May be you add thethree.js
bundle?it's not possible for the moment (see #1829)
but it's possible to add you three.js project to
Viewer.scene
and instance and customize your renderer.there are
frame requester
to add your process in itowns main loop