Tell me more ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have arranged a certain configuration of cubes in 3D using the following code:

 Graphics3D[
  Table[
   {Cuboid[{i, j - i + 1, j + 1}]},
   {i, 1, 4, 1}, {j, 1, 4, 1}], Lighting -> {{"Ambient", White}}, 
   Boxed -> False, ViewPoint -> {-1, -1, 1}]

Computing this as it is displays the following graphic: cube stack

This is fine, but the issue is what happens when you zoom in to this image in Mathematica. Doing so reveals extended edges in some of the corners shown here: enter image description here

I would like to know why this is happening, and what I need to do to get rid of the extended edges. Is this perhaps happening because Mathematica is not completely updating the graphics upon zooming?

share|improve this question
1  
I see the same problem (ver. 8.0.4 OS X). After some experimentation I found that {Opacity[0.99], Table[{Cuboid[{i, j - i + 1, j + 1}]}, {i, 1, 4, 1}, {j, 1, 4, 1}]} is a workaround. – Stephen Luttrell Dec 5 '12 at 0:31
@StephenLuttrell, with Opacity[0.99] I still see the problem 8.0.4 on Win7x64. – s0rce Dec 5 '12 at 0:35
With Opacity[1] I see the problem on OS X, but Opacity[0.99] fixes it. – Stephen Luttrell Dec 5 '12 at 0:37
Same on Linux, Opacity[0.99] fixes it. – Andreas Lauschke Dec 5 '12 at 1:14
Linux and 8.0.4 64 bit , I still see the problem with Opacity[0.99]. – image_doctor Dec 5 '12 at 12:51
show 3 more comments

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.