Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualYura

Posted 09 January 2013 - 07:26 AM

I have VertexBuffer filled with points (position and color).
Determining table is a good idea, but how to implement it to primitive? To many primitives - possible, but how to fill one (or two, as in picture) triangles with so much colors?
1 rectangle = 2 triangles

#1Yura

Posted 03 January 2013 - 03:10 AM

I do not use textures, only primitives. I have VertexBuffer filled with points (position and color). 
Determining table is a good idea, but how to implement it to primitive? To many primitives - possible, but how to fill one (or two, as in picture) triangles with so much colors?
1 rectangle = 2 triangles

PARTNERS