|
|
G'day folks,
My first post here to the POV-Ray groups, so I'll try
not to make a mess :] (I hope my identity info shows
up properly.)
I am attempting to create a texture that resembles cast
aluminum, or any cast surface in general. To do this
I decided to make a variation of the Brushed_Aluminum
texture provided in the TEXTURES.INC file with 3.1g
(NT version). For reference, that texture is as
follows:
// Brushed aluminum (brushed along X axis)
#declare Brushed_Aluminum =
texture {
Chrome_Metal
normal {
bumps -0.5
scale <1, 0.001, 0.001>
}
}
It just scales BUMPS to produce streaks. Along similar
lines, I decided to scale the same in all 3 directions
(as opposed to just 2) to produce "speckles" that would
look like a cast surface. This worked pretty well at
first. I then began defining a variety of cast aluminum
textures of varying quality surface finishes by modifying
the scale and/or BUMPS settings.
When I first applied this to a larger model (about 400 units
long or so), the texture made a "patch quilt" appearance
on a macro scale. There were very clearly defined square
patches on the model. Each patch had different looking
versions of this texture. Only one patch seemed to resemble
the textures I'd tested on smaller models. The other patches
presented progressively worse versions of the texture, some
so bad that the model was so fuzzy that the model detail could
no longer be determined.
Experimenting a little more I discoved that the larger the
scale numbers used, this problem improved, eventually to the
point where I no longer had these large patches. However
at those large scale settings, the bumps were so large that
my model no longer looked anything like cast aluminum but
more like an aluminum orange peel :] Conversely the smaller
the scale numbers, the more problems I had.
1) Has anyone experienced anything like this before with
textures?
2) What may be a better way to do this, or otherwise work
around this problem?
Here's my current theory on the problem. A bump scaled as 1
would have roughly one 3-D bump texture feature within a
1x1x1 cube. By using values like 0.001 for scaling, that
unit cube would now contain 1000^3 = 1 billion(!) 3-D bump
texture features. Even ignoring the 3-D aspect of the textures
and just considering a model face, I've still replaced 1 bump
with 1 million bumps. Added up over the entire part that
becomes a very high number of bumps! With the "high quality"
surface finish casting texture I tried to create, I was using
scale values down to at least 0.0001. That would put 1 trillion
bumps into a unit cube, and so a staggering number into my model.
Could this somehow be causing POV-Ray processing problems
during render?
Thanx,
KDJ
P.S., I can provide a copy of my messed up files if anyone
wants to experiment with it, or a picture of the finished
render.
Post a reply to this message
|
|