Hello, the workspace is close to “Creating CityGML Solitary Vegetation Object | Community” but without the issues.
I would like to randomly rotate the instances along the Z axis. Dimensions are set as in the first matrix shown below. When I use the last row to rotate, as shown in the second matrix below, the rotation is ignored and dimensions change. I tried the rotators, and the 3D affiner after defining the matrix to no good results. It seems that CityGML only looks at the transformation matrix. Any advise or workaround to force instance’s rotation is appreciated. I have a random rotation value stored in an attribute brought as an attribute of the location point.
+++++ Matrix withOUT rotation +++++++++++
@Value(width) 0.0 0.0 0.0
0.0 @Value(width2) 0.0 0.0
0.0 0.0 @Value(height) 0.0
0.0 0.0 0.0 1.0
+++++ Matrix “WITH” rotation? +++++++++
@Value(width) 0.0 0.0 0.0
0.0 @Value(width2) 0.0 0.0
0.0 0.0 @Value(height) 0.0
0.0 0.0 0.0 @Value(rotation)
