POV-Ray : Newsgroups : povray.programming : Example files for the POVRAY's grammar ? : Re: Example files for the POVRAY's grammar ? Server Time
21 Apr 2025 01:43:24 EDT (-0400)
  Re: Example files for the POVRAY's grammar ?  
From: Le Forgeron
Date: 5 Jan 2013 16:02:05
Message: <50e894cd$1@news.povray.org>
Le 05/01/2013 17:17, denis.beurive nous fit lire :
> If I can find a logic behind the grammar, I can model the relation between
> objects (that form the scene) in a class hierarchy (in the sense of object
> oriented programming).

Be my guest, if you can read UML... page 18, figure 1.1 of old model

http://jgrimbert.free.fr/crayon.pdf

It's a bit far from the actual grammar, and nearer the actual objects
created during the parsing (of the povray version of that time: 2005).
(and it does not show the location of internal transformations, and some
features might be missing)

The document is out-dated & in French, but that's another story.

Notice that all the possible shapes are just one single box of that figure.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.