ksollner

Results 33 comments of ksollner
trafficstars

No, my plan would be to use webXR API and thats just html and javascript/typescript. My software should work on Quest and browser.

This is how potree viewer does it: https://github.com/potree/potree/blob/develop/src/viewer/viewer.js#L1921

I think what I need is the posibility to render(cameraPosition, targetRect). So in principal my question is how hard would it be to archieve that.

I am not yet sure how it works exactly, but I am quite certain I need to have both pictures in the same canvas. Maybe that can be done by...

So I looked it up, this is how it works: ``` onXRFrame(t, frame) { let pose = frame.getViewerPose(xrRefSpace); let glLayer = session.renderState.baseLayer; // bind the WebGL layer's framebuffer, // which...

So I managed to add anything that is relevant, but for some reason nothing is rendered (feels like I might render to the wrong framebuffer) and also I notices that...

I think I got it mostly working, now I only need to manage translating the projectionMatrix I get from VR (typically it is a camera tracking the hmd where the...

So maplibre works in a way where the map extends the camera and the camera has a transform. The transform is controlled by center, height, pitch and I think it...

That might be a workaround, but I will have to see if it really works as it is LngLat also. But maybe I can just interpret the Headset/eye coordinates as...

For example, how could I look away from the map using that?