Jump to content

How far away ..


Alienhead
 Share

Go to solution Solved by Josh,

Recommended Posts

is culling? I have an idea I think I'd like to implement but if your already working on something then I'd think I'd like to not spend time on it.  I was going to work on a homemade raytrace system to cull interiors and anything not in the cameras fustrum. 

How prefomance rated would a cube casting anywhere from 300 to 500 rays per loop ?

 

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

  • Solution

I plan to add occluders before the full release. These are just a brush shape that blocks everything behind them, using the edges to project planes away from the camera, forming a volume that can be tested. It will be rough, but occlusion culling only needs to block big sections of the scene, you don't need to worry about every little room.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Okay so your planned system will cull objects sitting behind objects.. sitting behind objects?  I only as because Im designing my maps now and i dont want to go back over them in the future to adjust to a new culling system.

 

Thanks.

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

It will work like this. The occluder is shown in blue, and it just blocks anything within its "shadow", from the view of the camera.

image.png.bac820d6dad75ff194bd5b25a5e98413.png

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...