Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2022-10-06-hard-mode-rust.adoc #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shadlock0133
Copy link

No description provided.

@@ -133,7 +133,7 @@ image::https://user-images.githubusercontent.com/1711539/194287665-05583649-dcb0
This works rather intuitive conceptually.
First, imagine the above scene, with an infinite fuchsia colored plane and a red Utah teapot hovering above that.
Then, imagine a camera standing at `0,10,-50` (in cartesian coordinates) and aiming at the origin.
Now, draw an imaginary rectangular 80x60 screen at a focus distance of 50 from the camera along its line of side.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intended to be 80x60 -- this is in scene's real dimensions, not in the screan pixels. In other words, one pixel is of the size 0.1 in the scene. If the focal distance is just 50, than 800x600 would be way to gigantic screen.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, in that case, it might be nice to note that in the post

@matklad matklad force-pushed the master branch 2 times, most recently from acc48af to f13131d Compare January 27, 2023 02:21
@matklad matklad force-pushed the master branch 3 times, most recently from 8527a0b to 912190c Compare March 27, 2023 15:57
@matklad matklad force-pushed the master branch 2 times, most recently from c99ed0c to 1f96dae Compare September 13, 2023 10:06
@matklad matklad force-pushed the master branch 2 times, most recently from 72f50c8 to 053be55 Compare December 11, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants