Texture Tutorial

From K-3D

Jump to: navigation, search

How do I texture a scene?

K-3D texture mapping is in its infancy, so we'll texture the easiest object : a rectangle.

Image:Texture-grid1.png

  • Filter it with TextureMap object to create texture coordinates : Filter menu -> Mesh -> TextureMap

(In version 0.5.0.40 this menu does not exist, so I think this tutorial is outdated).

  • Choose +Y Axis (since PolyGrid expands in +Y and +X directions), and choose a New PlanarMap in Mapping Type list.

Image:Texture-grid2.png

Image:Texture-grid3.png

  • Then choose your texture file by clicking on the browse button " ... " :

Image:Texture-grid4.png

  • Edit a surface shader, if you worked with K-3D default document there's one named Surface Shader, and choose k3d_painted_plastic instead of k3d_plastic :
  • Then search for texturename parameter and choose New [[RenderManTextureMap]]; then click on the Input plug and connect it to [[BitmapFileIn]] : output :

Image:Texture-grid5.png

  • Render!

Notes :

  • This process requires the Tiff plugin: it converts all input textures to the Tiff format which is understood by common RenderMan engines.
  • Above instructions yield the following Visualization Pipeline:

Image:Texture-grid6.png

Personal tools