• I have a question concerning 3d stuff
    6 replies, posted
So my question is, [url]removed[/url] If you look at this and you click on the youtube link on the bottom and you skip to the moment when it is "drawing" a 3d box at the position he gived the script. How did he draw it? Was it 3d2dcam or what ever its called or was it a entity with some code to outline it. Maybe its a stoopid question but I want to know that! Thanks for the answers :) [editline]18th February 2017[/editline] Well down at the bottom is a picture that one is explaining my question too. The one with the ballons [editline]18th February 2017[/editline] Heres the link [url]http://vhs7.tv/share/2016-01-30_00004.jpg[/url] [editline]18th February 2017[/editline] To keep it short, how did he make that 3d box?
There's a few different ways, but probably [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/render/DrawBeam]render.DrawBeam[/url]
ty [editline]18th February 2017[/editline] are there any other methods?
Yes
yes there are
From what I can see he used render.DrawBeam as stated above. Take that and use the PostDrawTranslucentRenderables hook to draw it.
Thanks
Sorry, you need to Log In to post a reply to this thread.