Game Development Community

Shape visible in editor but not in scene (Solved)

by Nils Eikelenboom · in Torque 3D Professional · 10/01/2012 (11:00 pm) · 11 replies

i-dropper.net/torque/KamazNotrendering.jpg
.
I have a shape here that renders correctly in the shape editor but not in the scene (as a static). Anybody a clue what might be wrong with this one?

#1
10/02/2012 (12:03 am)
You are sure that isRenderEnabled is set to true and it is not hidden?
#2
10/02/2012 (12:13 am)
@Lukas, Thanks for the reply!

Yes I'm sure, 'isRenderEnable' is true and 'hidden' is false. That's why I'm a bit puzzled with this one. All other meshes such as the tires for this truck work fine; while using the same tooling, file format and export settings (Open Collada).
#3
10/02/2012 (12:50 am)
i-dropper.net/torque/KamazNotrendering2.jpg
.
In the scene...
#4
10/02/2012 (2:52 am)
is collision working with that invisible truck?

did u try with different properties of advanced(all layers) in material editor?
#5
10/02/2012 (4:09 am)
Pretty slick scene!
But quite a peculiar bug.. I'm pretty blank on this one!
#6
10/02/2012 (8:40 am)
Thanks @Ahsan, @Lukas!

Collision is not working. Broke down the node structure to the most basic one with just one mesh with one texture (mesh color, no maps, no layers)... still nothing. Even tested it in 1.1 and 1.2

The shape in total is pretty big; 14k polys; could this be the problem?
#7
10/02/2012 (10:44 am)
All I can guess is that it is using the collision mesh for rendering or it is getting stupid with 14K polys.
#8
10/02/2012 (7:44 pm)
Collision mesh has the detail level size of -1
Reduced the polycount to a 10k (including LODs); still nothing
#9
10/03/2012 (4:36 am)
I had a similar problem with a low poly object (less than 500 polys) some time ago, if I remember correctly it was a LOD error

I ended up using www.deadlyassets.com\max2dtsExporters_fixedLOD_DTSv24_100MaxDetails_9_2009_2010_...

I'm sure this worked for me in 3DSMax
#10
10/04/2012 (12:58 am)
SOLVED! It maybe had something to do with the UWV mapping. After adding 'unwrap UWV' to the stack in Max and converted it to a mesh again the truck became finally visible in the scene.

Thanks @David! I'll use that if these problems occur with DTS objects. In this case (Characters, Vehicles, Trees etc.) I want to stick with Collada.
#11
10/04/2012 (6:56 am)
i-dropper.net/torque/KamazNotrendering3.jpg
.
The truck ready for driving...