Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  152 Posts | 0 Stories | 2310 Comments | 653 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

Graphics

If you are programmatically assigning an image as a DiffuseMaterial to your 3D model, then you need to make sure that you have created TextureCoordinates. I was using some sample code that created a 3D object - and tried to change the brush from a color to an image. The color worked fine, but the image never showed (it was invisible). The reason was that the sample code only did mesh.Positions.Add() and mesh.TriangleIndicies.Add(). When I added the appropriate mesh.TextureCoordinates.Add() lines...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

This post will explain how to do fading (fade out a layer) in Gimp. Assuming you have an image open... Add a new layer Draw the part you want faded Right click on the layer in the Layers panel/window and select 'Add Layer Mask', then click on Add on the Add Layer Mask dialog (making sure the default value of 'White (full opacity)' is selected). Select the Blend/Gradient tool and set the Gradient to 'FG to GB(RGB)' . On the layer click and drag a line where you want the gradient (fade) to start and...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Open your image. Select the area you want to make transparent. Select the appropriate selection tool from the Tool window or the Tools - Selection Tools menu on the Layer window. I usually use the magic wand/fuzzy select (Select contiguous region) tool or the Select regions by color tool. Click in the region you want selected. Use shift-click to add more regions/colors. Tip: It's easier if you zoom in (View - Zoom menu) to see finer details of exactly what you're selecting. In the Layer window (the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati