[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / git ] [ GET / ref / marx / booru / zine ]

/games/ - Games

Name
Options
Subject
Comment
Flag
File
Embed
Password (For file deletion.)

Join our Matrix Chat <=> IRC: #leftypol on Rizon


 No.20510

Cameras in games typically use a frustum

A triangular prism but the top part doesn’t have a point it’s just empty and likewise any space within that frustum defines what the camera will see

The near value specifies the minimum distance an object from the camera must be at to be seen while the far as you’d imagine expresses how far the camera can see an object before it isn’t rendered. The FOV just defines the value of the frustums height and back which makes you see more but there’s a problem with this approach.

As you can see in the picture related if the FOV ever reaches 180 the near and far coordinates overlap which will cause nothing to render on screen than the ideal of being able to see everything in front of you, coincidentally if the FOV is above 180 and below 360 your vision will become inverted as now the near distance is greater than far due to the frustums shape

 No.20511

>FOV above 180
What are you, an alien? Why the fuck would you ever play a game like that?

 No.20515

File: 1658652626488.jpg (21.73 KB, 600x150, Mod_tenebrae.jpg)

>Can you find a solution to this camera problem for me?
raytracing

 No.20516

a simple solution is using multiple cameras (three frustrums) and splice them into a panorama. id probably look up how panoramic software works in cameras to research it.

 No.20521

>>20511
Not really for games but for a fisheye effect
This can also help simulating what a widescreen monitor can look like on low end PCs
>>20516
Yeah I’ve heard of that technique though it’s typical you would actually use a double sideded reflective sphere and parent that to the original camera to create the illusion of wide eyed vision

 No.20530

Doom (original) used to let you play the game in multiplayer with yourself and set up multiple cameras on one player to display across three different monitors for a roughly 270 degree view.

 No.20532

>>20530
>play the game in multiplayer with yourself
Lol.

 No.20533

>>20532
amusingm but that's literally what you'd do.
Host a network game and then have two other players join with particular command line options to make them camera view left and camera view right for a particular player.


Unique IPs: 7

[Return][Go to top] [Catalog] | [Home][Post a Reply]
Delete Post [ ]
[ home / rules / faq ] [ overboard / sfw / alt ] [ leftypol / siberia / hobby / tech / edu / games / anime / music / draw / AKM ] [ meta / roulette ] [ cytube / git ] [ GET / ref / marx / booru / zine ]