Skip to content

Commit

Permalink
Presets update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dnyarri committed Sep 16, 2024
1 parent 9277ce6 commit 7a2867c
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 46 deletions.
2 changes: 1 addition & 1 deletion presets/36_concave.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 36zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/36_crystal.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 36zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/44_dice.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 44zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
16 changes: 8 additions & 8 deletions presets/44_drive_my_car.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ POVRay include file
Description: Preset file for scene generated with 44zaika.py
Star (in most cases) prism, looking like that:
1-2-3
| |
8 9 4
Expand All @@ -15,22 +15,22 @@ and, since they come in pairs, resulting shape still gives seamless pattern.
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Authors: preset file made by Ilya Razmanov.
Author: Ilya Razmanov.
{#008800, 0} */

#declare yes_color = 1;
#declare evenodd_offset = <0, 0, 0>;

#declare move_rnd = <0, 0, 0.2>;

// {#880000, 2} All you need is:
// All you need is here: {#880000, 2}
#declare of26 = <-0.3, 0.5>;
#declare of48 = <-0.5, 0.7>;

#declare thingie = prism{linear_sweep linear_spline -1, 0, 9,
<-1, -1>, <0, -1>+of26, <1, -1>,
<1, 0>+of48,
<1, 1>, <0, 1>+of26, <-1, 1>,
<-1, 0>+of48,
<-1, -1>, <0, -1> + of26, <1, -1>,
<1, 0> + of48,
<1, 1>, <0, 1> + of26, <-1, 1>,
<-1, 0> + of48,
<-1, -1>
scale 0.4999 rotate x*90}
scale 0.499 rotate x*90}
6 changes: 4 additions & 2 deletions presets/44_iso_ballcross.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ Description: Preset file for scene generated with 44zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Authors: preset file made by Ilya Razmanov.
*/
Authors: preset file made by Ilya Razmanov,
based on "Isosurface Tutorial" by Mike Williams
https://povlab.online/isotutorial/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
6 changes: 4 additions & 2 deletions presets/44_iso_teeth.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ Description: Preset file for scene generated with 44zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Authors: preset file made by Ilya Razmanov.
*/
Authors: preset file made by Ilya Razmanov,
based on "Isosurface Tutorial" by Mike Williams
https://povlab.online/isotutorial/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
30 changes: 11 additions & 19 deletions presets/44_pass_you_by.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,26 @@
POVRay include file
Description: Preset file for scene generated with 44zaika.py
Star (in most cases) prism, looking like that:
1-2-3
| |
8 9 4
| |
7-6-5
nodes 2 and 6, and 4 and 8 may be offset in pairs by "of26" and "of48" vectors, correspondingly,
and, since they come in pairs, resulting shape still gives seamless pattern.
Press Alt+R two-three times to make a conclusion regarding scene appearance.
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Authors: preset file made by Ilya Razmanov.
Author: Ilya Razmanov.
{#008800, 0} */

#local timerand = seed(int(now*10000));
#local timerand = seed(int(now*100000));

#declare yes_color = 1;
#declare move_rnd = <0, 0, 0.2>;

#declare of26 = <rand(timerand)-0.5, rand(timerand)-0.5>;
#declare of48 = <rand(timerand)-0.5, rand(timerand)-0.5>;
// Critical part: {#880000, 2}
#declare of26 = <rand(timerand) - 0.5, rand(timerand) - 0.5>;
#declare of48 = <rand(timerand) - 0.5, rand(timerand) - 0.5>;

#declare thingie = prism{linear_sweep linear_spline -1, 0, 9,
<-1, -1>, <0, -1>+of26, <1, -1>,
<1, 0>+of48,
<1, 1>, <0, 1>+of26, <-1, 1>,
<-1, 0>+of48,
<-1, -1>, <0, -1> + of26, <1, -1>,
<1, 0> + of48,
<1, 1>, <0, 1> + of26, <-1, 1>,
<-1, 0> + of48,
<-1, -1>
scale 0.49 rotate x*90}
scale 0.499 rotate x*90}
2 changes: 1 addition & 1 deletion presets/44_puzzle.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Description: Preset file for scene generated with 44zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/44_sheared.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 44zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/63_benzene.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 63zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/63_cube.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 63zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/63_graphene.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 63zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/63_icosa.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Read project help.html for options description.
Authors: preset file made by Ilya Razmanov.
Icosahedron shape mostly based on example by Paul Bourke,
edited a bit to improve a bit. A bit improved successfully.
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
4 changes: 2 additions & 2 deletions presets/63_iso_spawl.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Description: Preset file for scene generated with 63zaika.py or 44zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Authors: preset file made by Ilya Razmanov.
*/
Author: Ilya Razmanov.
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/63_isoscele3.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: Preset file for scene generated with 63zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/63_puzzle.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Description: Preset file for scene generated with 63zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down
2 changes: 1 addition & 1 deletion presets/63_quarz.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 63zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare sqrtof3 = 1.7320508075688772935274463415059; // sqrt(3)
#declare revsqrtof3 = 1.0/sqrtof3; // 1.0/sqrt(3)
Expand Down
2 changes: 1 addition & 1 deletion presets/63_tortoiseshell.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: Preset file for scene generated with 63zaika.py
https://github.com/Dnyarri/POVmosaic
Read project help.html for options description.
Author: Ilya Razmanov
*/
{#008800, 0} */

#declare yes_color = 1;

Expand Down

0 comments on commit 7a2867c

Please sign in to comment.