|
 |
Thanks for the comments.
Hugo wrote:
>But I don't understand all of the code.. Square roots for example..
>What are they used for?? Sorry I had to ask.
The ideal function (i.e. it gives short render time) is the
function which has constant gradient.
So, for example, sqrt(x^2+y^2+z^2) is better than x^2+y^2+z^2.
Bryan Valencia wote:
>Let's say I was going to do a whole warehouse of those containers... maybe
12,000 of them.
>What is the most efficient way to replicate them? Is there a way to make
it reside in memory once?
Isosurface doesn't consume memory so much. 12,000 of isosurfaces would be
ok for normal PC.
bob.h worte:
>The snowflake and wireframe box ones are great, I like those most.
I noticed that the snowflake does not work on beta 8.
Use following function for beta 8.
#declare Func1=function(x,y,z){
min(min(f_rounded_box(GX(x,y,z)*1, GY(x,y,z), z, 0.1,0.8,0.1,0.1)
, f_rounded_box(GX(x,y,z)-GY(x,y,z)*0.5-.5, .2-GL(x,y,z),z,
0.1,0.1,0.1,0.1)
), f_rounded_box(GX(x,y,z)-.4, .2-GL(x,y,z), z, 0.1, 0.1, 0.2, 0.1) )
}
>Hopefully these all tile onto planes as well.
It's easy. Use following isosurface.
isosurface{
function{Func1(x,y,z)}
contained_by{box{<-S_W,-S_H,-S_R>,
<+S_W, S_H,+S_R>}}
max_gradient MAXG
}
R. Suzuki
Post a reply to this message
|
 |