FNNDSC / FNNDSC/ami

[feature] Position camera in from of plane (not using the stack world bbox)

Open
#120 8 comments 0 reactions 0 assignees View on GitHub
open p1 - required
Dominant language
JavaScript
Stars
745
Forks
212
PR merge metrics
No merged PRs in 30d

Description

First of all, thank you for releasing such an impressive viewer!

I need to fit the camera to the containing element, but I can't find a way to do it.
Take for example lesson #3 of your tutorial: how can I set the size of the camera such that it occupies the maximum available space (keeping the proportions, of course...). I played around with zoom but I can't find a way to determine the zoom factor based on container size.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with lesson #3 of the tutorial and trace how the camera, zoom, and containing element are configured. Determine how camera sizing can use the container while preserving proportions and position it in front of the plane rather than using the stack world bounding box; done means the viewer fills the available container space correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, three.js
Domain
computer-graphics, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.