Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7713149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:48:00+00:00 2026-06-01T01:48:00+00:00

All I would like to do is create a viewport which maps a 3D

  • 0

All I would like to do is create a viewport which maps a 3D terrain of flat squares to a 2D perspective.

Imagine looking out across a field which was perfectly flat. The further away blocks of terrain would appear slanted inwards further towards the horizon, and would also look shorter.

I have done a TON of research on how to scientifically do this correctly and came across this:

http://en.wikipedia.org/wiki/Visual_angle

(except this article is in 2D. I would want it to also account for the “height” or z dimention of the viewport)

Is there a simpler way to do this and create true perception rather than having to program:

-3D ray/sphere intersection

-distance from point to point on a sphere

Pretty much what I’m asking is if there exists a simpler way to map vertices in a 3D world to a 2D plane while staying true to perspective warping?

Any helpful articles or advice would be greatly appreciated!

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:48:02+00:00Added an answer on June 1, 2026 at 1:48 am

    The standard way to do this is to use homogeneous coordinates and a perspective projection matrix. This doesn’t require any distance computations at all: per vertex, it requires a 4×4 matrix multiplication and a division to scale the final 2D point.

    And, yes, it is scientifically and geometrically correct, although I should note that it assumes a flat, camera-like projection screen and an ideal, pinhole-like lens. If you want a “visual angle”-based fisheye view the best option may be to add barrel distortion as a post-process….

    You should probably start with an introductory computer graphics text, like 3D Computer Graphics by Alan Watt. An older, “classic” work is Computer Graphics: Principles and Practice by Foley, van Dam, et al.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create a query where I select all records which contain
I would like create my own collection that has all the attributes of python
I would like to wipe out all data for a specific kind in Google
I would like to create a batch file to rename all the files with
I would like to create a table which has column like title,target and I
I would like to create all my widgets before inserting them into my swt
I would like to create events for certain resources that are used across various
In MySQL, I would like to create a new table with all the information
I would like to create function objects (yes, all functions are objects) with some
I would like to create a void method in C# which will create a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.