Sign in to follow this  
On Rye

Rice Texture Help - Random Rotation on Pattern Fill?

Recommended Posts

Hello. I'm trying to make a rice texture for a 3D model of a rice ball in Gimp. There's a pattern fill option, but I was wondering if I could apply random rotation to this. I've made a single rice grain, and I want to fill a 500x500 image with random rotations of it. I tried googling this, but I haven't found much because I don't know what the correct term is. Do you have any ideas for accomplishing such a task? If all else fails, I can manually paste and rotate the single rice grain hundreds of times. I was wondering if there's a more efficient method. Thanks for reading!

Share this post


Link to post
Share on other sites

First of all, I have GIMP version 2.8.6; something similar might be available in other versions, but I don't have confirmation of that.

 

That said, one way of doing it, I believe:

  • Create or select a new brush using the relevant image; the "clipboard" brush might be a good choice for your purposes (simply copy your image to the clipboard and it should be available in that brush).
  • Next, if you don't have an editable dynamics preset, create one: open the "Paint Dynamics" window (I got there in a quick check by clicking on the button to the left of the "Dynamics" section of the tool options for the "Paintbrush" tool, and then pressing the bottom-right button in the menu that should pop up) and click on the "add" button--in my version it resembles a page with a plus-sign overlaid on it, and the tool-tip for it reads "Create a new dynamics", I believe.
  • Now open the "Paint Dynamics Editor" window--if you created a new dynamics preset above, then this may have opened automatically; if not, I believe that the button to open it is on the right-hand side of the "Dynamics" section of the tool options for the "Paintbrush" tool--directly opposite the (bigger) button mentioned in the step above.
  • In this window, find the "Angle" row, and the "Random" column; set the indicated check-box.
    • Make any other changes that you may want while you're there.
      • You may want to reduce the spacing of the brush, for one: there may be an easier way, but I think that this can be done by selecting "Spacing" from the drop-down menu just below the name of the preset and creating the desired spacing--I found that assigning the spacing to "Pressure" and creating a low plateau on the graph seemed to work.
  • If your preset isn't selected for the tool, do so.

When you paint with this preset, your image should be given a randomised rotation on each step.

Edited by Thaumaturge

Share this post


Link to post
Share on other sites

First of all, I have GIMP version 2.8.6; something similar might be available in other versions, but I don't have confirmation of that.

 

That said, one way of doing it, I believe:

  • Create or select a new brush using the relevant image; the "clipboard" brush might be a good choice for your purposes (simply copy your image to the clipboard and it should be available in that brush).
  • Next, if you don't have an editable dynamics preset, create one: open the "Paint Dynamics" window (I got there in a quick check by clicking on the button to the left of the "Dynamics" section of the tool options for the "Paintbrush" tool, and then pressing the bottom-right button in the menu that should pop up) and click on the "add" button--in my version it resembles a page with a plus-sign overlaid on it, and the tool-tip for it reads "Create a new dynamics", I believe.
  • Now open the "Paint Dynamics Editor" window--if you created a new dynamics preset above, then this may have opened automatically; if not, I believe that the button to open it is on the right-hand side of the "Dynamics" section of the tool options for the "Paintbrush" tool--directly opposite the (bigger) button mentioned in the step above.
  • In this window, find the "Angle" row, and the "Random" column; set the indicated check-box.
    • Make any other changes that you may want while you're there.
      • You may want to reduce the spacing of the brush, for one: there may be an easier way, but I think that this can be done by selecting "Spacing" from the drop-down menu just below the name of the preset and creating the desired spacing--I found that assigning the spacing to "Pressure" and creating a low plateau on the graph seemed to work.
  • If your preset isn't selected for the tool, do so.

When you paint with this preset, your image should be given a randomised rotation on each step.

 

This works great. Thanks for the tip!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this