SFML community forums
General => Feature requests => Topic started by: Caspin on March 07, 2008, 07:27:28 am
-
I'm really impressed with the API to draw primitives. Well, done.
I know it's experimental but the primitives would be of much more useful to me if I could specify an image and image coordinates with each point instead of colors. I'm requesting a extension the current API doesn't need to change.
My particular problem is I need to draw several triangles from a tessellated polygon. With the current API I have supreme control over the color but I can't use images to color the triangles.
-caspin
PS: it posted a similar comment in the thread about the new primitives API.
-
I'm really impressed with the API to draw primitives. Well, done.
Thanks you :)
I know it's experimental but the primitives would be of much more useful to me if I could specify an image and image coordinates with each point instead of colors.
I already though about it before writing the current class. I didn't add it in this version to keep it simple and see what users really need ; however it could be part of a future version.
I think it wouldn't require much modifications.
PS: it posted a similar comment in the thread about the new primitives API.
I've removed it, there's no need to split the discussion in 2 separate threads ;)