• 45° "RoundedBox"
    3 replies, posted
Hello FP, I wanted to know how to make those "45°" "rounded(actually cornered)" boxes, like some huds/buttons do, currently I cant give an example, but I hope you get what I mean, I tried doing it with RoundedBoxEx, but with no success..
I'm not sure but you might be able to use model matrices and rotate them. Here's an example of it being used on text: [url]https://www.facepunch.com/threads/1089200?p=32614030&viewfull=1#post32614030[/url] Alternatively you could use a material.
[QUOTE=James xX;48766494]I'm not sure but you might be able to use model matrices and rotate them. Here's an example of it being used on text: [url]https://www.facepunch.com/threads/1089200?p=32614030&viewfull=1#post32614030[/url] Alternatively you could use a material.[/QUOTE] I didn't mean it being rotated, I ment like in this picture I just found: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=524256778[/url]
[QUOTE=whitestar;48767922]I didn't mean it being rotated, I ment like in this picture I just found: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=524256778[/url][/QUOTE] you mean those boxes on the bottom? those aren't rounded boxes at all. the author probably used surface.DrawPoly
Sorry, you need to Log In to post a reply to this thread.