When drawing a 3D object in Asymptote, one can define the color with constructions like rgb(.4,.4,1) or rgb(1,0,1)+opacity(.5), which have fairly obvious meanings. One can also wrap these color commands in emissive(..), as in emissive(rgb(1,0,1)+opacity(.3)).
What does the emissive wrapper do? I can see the results, but I don't quite understand what is going on. Are there other wrappers like emissive?
In the manual, the only place where the word emissive appears is in the word emissivepen, on page 132. A secondary question is: what does emissivepen do? In that same section, diffusepen, ambientpen and specularpen are also defined, though I don't understand their use.
draw(unitsphere,surfacepen=material(white+opacity(0.8),ambientpen=white), meshpen=gray(0.4));asno matching function 'material(pen, pen ambientpen)'does something changed? – kelalaka Feb 11 '21 at 21:37ambientpenwas removed in https://github.com/vectorgraphics/asymptote/commit/714371587643f770febae01cd9a81f87818e28e7#diff-e0ded65b95a9ec587a908a505dc752106dce6024aad670738461adbd9015071d, likely because the same effect can be achieved withemissivepen. I will modify the answer accordingly. – Charles Staats Feb 12 '21 at 00:15emissivepen=0.1*white? They are not the same, emissive is about ten times stronger than ambient by default, but they can be used to achieve the same effect. – Charles Staats Feb 12 '21 at 13:33ambientpenbut they cannot be compiled, and even some from your tutorial, too. Maybe your tutorial needs an update/note about this too. I've tried but not close to the original ( even the labels are small compared to the original image). I'll contact the author again. – kelalaka Feb 12 '21 at 13:53