5

I need to create some black and white illustrations for which I use Glow[White]. Unfortunately this makes soft edges disappear, so objects blend into the background. Is there a way to have Mathematica draw a black edge left and right of the yellow cylinder below?

Graphics3D[{Glow[Yellow], Black, EdgeForm[Thick], Cylinder[]}, Boxed -> False]

yellow barrel

RunnyKine
  • 33,088
  • 3
  • 109
  • 176
Martin R
  • 460
  • 2
  • 10

1 Answers1

3
h[et_] := Graphics3D[{Glow[Yellow], EdgeForm[et], Yellow, Cylinder[]},  Boxed -> False]
ImageMultiply[ h[Black], ColorNegate@EdgeDetect@h[None]]  

Mathematica graphics

Dr. belisarius
  • 115,881
  • 13
  • 203
  • 453