3DStreet / 3dstreet

🚲🚢🚌 Web-based 3D visualization of streets using A-Frame
https://3dstreet.app
Other
249 stars 30 forks source link

update camera aspect ratio in Plan View and Cross Section #635

Open Algorush opened 2 weeks ago

Algorush commented 2 weeks ago

image

vincentfretin commented 2 weeks ago

See my comments https://github.com/3DStreet/3dstreet-editor/issues/185#issuecomment-2149788570

Algorush commented 2 weeks ago

See my comments 3DStreet/3dstreet-editor#185 (comment)

Thanks, I read the comments but didn't look in detail yet. Yes, the parameters of the Ortho camera are different from the Perspective camera. Perhaps this is causing the problem. I studied ortho and perspective cameras while working with 3dtiles-loader, I'll try to fix this

vincentfretin commented 2 weeks ago

Good luck. I spend about 2 hours trying without success.