Game Development Community

Bad transcluent sortType...

by Radoslaw Marcin Kurczewski · in Torque Game Engine · 05/27/2003 (2:01 am) · 3 replies

Hi,

When I start game in debug mode, I get a message: "Error, bad transcluent sortType" for my vehicle object.
I know it's called by AssertFatal but I would like to know what is the reason of such an error?

Any suggestions?

Greetings

Ania

#1
05/27/2005 (9:33 am)
Uhm, just noticed that I'm getting the same error. Any ideas on where to begin debugging this?

Not to mention I think there's a typo in the error message... isn't it supposed to be translucent instead of transcluent?
#2
05/27/2005 (9:53 am)
Well, maybe you should use the debugger to see what type of sorting is being used? It looks to me like an enum is being tested but isn't coming up as one of the valid values.
#3
05/27/2005 (10:25 am)
In engine/sceneGraph/sceneState.cc::insertRenderImage() there is a test for SceneRenderImage::Plane, SceneRenderImage::Point and SceneRenderImage::BeginSort yet a grep of the engine tree reveals ::Normal, ::Terrain, ::Sky and ::EndSort. Am I missing something or should all these states be tested for within insertRenderImage()?

Edit: problem solved :) bad type.