r/JavaFX • u/dunc-60 • Jun 20 '24
Help Javafx handling perspective
Have used javafx to develop an app for modeling real estate. Uses the Meshview class to create walls, windows, floors, roofs etc then assembled them into a structure somewhat like building with Lego. Difficult part is retaining correct perspective when the model is rotated on its x, y or z axis. Has anyone run into this issue on a similar app?
2
Upvotes
View all comments
Show parent comment
1
u/[deleted] Jun 22 '24
Why do you have to change the model (transform) at all and not just add a perspective camera to the scene/subscene and modify the camera transform to see what you want?