Aurigma Forums
»
Legacy Products
»
Archive
»
Other Products
»
Rendering a ImagePattern/Texture on the selected portion on the Image of any shape
Rank: Member
Groups: Member
Joined: 3/27/2005(UTC) Posts: 16
|
Hello :D Say, I have loaded image of the House in the graphics mill component. And I select the floor by making polygonic region on the floor. Here I select another texture or image pattern of small size (for eg:- a picture of the flower, small size) and i want to see this flower to be rendered on the selected portion of the image (i.e floor). What I am trying to say is that, if the floor is cream color and I render a image of flower, its like seeing the floor with the image of the flower. It will give a brief idea of the floor how it looks if this flower is used as DESIGNER TILE. So its like getting the imaginary idea before changing the real cream colored floor to this new flowery look. (H) Ok, hope to see some idea how to do this with gm2.0 api. Many Thanks. |
With Regards, Raghavendra Mudugal
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration Joined: 8/2/2003(UTC) Posts: 876
Thanks: 2 times Was thanked: 27 time(s) in 27 post(s)
|
Hello Raghavendra, I have modified the ]polygon rubberband code sample (View post). Now you can: - Load the image.
- Make a polygon selection.
- Apply recoloring or draw the pattern.
From the code you can specify the path to the pattern image and specify overall transparency. I have attached full VB6 project. Hope this helps.
|
|
|
|
Aurigma Forums
»
Legacy Products
»
Archive
»
Other Products
»
Rendering a ImagePattern/Texture on the selected portion on the Image of any shape
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.