Problem with billboard or Imposter
by Sebastian Zegers · in Artist Corner · 02/17/2010 (11:40 am) · 2 replies
Hello, I am modeling trees , and was going ok until I import the model to torque, the model have two LODs that work find, but when I use the tool to generate billboards in torque, the collision mesh is disable or take place of the LOD 1.
I am doing something wrong? Or torque 1.1 Alpha have some bugs on this issue?
I am uploading the models in 3d Studio 2008, and the DTS whit maps and everything.
http://rapidshare.com/files/351929514/Nothofagus_dombeyi_coihue.rar.html
I am doing something wrong? Or torque 1.1 Alpha have some bugs on this issue?
I am uploading the models in 3d Studio 2008, and the DTS whit maps and everything.
http://rapidshare.com/files/351929514/Nothofagus_dombeyi_coihue.rar.html
About the author
Recent Threads
#2
02/21/2010 (7:40 pm)
@Sebastian: Nice catch! This is a bug in the Shape Editor that occurs when adding an imposter (auto-billboard) to a shape that already contains a collision mesh. The fix is a change to TSShape::addDetail in tsShapeEdit.cpp (add this code to the end of the function):// Fixup objectDetailNum in other detail levels
for (int i = index; i < details.size(); i++)
{
if ((details[i].subShapeNum >= 0) &&
((subShapeNum == -1) || (details[i].subShapeNum == subShapeNum)))
details[i].objectDetailNum++;
}
Torque Owner Ivan Mandzhukov
Liman3D