| 158 | } |
| 159 | |
| 160 | float eval(float x, float y, float z) { |
| 161 | const float scale = 1.0f/4.3f; |
| 162 | return 0.06f * density1(x/96, y/96, z/48) |
| 163 | + 0.12f * density2(x/24, y/24, z/12) |
| 164 | + apow(shape(x*scale, y*scale, z*scale), 0.1f); |
| 165 | } |
| 166 | |
| 167 | t_range range() { return t_range(-0.18f,1.18f); } |
| 168 | }; |