Look at Inquire. It can tell you grid dimensions and counts. Then use Computes with integer division and/or modulo and/or floor, ceil, to do what you did in your example.
On May 4, 2005, at 2:40 PM, Matthew Bogosian wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a grid of
Hi,
I have reposted the problem but the answers did not solve the problem. I
have 4 cubes.
+---++---+
| | B| |
| A ++ D |
| | C| |
+---++---+
The shading of B,C is erroneous. I included this simple exaple in
I'm not quite sure what you are saying, but I think I see what you
mean. The problem lies with the shading. If you Import-
ShowBoundary- AutoColor- Shade(faceted)- Image. I think you will
see your problems disappear.
The smooth shading you see is going to try and phong shade each
Looking at this further, it appears that cubes may have a smooth
shading problem due to the way the normals are calculated. If you
AutoGlyph the normals of a smooth shaded object, I'm not sure they
are right; however, this is a moot point since what you want is
faceted shading on these cubes