CodingTrain / CodingTrain/Suggestion-Box

Challenge: vanishing points perspective with FOV angle

Open
#1,321 0 comments 0 reactions 0 assignees View on GitHub
Challenge
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

What about coding a typical two or three vanishing points perspective grid? As used for drawing, but with a FOV (Field of View) slider, so you place your points or vantages (with mouse or input) and move away those points according to the vertical FOV-y slider (toRadian).

All in a simplistic approach.

Other approaches could be use **foreshortening** techniques, while more difficult to achieve due a **viewing frustum**, with near and far z planes, is needed (camera based approach),
as well keeping in mind the Aspect Ratio and considering orientation (since FOV must be the longest edge in portraits) in this scenario.

Attached some sketches of the idea
![vanishing_FOV_split](https://user-images.githubusercontent.com/614553/57663256-89bedb00-75f3-11e9-9381-a217737b1b63.jpg)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.