POV-Ray : Newsgroups : povray.newusers : Smooth blending of two or more materials via bitmap mask(s) : Re: Smooth blending of two or more materials via bitmap mask(s) Server Time
29 Jul 2024 06:28:06 EDT (-0400)
  Re: Smooth blending of two or more materials via bitmap mask(s)  
From: PM 2Ring
Date: 6 May 2006 14:45:00
Message: <web.445ceda2965bd4271bd1c060@news.povray.org>
"motorsep" <nomail@nomail> wrote:
> Let's say I have base metal material, displacement image (lettering that has
> to be embossed) and 3 layers of rust. All of that has to be blended together
> via image masks I am going to create in GIMP.
> I have tried to experiment with material maps, but I get really weird
> results :(
> I don't get smooth transition between materials.

No, you won't generally get smooth transition between materials using
material maps. What you really want to use here is a texture_map. See
'3.5.5.1  Texture Maps' in the POV 3.6 docs. Using a texture_map, you can
get smooth or sharp transitions between textures.

Why do you want to use a displacement map for the text, rather than a POV
text object? Is the text distorted by the corrosion? Will you do the
displacement using a heightfield, a mesh, an isosurface, or just fake it
with normals? Decisions, decisions! :) Since you're new to POV, I'd suggest
using a heightfield or mesh, if the native text object isn't suitable.

Good luck with the rust. It can be very hard to get it to look right, but
there are a few rust experts around here, with great examples posted last
year. Just scan back through the 'images' group for pics and code.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.