I'm wondering if it is possible to apply two separate cga rule files to the same layer. Specifically, I have a water layer and I am trying to add this rule to it to animate the water:
attr Rotation = 0
attr Scale = 5
attr Texture = "SeaWater.jpg"
attr SizeX = 100
attr SizeZ = 100
setupProjection(0, scope.xz, SizeX * Scale, SizeZ * Scale)
# This line makes it animate in a web scene.
But then I'm also trying to see if I can add another rule to it as well, that will extrude the water, allowing me to build a basic flooding model. Here is the second rule:
attr ELEVATION = 0
Lot --> extrude(ELEVATION)
If it is not possible to apply both rules separately, does anyone know how I can combine the two into one rule so that I can apply it? Thanks!