Hi,
Fantastic! great examples thank you for that.
There is a couple of things I am a little confused about;
Within the v1 model :
"ChimneyShape -->
case p(perShapeChimneyProbability) :
scatter(surface, 1, uniform){PutChimney}
else :
NIL
PutChimney -->
alignScopeToAxes(y)
s(chimneyDimXZ, chimneyDimY, chimneyDimXZ)
center(xz)
i("builtin:cube")
Chimney."
and within the v2 model :
RoofBase -->
convexify() # may be a weird shape, so convexify it
comp(f) { all : alignScopeToGeometry(yUp, 0, longest) PotentialRoofTopBase } # align scope.sx to the longest edge
PotentialRoofTopBase -->
case scope.sx < chimneyDist / 2 : # delete short polygons.
NIL
else :
RoofDistribution
I am not entirely sure what these part of the rules are doing to the model?
Also I am a little confused as to what the floating red shapes above the roof is. Am I right in assuming that these are a by-product of the model? and is there any way that I can remove them?
Thanks again,
Jamie