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 … 10 11 12 13 14 … 18 Next »
Polygon Help needed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Polygon Help needed
08-12-2015, 06:41 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Polygon Help needed
Well first of all, render.createPoly is not something you need to or should be using. It's a leftover from old and bad code that was over paranoid with polygons.

All you need for a polygon is a table like this:
{
{ x = 0, y = 0, u = 0, v = 0 },
{ x = 10, y = 0, u = 1, v = 0 },
{ x = 10, y = 10, u = 1, v = 1 },
{ x = 0, y = 10, u = 0, v = 1 }
}

Compose it however you want. If you want lines to go around the outside, then you just have to connect the dots between your polygon vertices.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Polygon Help needed - by Destiny's Player - 08-12-2015, 06:21 PM
RE: Polygon Help needed - by Person8880 - 08-12-2015, 06:41 PM
RE: Polygon Help needed - by Destiny's Player - 08-12-2015, 07:16 PM

  • 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.