Tresjs / tres

Declarative ThreeJS using Vue Components
https://tresjs.org
MIT License
2.17k stars 102 forks source link

camera-position bug since version 3.8 #692

Closed ronny-haberer-at-ottobock-com closed 4 months ago

ronny-haberer-at-ottobock-com commented 4 months ago

Description

render-loop initially not rendering camera having different positions when changing via position = new Vector(x,y,z) or position.set(x,y,z)

Suggested solution

bugfix

Alternative

No response

Additional context

<TresCanvas v-bind="canvasSettings">
    <TresPerspectiveCamera v-bind="cameraSettings" />
    <OrbitControls v-bind="controlSettings" />
</TresCanvas>

Validations

alvarosabu commented 4 months ago

Hi @ronny-haberer-at-ottobock-com please provide a minimal reproduction of the issue

ronny-haberer-at-ottobock-com commented 4 months ago

It's meant like a hint, because I have no time for that - sorry. You can delete if the "reproduction" is needed to align with the process.

andretchen0 commented 4 months ago

Closing: no reproduction