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 … 14 15 16 17 18 Next »
Something fishy [BUG]
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Something fishy [BUG]
25-11-2014, 07:12 PM,
#5
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Something fishy [BUG]
All RenderLib.vertex is doing is making a table with x, y, u and v values (in your case u and v are 0 in all of them).

As for the problem, the vertices are in the wrong order. Go round the shape clockwise starting at the top left, so:

{
render.vertex( 124, 9 ),
render.vertex( 154, 9 ),
render.vertex( 142, 21 ),
render.vertex( 112, 21 )
}
Haven't tested but should work. Basically order is important when drawing.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Something fishy [BUG] - by LocInt - 23-11-2014, 01:27 PM
RE: Something fishy [BUG] - by Person8880 - 23-11-2014, 03:49 PM
RE: Something fishy [BUG] - by LocInt - 23-11-2014, 03:56 PM
RE: Something fishy [BUG] - by LocInt - 25-11-2014, 02:34 PM
RE: Something fishy [BUG] - by Person8880 - 25-11-2014, 07:12 PM
RE: Something fishy [BUG] - by LocInt - 26-11-2014, 09:55 AM
RE: Something fishy [BUG] - by Person8880 - 26-11-2014, 07:02 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.