Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Is 'texture mapping' possible on Painter?
Is 'texture mapping' possible on Painter? [message #52982] Tue, 28 January 2020 15:32 Go to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

I would like to 'texture map' an image in a shape of a sector or fan. Is this possible in Painter, like it is in OpenGL using a triangle fan?

(I.e. by defining the center, radius and starting and ending angles of a sector and then fill the area with an Image having its top edge touching the center point and its lower edge touching the arc defined by the radius, stretching out between the starting and ending angles.)

I would like to avoid using OpenGL in this project, partly because this is "just a simple" 2D mapping. However, rendering speed may be a factor here as the data is updated quite frequently.

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Remove the transparent area around the image (sprite optimization)
Next Topic: Another BufferPainter optimization
Goto Forum:
  


Current Time: Wed Apr 24 02:06:49 CEST 2024

Total time taken to generate the page: 0.02626 seconds