Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Weird lines in middle of TriangleFan  (Read 1045 times)

0 Members and 1 Guest are viewing this topic.

Doodlemeat

  • Guest
Weird lines in middle of TriangleFan
« on: February 16, 2014, 12:31:50 pm »
Hello.
I´m creating a 2d vision field that originates from this: http://www.redblobgames.com/
But I have a few problems now when I draw them. This is because I use sf::Primitive::TriangleFan i think. But I dont know how to get rid of these irritating lines.



My code is to be found here:
https://github.com/doodlemeat/ProjectTerminal
https://github.com/doodlemeat/ProjectTerminal/blob/master/Stealth/LightEngine.cpp

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Weird lines in middle of TriangleFan
« Reply #1 on: February 16, 2014, 01:45:22 pm »
If it is an issue with a triangle fan array you should be able to easily write a complete and minimal example.
« Last Edit: February 16, 2014, 02:15:04 pm by zsbzsb »
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

 

anything