W3C home > Mailing lists > Public > www-svg@w3.org > June 2000


From: Christian Mayer <Vader@t-online.de>
Date: Wed, 07 Jun 2000 11:16:00 +0200
Message-ID: <393E12D0.E55F2453@christianmayer.de>
To: www-svg@w3.org

I was looking through the SVG-Specs if it would fit my needs for an
open-source project.

What I'm missing is the ability to have a per vertex colouring as you
can do in OpenGL.

OpenGl e.g. lets you write:

glColor3f(r1, g1, b1); glVertex2f(x1, y1);
glColor3f(r2, g2, b2); glVertex2f(x2, y2);
glColor3f(r3, g3, b3); glVertex2f(x3, y3);

and you get a filled triangle (when you've set the correct states, of
course) where every corner has its own colour and the colour inside of
the triangle is smoothly changing.

It would be great if such an ability would be added in future versions
of SVG.

Received on Wednesday, 7 June 2000 05:14:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:48 UTC