|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
I know there are problems with smooth HF's but now I see troubles with non
smooth HF's too. I haven't found anyone mention it before, though it's
probably a known problem because double_illuminate helps - though doesn't
solve the problem.. The problem arise when a texture has normals:
camera { location -6*z look_at 0 }
light_source { <30,30,-30>,1 }
height_field { function 100,100 { pigment { granite } }
pigment { rgb 1 }
normal { bumps .5 } // Normals activate problem
translate -.5
scale <5, 0.2, 5> rotate -90*x
}
Regards,
Hugo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hmm... What exactly is the problem?
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Hmm... What exactly is the problem?
I suppose you see half the triangles getting black and double_illuminate
changes that.. But I might have forgotten the proper way to scale (?) so it
freaks out.. I made this cut-down version for demonstration purpose, but I
don't think my original file has a scaling problem.. Let me try again asap
.. sorry for the inconvinence.
Regards,
Hugo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I think that part of the problem is that you are not only scaling the
heightfield non-uniformly but also the normal pattern.
This modified version of your scene emphasizes the artifacts (replacing
the heightfield with a box gives what one expects):
camera { location -6*z look_at 0 }
light_source { <30,30,-30>,1 }
height_field { function 20,20 { pigment { granite } }
//box { 0,1
pigment { rgb 1 }
normal { bumps .5 scale .1 } // Normals activate problem
translate -.5
scale <5, 0.001, 5> rotate -90*x
}
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|