2015-04-20
08:39 AM
- last edited on
2023-05-11
02:08 PM
by
Noemi Balogh
2015-04-21 03:51 PM
2015-04-21 11:48 PM
2015-04-22 11:32 AM - edited 2025-09-23 03:16 PM
OK, so here it is.
My thinking was: how could I get those shadows visible in my 3D or Elevation Viewpoint without the shadow casting building blocking the view?
In Elevation it is not possible because the shadow casting building is behind the Elevation cut line so it is not even considered when generating the Elevation.
In 3D, I tried to do some trick with the shadow casting building, like setting their material to 'Air' to make them transparent, but in that case they do not cast any shadows.
Also, if I place them on a separate layer and make that layer Wireframe, the result is the same: they don't cast shadows.
If I try to place a camera between the shadow casting building and the building that receives the shadow, the distances on the elevation will be perspectively distorted.
In Parallel Projection it is not possible to go between the two buildings because it is always displaying all elements.
But I realized that in Parallel View I can define a custom view in which I will look at the model from the top, but in a way that I see the elevation onto which shadows are cast. Check the attached image and you will see that by setting those values for the X, Y and Z axes I could achieve a parallel view in which I can see the cast shadows, only they are 20% of their real size in the Z direction.
(Depending on how close of far the shadow casting building is, you may set values of, e.g., 100, 125, 200, 250, 500 which will need to be resized in GDL 10x, 8x, 5x, 4x, 2x, respectively, as seen in later steps.)
But this is something that I can work with to capture that geometry.
2015-04-22 11:38 AM - edited 2025-09-23 03:18 PM
So the next step is that I have to capture that geometry and then resize it 5x in the Z direction in GDL to obtain the real sizes. In the X direction the sizes are correct.
To capture it I can simply use the Marquee.
One important thing though is that you have to switch the 3D Window to the Internal Engine, because if you draw a Marquee in 3D and copy it to the Clipboard, it will paste an image (bitmap).
However, if you do it while using the Internal Engine, the copied data can be scaled vectorial data.
So, switch to Internal Engine in the 3D Engine field of the 3D Window Settings Dialog.
Then draw a Marquee around the projected elevation and press CTRL+C to copy it to the Clipboard. Select the options that you see in the attached screenshot.
2015-04-22 11:44 AM
2015-04-22 11:50 AM - edited 2025-09-23 03:18 PM
Now we need to do some cleanup work.
Delete all lines and fills that do not represent any part of the shadow you wish to obtain.
The attached image shows what is left in the 2D Symbol Window after cleanup in this example.
One thing I wish to note: if you elevation is staggered, you will need to move the shadows of those staggered segments into one line because that is how you will see them in Elevation. Basically you just need to shift their positions in the Y direction in the 2D Symbol Window.
2015-04-22 12:00 PM
MUL2 1, 5 FRAGMENT2 1, 1The MUL command will multiply everything in 2D 1x in the X direction (same size) and 5x in the Y direction.
2015-04-22 12:04 PM
2015-04-23 01:49 AM