Game Development Community

DTS Object visible mesh detection

by Ronald J Nelson · in Torque Game Engine · 09/19/2006 (10:19 pm) · 1 replies

I need to find out how to detect a DTS objects visible mesh instead of getting the collision mesh for a couple of purposes.

1. To actually apply decals on the visible mesh itself.

2. To get material details from the visible mesh.

While I am sure this is something several people have wanted for sometime now, as far as I know only a few have successfully implemented this. I have seen the folks at Synapse Gaming have done this in Extreme Kork Paintball www.garagegames.com/blogs/21036/10907, however they are still deciding on whether or not to release it.

I am just trying to figure out a way to cast a ray at a DTS object and ignore the collision mesh so that the visible mesh can be accessed. I am hoping one of you has either done this and is willing to share, or has a good idea on how to implement this.

While yes, I am asking this primarily for myself and my project, but I can certainly see how such a thing would be a resource as valuable as adding TLK itself. I am willing to pay for the work if need be. It is just that I have a lot of work and this one point is a huge part of my game and I am having a great deal of trouble getting the job done.

#1
01/07/2007 (3:41 am)
While I see that the polysoup method designed be Tom Spilman and Ben Garney works really good on DTS obejcts that are static, I also need a method to do this to those that are not static.

Since I am not sure how John Kabus and his team did it in their DTS paint code, I cannot even tell for sure if it would actually meet my needs. I really just wanted to see how he got it to detect what point of the visible surface to dynamically paint decals on to the object and if it is a method that would work for what I need.

Does anyone else have a working method for detecting the visible surface on a DTS object that can be used for players and vehicles, not just static shapes? I have been working at this for months now with very little success and hope someone else out there can share a bit of insight.