amikonst Posted May 26, 2014 Share Posted May 26, 2014 Good afternoon. I apologize for my bad English) Statement of the problem. There is an object, the coating which has an irregular shape and can take values 100500. Many objects and each not like each other. desired solution.Loaded edge of the object is selected texture, texture fills selected object to the meeting with an outline. Manually upload the finished image is not an option Thanks in advance, friends! Quote Link to comment Share on other sites More sharing options...
amikonst Posted May 29, 2014 Author Share Posted May 29, 2014 up Quote Link to comment Share on other sites More sharing options...
d13 Posted May 29, 2014 Share Posted May 29, 2014 Could you use a mask? http://www.goodboydigital.com/pixi-js-brings-canvas-and-webgl-masking/ Quote Link to comment Share on other sites More sharing options...
MajorMilizii Posted June 2, 2014 Share Posted June 2, 2014 Could you use a mask? http://www.goodboydigital.com/pixi-js-brings-canvas-and-webgl-masking/In some browsers mask can not working. Quote Link to comment Share on other sites More sharing options...
hubert Posted June 2, 2014 Share Posted June 2, 2014 Do you want to highlight the object with the contour or what is the effect that you want to achieve?! Please add a screen explaining what would you like it to look like! http://www.sevenative.com Quote Link to comment Share on other sites More sharing options...
amikonst Posted June 3, 2014 Author Share Posted June 3, 2014 1. I load the outline of the shape (eg, semi-transparent image with lines) 2. Opt texture (any picture) 3. Opt for any point in the center of the figure 4. Implemented filling texture inside figure Quote Link to comment Share on other sites More sharing options...
amikonst Posted June 3, 2014 Author Share Posted June 3, 2014 figure has not the right shape is a closed curve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.