POV-Ray : Newsgroups : povray.programming : Re: Motion Blurring : Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...) Server Time
6 Jul 2025 01:23:36 EDT (-0400)
  Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)  
From: Jon A  Cruz
Date: 1 Dec 1999 21:23:24
Message: <3845D83A.440369DF@geocities.com>
Nigel Stewart wrote:

> > XML...   XML...   XML...   XML...
>
> Heh.  I'm with you on that one Jon.
> As I understand XML (not very well)
> it is data-oriented.  How do we keep
> the sanity of XML while allowing
> functionality?  And, is XML really
> oriented to manual editing?
>
> The kind of thing that I'm thinking
> is that if I click inside a sphere { ..}
> block, I should be able to change
> properties graphically, with context
> help linked back to the documentation.
>
> Nigel

Yes. Given a valid DTD for some POV-Ray flavor of XMl, then any good
generic XML editor could do that. All attributes for a given tag, and
valid contexts for tags are known, so the editors can do exactly that.
Well, almost. To do the color and such you might need a specialy editor,
or just custom attributes for an editor.

But, it would know that you can add a pigment to that sphere, and that
you can't add a box, etc.

<sphere radius=1>
  <pigment>
    <color rgb='#ff00ff'>
  </pigment>
  <rotate x=0 y=10 z=0>
</sphere>

Or there could be all sorts of different ways to do it.

--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.


Post a reply to this message

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