netgen/tutorials/twobricks.geo

16 lines
426 B
GLSL
Raw Normal View History

2009-01-13 18:03:21 +05:00
algebraic3d
solid cube = plane (0, 0, 0; 0, 0, -1)
and plane (0, 0, 0; 0, -1, 0)
and plane (0, 0, 0; -1, 0, 0)
and plane (1, 1, 1; 0, 0, 1)
and plane (1, 1, 1; 0, 1, 0)
and plane (1, 1, 1; 1, 0, 0);
solid cutplane = plane (0.5, 0, 0; -1, 0, 0);
solid right = cube and cutplane;
solid left = cube and not cutplane;
2011-09-06 21:26:14 +06:00
tlo right -col=[1,0,0] -material=copper;
2009-01-13 18:03:21 +05:00
tlo left -col=[0,0,1];