Visualize Vectors
by Tom \"epicglottis\" MacGregor · in Torque Game Engine · 01/31/2007 (3:42 pm) · 2 replies
The teacher of my class wants us to play around with vectors using TGE. He would like us to be able to visualize the vectors we are creating in game.
How would one display in-game the vectors (and the result of combining vectors)?
Rendered lines from below is what we're looking for:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10991
Any help or points to something similar would be great.
How would one display in-game the vectors (and the result of combining vectors)?
Rendered lines from below is what we're looking for:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10991
Any help or points to something similar would be great.
#2
You could look at some of the debug rendering stuff for drawing WireCube (SceneObject I think has this method) and use a similar technique.
02/07/2007 (10:08 pm)
You are going to need to use OpenGL calls for this, as Torque doesn't have any way of rendering pure render lines as objects.You could look at some of the debug rendering stuff for drawing WireCube (SceneObject I think has this method) and use a similar technique.
Torque Owner Lee Latham
Default Studio Name
Sounds like a fun project!