Game Development Community

Graphics primitives

by Tetraweb · in Torque Game Builder · 01/02/2007 (7:15 pm) · 4 replies

I know that TGB is a bit overpowered for this, but are there any routines for graphic primitives? Set a pixel, get a pixel color, draw a line, flood fill, etc.?

Thanks,
Greg

#1
01/02/2007 (7:50 pm)
I am reletively new to TGB, but I don't think so..

I really wish there were such function,, especially draw line and stuff.
Line, circle, set pixel would be useful in debugging coordinates and what not.. Maybe next Version?
Speaking of, anyone know when the next version is coming, any other posts I missed...
#2
01/02/2007 (7:54 pm)
There is a resource floating around on this site for adding primitives to TGB. I've used it myself. It worked great in 1.1.2 but haven't tried since then.
#3
01/03/2007 (4:54 am)
It doesn't seem to be supported in 1.1.3 anymore, according to comments. And I don't have the source in any event, so I can't compile it in. Thanks anyway.

Greg
#4
01/03/2007 (9:51 am)
From reading the source, it doesn't seem like it would be impossible to add console functions for GLSetPixel and whatnot -- I just don't know enough about how TGB stores its graphics memory to know how well this would work.

I would love to see this kind of functionality added to TGB.