Jump to content

Recommended Posts

Posted

Yes, render to texture is possible but not in stock - I've seen at least two different working examples but I don't have time right this moment to search. I suggest googling "torque 3d render to texture" and see what hits you get - I know there were items in the garage games Resources section somewhere and google is better than the old gg forum search.

Posted

No, but that one's cool too - it lets you render "security cameras" on on-object monitors....


I think Robert Fritzen was in on the weapon one - or Az....

Posted

Azaezel's code on the guiDynamicTexture would be a good starting point, just remove/ disable the calls to handle the mouse. Its the most complete resource we have at the moment to do something like this

Posted

this can be done with the guionobject

and not just that, by combining guionobject with fxguisnooper you get security cameras and rtt scopes


the stuff needed for rtt cam/scopes would be this

http://forums.torque3d.org/viewtopic.php?f=26&t=92#p1883


and regarding in model hud, you can read about it in the guionobject thread

http://forums.torque3d.org/viewtopic.php?f=26&t=92


i assume you would want to display the actual ammo of the weapon in the gui that is being rendered on the gun itself, thats doable.

check out Azazezel`s guionobect branch on github

https://github.com/Azaezel/Torque3D/tree/guiOnObject


gl and share how it went.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...