Game Development Community

[BUG 1.1B] GuiGraphCtrl - LOGGED

by Jameson Bennett · in Torque 3D Professional · 04/22/2010 (4:55 am) · 3 replies

The GuiGraphCtrl has some issues with rendering:
Will not work as a child control, it does not take parent offset into account (basically will draw outside the rect... needs offset.x and y added in).

Uses the control's extent.x rather than maxdatapoints to loop. If the extent.x is made wider than the maxdatapoints it will assertfatal (at least it catches it). It should use maxdatapoints and then normalize to the controls extent to determine the point x positions.

The netgraph works fine, but it looks like when the ctrl was ported, it was only checked against this and no other cases.

I have fixed it for my own special case needs but basically needed a re-write. If I eventually get to cleaning it up I'll post the reworked render function.

#1
07/19/2010 (5:40 pm)
seriously, there is a bug... you should log it.

really. no joke.

wouldn't it be awesome if this were fixed and t3d could draw pretty graphs for all sorts of stuff, not just the net data?

bumps.
#2
08/02/2010 (12:27 am)
Just started documenting this class for the manual...not fun. I'll check to see if the Jira ticket has been logged for the bug yet, if not I will log it.
#3
08/20/2010 (9:49 pm)
Logged as TQA-840