Author Topic: RTT for Cockpit Hud  (Read 1579 times)

0 Members and 1 Guest are viewing this topic.

Offline Einstine909

  • 27
  • (-,-) -meh
RTT for Cockpit Hud
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.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: RTT for Cockpit Hud
All advice I can give you is that RTT as currently implemented is horrendously expensive in terms of performance.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Re: RTT for Cockpit Hud
Go ask Nuke, he probably knows. Also I think he uploaded his scripts somewhere recently.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: RTT for Cockpit Hud
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.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN