Game Development Community

Help rendering a concretePolyList

by Frank Korf · in Torque Game Engine · 04/06/2007 (1:00 pm) · 0 replies

I know that there is a render function in the concretePolyList function. I think I must be using it wrong.

I have grabbed a set of polygons from the terrain using [url="http://www.garagegames.com/mg/forums/result.thread.php?qt=14416"]this method[/url] and [url="http://www.garagegames.com/mg/forums/result.thread.php?qt=8510"]this method[/url].

Then I added a concretePolyList to a [url="http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3217"]fxRenderObject[/url]

I added the concretePolyList.render() function to the fxRenderObject.renderObject() function. The fxRenderObject appears, but the poly list does not. I have used the console to verify that the there are polygons in the poly list, and that the concretePolyList.render() function is being called. I have also tried moving the fxRenderObject around to make sure the poly list is not being drawn under the terrain.

I am stuck. Why can't I see the polygons on the screen? Thanks in advance