Questions tagged [frustum]

A frustum is a region of space delimited by a solid geometrical shape and two parallel planes cutting it, in particular the region of (virtual) space that is rendered on screen in computer graphics applications.

A frustum is a region of space delimited by a solid geometrical shape and two parallel planes cutting it. It may also refer to the region of (virtual) space that is rendered on screen in computer graphics applications (e.g. the visible area of a first-person shooter computer game or of a virtual reality application, like a virtual planetarium - Viewing frustum).

159 questions
0
votes
1 answer

Coordinates of frustum corners

A method for extracting the 6 plane equations of a viewing frustum given by a MVP matrix is given by this. It there a similar method known for getting the world space coordinates of its 8 corner points, directly out of the 4x4 MVP matrix and without…
tmlen
  • 8,533
  • 5
  • 31
  • 84
0
votes
1 answer

Frustum culling - error evaluating a point in the plane of the frustum

I am trying to implement the following code: http://www.lighthouse3d.com/tutorials/view-frustum-culling/geometric-approach-implementation/ I need to use frustum culling in my graphics engine. my functions are: void frustum::updateCameraData() { …
Fabian Orue
  • 193
  • 2
  • 14
0
votes
1 answer

Viewing an object while sitting on a sphere

In my JOGL program, I have an object at (0,0,0). I am using spherical coordinates to modify angles theta(inclination) and phi(rotation) to view my object at origin, but I am not able to view it properly. Sometimes the object becomes invisible at…
Madeyedexter
  • 1,155
  • 2
  • 17
  • 33
0
votes
0 answers

Is Libgdx Camera.Frustum.boundsInFrustum accurate with large models?

This image mainly explains my problem: The frustum.boundsInFrustum method detects the floor as inside of it, however neither the box nor the other one that has the bricky texture gets detected, and the frustum 3d representation does not touch nor…
LosTChG
  • 77
  • 2
  • 7
0
votes
1 answer

What values to use in my 3D-space

This is not really a functional problem I'm having but more a strategic question. I am new to 3D-programming and when looking at tutorials and examples I recon that the coordinates are usually between -1 and 1. It feels more natural using integers…
Nicsoft
  • 3,644
  • 9
  • 41
  • 70
0
votes
1 answer

Frustum culling with VBOs

I am planning on writing a 3D game that will be using VBOs for rendering. Let's say, for example, that the terrain is a set of tiles and their vertices are all in the same VBO. The player should be able to scroll through the tiles, and at all times…
Bodwin
  • 11
  • 2
0
votes
1 answer

How to draw only visible data XNA My method doesn't work

I have a 10*10 plane of cubes. I want only visible cubes to be drawn, so I use a Bounding frustum. The problem is that when the first cube from the grid (at location 0,0) gets out of the frustum, all cubes disappear. Here is my code in…
Sup3rlum
  • 51
  • 7
0
votes
2 answers

How do you use glFrustrum in OpenGL ES1 on iPhone

So I am using Xcode 3.2.1 and am trying to make an iPhone OpenGL ES1 project. The default template for an opengl project is ok, but I have been trying to split the code up so not everything is done per frame on the drawView() call. I have a…
Paul
  • 1
  • 2
0
votes
1 answer

How to create Frustum in DXF format for Autocad?

I am trying to create a frustum using DXF file with my text editor, but unable to find any good solution or way to create it. If anyone knows and would be obliged to help me find a solution DXF file or an example, that would be a great help. Thank…
Rahul
  • 1,070
  • 3
  • 21
  • 47
0
votes
3 answers

Determining visible area from globe frustum

I'm working with a mapping application (worldwind) and trying to determine the minimum and maximum latitudes and longitudes that are currently displayed. I have access to the frustum, but I'm not sure how to account for the fact that the globe can…
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
0
votes
2 answers

Get the bounds of the plane visible at a specific z coordinate

Using OpenTK, I've created a window (800x600) with a vertical FOV of 90°. I want to make a 2D game with a background image that fits on the whole screen. What I want is the plane at a variable z coordinate as a RectangleF. Currently my code…
timedt
  • 1,302
  • 2
  • 9
  • 14
0
votes
1 answer

Frustum Culling With View Matrix

In a GLSL shader I need to omit a few tessellation patches to drastically increase performance. These patches are triangles with given world coordinates for each vertex. However, when I convert these coordinates into view space for frustum culling,…
Behemyth
  • 195
  • 3
  • 13
0
votes
1 answer

Tiled Rendering glFrustum Clipping Planes Calculations

I was trying to get a tiled renderer working (the idea is to render one large view frustum by breaking it down into chunks and rendering individually). I had code that transforms a standard perspective projection with a viewing angle into left,…
geometrian
  • 14,775
  • 10
  • 56
  • 132
0
votes
3 answers

How draw only the models " front of the camera " full or partially displayed - XNA

I am developing a small game in XNA style "MinecraftGame." As there are a lot of cubes to draw. I created a function that allows you to draw only the cubes in front of the camera! But the problem is that if a cube is not completely full in my field…
Mehdi Bugnard
  • 3,889
  • 4
  • 45
  • 86
0
votes
1 answer

Calculate Center Of Frustum

If I have a column-major (opengl) Matrix that is the result of multiplying the Projection Matrix by a Model View Matrix. How can I calculate the center point of that matrix? The reason why I ask is because I only have access to the resulting matrix…
user346443
  • 4,672
  • 15
  • 57
  • 80
1 2 3
10
11