Game Development Community

Create DTS object with Torque script?

by Doug Pibal · in Technical Issues · 04/19/2006 (1:31 pm) · 2 replies

I am displaying 3D temperature data using Torque. First I placed different colored DTS objects (from Milkshape) to represent the temperature. Now I'd like to create a translucent surface connecting like temperatures.

Is it possible to create such a surface during runtime using Torque script? I would basically want to specify a bunch of (x,y,z) coordinates and have Torque create a big DTS object (as big as the terrain below) connecting those points. Then I'd have to somehow specify some kind of translucent texture to cover the surface with. I have no idea how to do this.

#1
04/19/2006 (1:47 pm)
Or would DIF be better? (I've never used a DIF, but have just read that DTS objects should not be too big.)
#2
04/19/2006 (2:05 pm)
Im pretty sure thats impossible using only torquescript. I think that would require changes to the source. also, I don't think DIF objects natively support transparency.