Tag Info

New answers tagged

13

Here are some examples. R=G=B=x (your MWE) R=G=B=x R=G=B=x² R=G=B=√x R=G=B=log(1+x) R=G=B=log(1+9x) R=G=B= ... well ... \documentclass{article} \usepackage[a3paper]{geometry} \usepackage{tikz} \begin{document} \begin{tikzpicture} \fill(-11,0)|-(0,-2)|-(11,2)|-cycle; \shade[left color=black,right color=white](-10,-1)rectangle(10,1); ...


5

As answered by @percusse, TeX is the obstacle here. I avoided TeX by creating a (rough) SAGE/python script that will take a SAGE 3d picture, already triangulated, and translate it to tikz 2d polygons, with some sort of light/shade computations. You do need SAGE to create the tikz file though. It is available in github, in case you want to experiment with ...


5

The only obstacle is TeX. Postscript is used to do the heavy lifting and the linear algebra but we don't have the luxury to rely on some big brother using PGF. Your best bet is to find a library that understands both the Z-buffer and solid reflections in another language and call it within. pgfplots don't know that yet using only TeX. Even if this was ...



Top 50 recent answers are included