Drawing 3D Primitives at run-time using Torque Script
by Juggernaut · in Torque 3D Beginner · 11/26/2012 (10:20 am) · 3 replies
Hello,
Is there a way to create 3D primitives like - cube, cone, cylinder, torus, plane by using the torque script ?
If so where is the documentation for that ?
Thanks,
Is there a way to create 3D primitives like - cube, cone, cylinder, torus, plane by using the torque script ?
If so where is the documentation for that ?
Thanks,
About the author
#2
This link should get you started in the right direction:
www.gamedev.net/topic/418772-how-do-i-draw-primitive-shapes-using-c/
11/26/2012 (7:58 pm)
I remember some C code from back in the day that would make primitive shapes, so I did a Google search for it. Seems that code still exists out there on the Internet. Your going to need to work in the OpenGL API along with some sample code to test with. You can work out the details to add it to your engine.This link should get you started in the right direction:
www.gamedev.net/topic/418772-how-do-i-draw-primitive-shapes-using-c/
#3
12/07/2012 (3:01 am)
Thanks Scott and Lukas
Torque Owner Lukas Joergensen
WinterLeaf Entertainment