Hard Light Productions Forums

Modding, Mission Design, and Coding => The Scripting Workshop => Topic started by: Einstine909 on July 28, 2010, 01:13:37 pm

Title: RTT for Cockpit Hud
Post by: Einstine909 on July 28, 2010, 01:13:37 pm
Is the Render to Texture feature usable? I have been following Nuke here: http://www.hard-light.net/forums/index.php?topic=52142.0 and it seems that there are some major bugs in RTT. Is there some info that I am missing? I would like to continue work on my cockpit http://www.hard-light.net/forums/index.php?topic=50349.msg1259218#msg1259218 but I don't know what is required to use RTT or how to script it. Any advice would be very useful.
Title: Re: RTT for Cockpit Hud
Post by: The E on July 28, 2010, 01:26:07 pm
All advice I can give you is that RTT as currently implemented is horrendously expensive in terms of performance.
Title: Re: RTT for Cockpit Hud
Post by: Aardwolf on July 28, 2010, 01:36:52 pm
Go ask Nuke, he probably knows. Also I think he uploaded his scripts somewhere recently.
Title: Re: RTT for Cockpit Hud
Post by: Nuke on July 28, 2010, 04:59:08 pm
yea heres how to get what ive done so far:

http://www.hard-light.net/forums/index.php?topic=69358.0

rtt is somewhat slow. of course im kinda using it with renderFrame() to have camera views (turret cam, zoom cam, rearview cam, etc). now if all youre doing is rendering gauges/radars, it might be much much faster.