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?
Re: Is 'texture mapping' possible on Painter? [message #53003 is a reply to message #52995] Mon, 03 February 2020 10:33 Go to previous messageGo to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi Mirek,

Thanks for the suggestion, but I would really like to do this with Painter only. (Unfortunately, my brain does not have an OpenGL shaders -module installed. Wink)

As the sectors in the fan are really less than one degree wide each, it would not hurt to visualize them as a set of narrow triangular wedges, each showing one pixel wide stripe from the original image. So the pixels in the image would be represented as parallel lines with their length increasing while getting further from the center.

Is there a function inside the Painter that can render an Image in a way that each one of the Image corners will land in independently specified coordinates and everything in between simply gets interpolated evenly therein?

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: Mon May 06 10:25:03 CEST 2024

Total time taken to generate the page: 0.03076 seconds