Glass
by Travis Vroman · in General Discussion · 08/02/2002 (10:03 am) · 3 replies
I want to include windows in my dif interiors, I'm using WC 3.3 to make them. I was wondering how to make a transparent texture and then place it into WC to make glassed-in windows that are compatible w/ Torque. Can anybody help me on this?
About the author
Attended the Art Institute of Fort Lauderdale for Video Game Art and Design. Strong background in traditional visual arts. Strong programming skills, particularly in real-time solutions.
#2
Torque does not support transparency for .dif's ... there's a quick code hack, but it has serveral issues.
If you want windows you should make a .dts file containing the glass, and leave a hole open in your dif where you want the glass. Then in the map editor insert the .dts in your .dif
08/16/2002 (12:32 pm)
Do a search on the forums.. it has been said a dozen times before.Torque does not support transparency for .dif's ... there's a quick code hack, but it has serveral issues.
If you want windows you should make a .dts file containing the glass, and leave a hole open in your dif where you want the glass. Then in the map editor insert the .dts in your .dif
#3
08/18/2002 (12:49 pm)
As Ward says the insertion of a dts glass object is the best route to go, also you might consider that if you create a glassdebris.dts, include a damage node on the glass .dts im sure a programer could implement breaking glass through this, another approach could be similary used to create secret access to hidden rooms by using a damage capable dts for part of a wall, it would mean that your building/wc modeler worked closly with your dts modeler and programer. Might be something to think about.
Torque Owner Mike Kloss
http://www.valve-erc.com/resources/?page=tut_glass1
Good luck!