You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i use TOUCH_TAP eventListener get world coordinate
I found that the world coordinates vary depending on whether or not I use the parameter useCPURendering
useCPURendering: false world coordinates is correct
Steps to Reproduce
use CPU render
await csRenderInit({
gpuTier: false,
rendering: {
useCPURendering: true,
},
isMobile: true,
});
useCPURendering get coordinates is [-134.9400027722772, -245.13925771089112, -592.3]
not useCPURendering get coordinates is [-104.9325750009718, -244.33240249562684, -592.3]
X,Y is different,How can i got same ,Or how can the coordinates obtained by enabling the useCPURendering parameter be converted to the coordinates without enabling the useCPURendering parameter?
Describe the Bug
i use TOUCH_TAP eventListener get world coordinate
I found that the world coordinates vary depending on whether or not I use the parameter useCPURendering
useCPURendering: false world coordinates is correct
Steps to Reproduce
await csRenderInit({
gpuTier: false,
rendering: {
useCPURendering: true,
},
isMobile: true,
});
containerRef.value.addEventListener(cstEnums.Events.TOUCH_TAP, (e: any) => {
console.log('world', e.detail.currentPoints.world)
})
The current behavior
The coordinates obtained using the useCPURendering parameter are different from those obtained without enabling it.
The expected behavior
The coordinates are the same.
OS
macOS 14.6
Node version
18.20.5
Browser
chrome 131.0.6778.86
The text was updated successfully, but these errors were encountered: