Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Initial camera position/focal point not behaving as expected

Aperta
#96 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Start in src/core/View.js at the initial resetCamera call linked in the issue, then trace how View applies camera position and focal-point properties during initialization. Reproduce the reported behavior with a custom camera position and focal point, including the blank screen after a manual update. Done means initialization preserves the supplied values without the reset overriding them.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Attempting to set the initial camera position & focal point for the View component results in unexpected behavior. It appears as if the initial resetCamera call is overriding the provided camera properties. Attempting to set the camera position in user code manually after the component has been initialized results in a blank screen. Is this a bug, and if not is there any way to set set custom initial camera position/focal point on View initialization?

Lingua principale
TypeScript
Stelle
86
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Kitware/react-vtk-js

Tutte le issue di Kitware/react-vtk-js

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.