Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 3 4 5 6 7 … 18 Next »
Line Thickness
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pages (2): 1 2 Next »
Threaded Mode
Line Thickness
31-10-2019, 10:55 PM,
#1
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
Line Thickness
It could be nice for functions like drawLine drawRectOutline drawCircle to have a thickness setting in order to get thicker lines.

If that is possible could it be added onto the server please ?

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
31-10-2019, 11:55 PM,
#2
Red The Blue Color Offline
TSCM Super Donating Member
****
Posts: 422
Threads: 34
Joined: Feb 2015
RE: Line Thickness
You could use drawRect for thicker lines, or draw multiple lines, and you can draw smaller rectangular outlines to make it thicker

"with it's superior software, i have no doubt it will succeed in finding fuck all" - T-17, 2016

[Super Member] [ENCOM] т-ѕсм.Red The Blue Color™: server do you support Hitler?
[Server] srcds_linux: The probabilty is about 99.99%, so interpret that how you want to.
Find
Reply
01-11-2019, 12:03 AM,
#3
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: Line Thickness
(31-10-2019, 11:55 PM)Red The Blue Color Wrote: You could use drawRect for thicker lines, or draw multiple lines, and you can draw smaller rectangular outlines to make it thicker

Indeed but that would always be useful to have it integrated into the original functions themselves.

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
01-11-2019, 06:25 AM,
#4
mariofludd Offline
Novaaaaaaaaaaaaa
****
Posts: 528
Threads: 44
Joined: Dec 2013
RE: Line Thickness
e2hasthishaha

[Image: efN9HsZ.png]
Find
Reply
14-11-2019, 07:00 PM,
#5
TheEnigma Offline
FGL Member #001
****
Posts: 82
Threads: 31
Joined: Nov 2016
RE: Line Thickness
i mean it'd be nice for the custom functions to be there for e2

[Image: 207802.jpg]
Find
Reply
14-11-2019, 07:18 PM,
#6
mariofludd Offline
Novaaaaaaaaaaaaa
****
Posts: 528
Threads: 44
Joined: Dec 2013
RE: Line Thickness
E2 has this, the function is setting the size of said thing, I'm not sure how SF handles screens, but E2 it's something like egpSize() iirc

[Image: efN9HsZ.png]
Find
Reply
15-11-2019, 03:50 PM,
#7
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Line Thickness
I've added an optional parameter to:
  • render.drawLine
  • render.drawCircle
  • render.drawRectOutline
to set the width/thickness of the lines used.

Note that it's more costly to draw with thickness > 1, especially for circles. There are more efficient ways to do it than what I've implemented in the standard library so if you want the best performance, you've still got work to do. Smile
Find
Reply
15-11-2019, 04:09 PM,
#8
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: Line Thickness
Le big thank Wink

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
07-12-2019, 05:01 AM,
#9
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: Line Thickness
Just found a bug related to that new feature, when drawing with thickness >1 with circles, they do not render correctly.

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
07-12-2019, 11:17 AM,
#10
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Line Thickness
(07-12-2019, 05:01 AM)The17thDoctor Wrote: Just found a bug related to that new feature, when drawing with thickness >1 with circles, they do not render correctly.
Do you have a screenshot of the problem and/or code to reproduce it? Are you using a different texture to the default?
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.