Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [frustum-culling]

The process of identifying objects outside the view frustum and skipping the rendering of said objects.

0
votes
0answers
28 views

How to get frustum coordinates of a scene capture / camera at a given focal distance?

Is there a way to get the bounds / frustum coordinates of a UE4 scenecap2d at a given focal distance? I'm not seeing a way of getting either 6 vectors for the frustum volume coordinates or 4 vectors ...
0
votes
1answer
86 views

Is Frustum Culling and Occlusion Culling used together, or separately?

I am taking a 3D game programming course and my professor provided the class with already-implemented graphics code with OpenGL. The graphics uses frustum culling to remove primitives outside the view ...
1
vote
1answer
73 views

Frustum Culling bug in program

I did Frustum Culling in my engine, but it does not work correctly. All shown in the video: Video If the approximation is too close, the model disappears. On the right in the console you can see ...
0
votes
1answer
68 views

How Frustum Culling and Sky Box Working Together ? The skybox appears where it should not appear

When i did frustum culling, far parts of land not rendering. It is good like i want. But after I see sky box instead of these parts. My question is, is this normal ? Or what i need to see or what i ...
1
vote
1answer
171 views

Frustum culling with a single large object

I am helping to optimize performance in a mobile game. The artists who built a particular scene added a wall around the scene. The wall is a single mesh with 100k triangles. Because it goes around the ...
0
votes
1answer
49 views

How do you handle large triangles with frustum?

I am rendering the Sponza scene ato test my frustum implementation. My current approach is simply, test if the vertices of the triangle are within the frustum (angle between the camera looking ...
1
vote
1answer
145 views

Unity - Sprite disappears completely when just a part of it is outside the camera's FOV

I'm making a game in Unity, and when the player walks past a sprite, the sprite disappears, and when the player walks back toward it, it reappears. You can see a video of the problem here https://www....
1
vote
1answer
255 views

Frustum Culling Plane Issue [closed]

I have been having an issue with frustum culling, specifically culling planes (not to be confused with the frustum planes). I am using JOML in Java with the FrustumIntersection class, and using the ...
2
votes
0answers
39 views

Testing spheres without extracting planes

I am currently a bit stuck. On OpenGL I am attempting to do view frustum culling, so far I managed to do it by using a PCM. Where center is the world position of the mesh. ...
4
votes
1answer
514 views

When does “frustum culling” actually happen?

So I am a little bit confused, and hopefully not too far off, about when frustum culling actually occurs. Let's suppose that I already have my objects in camera space, and then I have applied the ...
1
vote
1answer
564 views

Instance culling using geometry shaders

I'm developing my own game and for that I want to implement frustum culling, to archive an performance optimization. I found a description on the internet (enter link description here) and this one ...
2
votes
1answer
273 views

Frustum Culling behaves incorrectly with vertex shaded objects

I have a scene with a straight path. It looks something like this: I've also wrote a vertex shader that bends the path. After applying the shader, it looks something like this: If you were to look ...
0
votes
1answer
94 views

Which three points to use to calculate a frustum plane?

So I have a view frustum I'm going to be using for frustum culling. I have a method that finds the cross-product of three points but since each side of the frustum has four corners I don't know which ...
0
votes
1answer
138 views

Frustum culling only working at certain angles

So how I'm doing this is a little sketchy but I plan on changing it to either AABBs or spheres once I get it working. So the problem I'm having right now is that the frustum culling I've implemented ...
1
vote
1answer
123 views

Partial mesh culling by checking against the AABB-tree of objects vertices instead of only the AABB of the whole objects

First thing: this is more of a conceptual question than an implementation oriented one, but still tips about implementation will be very much welcome if you happen to have any (athough I have some ...
2
votes
2answers
522 views

Clip shadow frustum to scene bounds

I have a global light in my scene. It casts shadows using shadow mapping and has an associated camera (for rendering to the shadow map). I'm going to refer to it as my "shadow camera" from now on. I ...
1
vote
1answer
153 views

How to only render fragments with Z from 0 to 1 in OpenGL?

I have been using OpenGL for a year now, but I just recently found out that OpenGL only clips vertices when the absolute value of the x,y or z coordinate is less than the absolute value of w ...
0
votes
1answer
161 views

View frustrum culling

I have a model structured like this: 1. Root model 1.1.Child model 1 1.2 Child model 2 1.3 Child model 3 1.4 ..... The model in question ...
1
vote
1answer
1k views

Fast exact frustum culling for sphere

Given a view frustum and a sphere, how do I exactly determine whether or not the sphere intersects the frustum? The typical way of checking a sphere against a frustum finds the signed distance of the ...
1
vote
1answer
340 views

How do I construct the planes for my camera's frustum?

I'm trying to get a handle on frustum culling, but I'm not quite there yet. I have a camera in three-dimensional space ...
2
votes
1answer
93 views

Rendering a mesh in image viewport

I have a mesh made of nearly half to a one million vertices. I also have some 6-DoF camera poses around this mesh. At these poses I'd like to find out which of the 3D points of this mesh get projected ...
2
votes
2answers
554 views

Determine percentage of screen covered by an object without using frustum culling

On the CPU-side of an 3D first-person / ego perspective game I need to check whether what the players currently sees on screen is the inside of a box object defined by world space coordinates (the ...
1
vote
1answer
300 views

Frustum culling vs draw calls

In a more performance-sensitive environment than a desktop CPU/GPU (namely a mobile device) is there really a point in determining whether or not to skip drawing non-visible objects vs reducing the ...
2
votes
2answers
1k views

Frustum culling based on MVP matrix?

Tutorials on the internet usually say to extract plane data from MVP (model view projection) matrix (or VP?) and then test the bouding volume against each of the frustum planes. I've thought of a ...
0
votes
1answer
485 views

Frustum culling + instancing

I've implemented instancing in my app and right now I have an instance buffer holding position data for all instances. But I'd like to also implement ...