Skip to content

[BUG] doesn't give an error if a polygon is not 2D #467

@folkertvanheusden

Description

@folkertvanheusden

Summary

Please see https://news.povray.org/povray.general/thread/%3Cweb.674a4c31296bdfa2e3cbe740b3ec8729%40news.povray.org%3E/ for an example.

POV-Ray Version

  • 3.7.0.10.unofficial from Ubuntu 24.10

Scene


polygon { 5, <15.45085, 0, 47.55283>, <15.11321, -3.212412, 47.55283>,
<24.45369, -5.197792, 43.30127>, <25, 0, 43.30127>, <15.45085, 0, 47.55283>
texture { pigment { color rgb <1, 0, 0> } } }

sky_sphere { pigment { color rgb <1, 1, 1> } }
camera { look_at <15, -3, 47> location <0, 0, 100> }
light_source { <0, 0, 100> color rgb <1, 1, 1> }

Expected Behavior

PovRay should error ot

Actual Behavior

Continues while rendering blackness

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug?reported as bug; triage pending

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions