Game Development Community

What does SceneState::buildTranslucentBSP do?

by Tom Spilman · in Torque Game Engine · 12/30/2004 (8:19 pm) · 5 replies

Could some one clue me into what SceneState::buildTranslucentBSP does?

About the author

Tom is a programmer and co-owner of Sickhead Games, LLC.


#1
12/30/2004 (8:38 pm)
It sorts the various transparent objects registered as Planes, by the process of building a BSP. This is used to classify the Point images.
#2
12/30/2004 (9:11 pm)
I guess this is used for sorting groups of objects and such correct? Not for lets say each plane of a tree billboard or each *individual* particle correct?
#3
12/30/2004 (9:17 pm)
I'm asking because i'm considering rendering all the nodes of an interior with a transparent material into another RenderImage. If it's ok to have alot (around 30 or so) then *maybe* render image can be used to sort individual transparent interior nodes. But it sounds like it would be a gross hack as i think about it.
#4
12/31/2004 (9:44 am)
It sorts RenderImages; each object is responsible for any intra-object sorting. Pretty heinous, eh? This is why one of the things on the back burner is to get a new scene graph. :)
#5
12/31/2004 (10:10 am)
Well the naming threw me off, but really it doesn't seem like that bad of a concept to me coming from the scene graph centeric world of NDL.