 |
 |
|
 |
|
 |
|  |
|  |
|
 |
From: Jon A Cruz
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 2 Dec 1999 11:19:30
Message: <38469BFB.2A10475B@geocities.com>
|
|
 |
|  |
|  |
|
 |
Philippe Debar wrote:
> Jon A. Cruz wrote:
> > <sphere radius=1>
> > <pigment>
> > <color rgb='#ff00ff'>
> > </pigment>
> > <rotate x=0 y=10 z=0>
> > </sphere>
>
> I prefer
>
> sphere{x,1 texture{pigment{color rgb <1,0,1>}} rotate 10*y}
>
> It is shorter (60 characters instead of 92, and you left out the centre) and
> I find it much more readable. Part of this readability is from the one-line
> formatting, but I wouldn't like the one-line:
>
> <sphere centerx=1 centery=0 centerz=0 radius=1> <pigment> <color
> rgb='#ff00ff'> </pigment> <rotate x=0 y=10 z=0> </sphere>
>
> (I took the liberty to add a centre for the sphere in a syntax analogue to
> what you propose.) I think I couldn't stand the inflation. more word to make
> typos, less info on screen (hence harder to read the script flow),. And
> think about backward compatibility... :-(
Yes, but one thing you get is that any standard XML editor (and more are
arriving each day) can do all that editing and homework for you. You'd then end
up typing less, and would be able to view your scene as a tree, move things
around, colapse and expand, etc.
I had just thrown things out quickly as an example. There'd be a little more
different if this were real XML. Here's a more extreme example. but remember it
is all handled by editors.
<sphere radius=1>
<center>
<vector3 x=1 y=0 z=0/>
</center>
<pigment>
<color rgb='#ff00ff'/>
</pigment>
<rotate>
<vector3 x=0 y=10 z=0/>
<rotate>
</sphere>
And the editor imported what you typed and then did your preferred tab
formatting on it, of course. :-)
--
"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
|
 |
|  |
|  |
|
 |
From: omniVERSE
Subject: Re: Toughts about implementing motion-blur in POV-Ray...
Date: 2 Dec 1999 12:24:07
Message: <3846ab37@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Oh! Okay, alright, I see now. Well, that was why I was wondering about it.
Within POV alone (script, not hard-coded) I had to adjust for the textures
quite a bit because of overlap. The image averaging never seems to suffer
from that due to the way it gets handled.
Bob
Goran Begicevic <gor### [at] tidax se> wrote in message
news:3846369C.F8C1433A@tidax.se...
>
> It's same technique that is to be used internaly in POV, but implemented
> (just for test) in script.
> With other words, object is jittered on it's motion path, and images are
> rendered multiple times to be averaged later.
>
> Now, that introduces lot's of redundant calculations and should be done
> on ray-basis and not on image-basis.
>
> Anyway, those images were averaged and i didn't notice any colour
> difference beacuse of that.
>
>
> Cheers.
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: omniVERSE
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 2 Dec 1999 12:51:18
Message: <3846b196@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Ken <tyl### [at] pacbell net> wrote in message
news:38464170.FA093F22@pacbell.net...
>
> I get scared whenever someone mentions changing the scripting language
> in POV-Ray.
Scarier is that fact that Jon A. C. has a voice on the POV-Team and I saw
his last message in reply to Phillipe D. just now.
Fact is I have to use at least the last two major versions, namely 3.02
and 3.1, just to keep my head above water when dealing with all the scene
files I have here. There's that ever-present danger of losing today's
compatibility for yesterdays files.
Mostly though I'd agree vehemently about the nonprogrammer status. I
dropped Basic when it changed to QBasic and many of my files couldn't seem
to be adapted. Along with the fact I wasn't willing to keep subroutining
in more various ways. I'm not entirely made of programmer stuff you know.
The capabilities which open up with the additions of better scripting in
POV-Ray is no doubt a good thing for the right people but if it were to lose
the ease of use for average people, like Ken says, there would certainly be
a gaping crevice between the two factions. Something which is very
difficult to comprehend clearly since the raytracing medium is so varied,
from art to scientific modeling. To make for a less debatable subject it
might be brought up about there being potential for user friendly (gee,
that's an old saying) plug-ins and extensions to the program in which the
programming aspect remains avid as all the while a user interface keeps to a
standard of useable features.
Bob
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Ron Parker
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 2 Dec 1999 13:01:13
Message: <3846b3e9@news.povray.org>
|
|
 |
|  |
|  |
|
 |
On Thu, 2 Dec 1999 11:50:49 -0600, omniVERSE wrote:
>Ken <tyl### [at] pacbell net> wrote in message
>news:38464170.FA093F22@pacbell.net...
>>
>> I get scared whenever someone mentions changing the scripting language
>> in POV-Ray.
>
> Scarier is that fact that Jon A. C. has a voice on the POV-Team [...]
That's news to me, as I'm sure it is to the other POV-Team members. The
official Team roster was just posted in povray.general within the past
few days. You might want to go reread it.
--
These are my opinions. I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: omniVERSE
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 2 Dec 1999 15:03:30
Message: <3846d092@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Whew! (nothing personal Jon)
Terribly sorry to confuse others by implying Jon Cruz to be on the POV-Team.
Sincere apologies to all. I had read both those messages just yesterday and
somehow Jon got stuck in my mind as being listed there. Strange really
because he isn't even one of the repliers to either of those. Maybe I've
been psyched out, or paranoia is a worse thing than I previously thought.
Bob
Ron Parker <ron### [at] povray org> wrote in message
news:3846b3e9@news.povray.org...
> On Thu, 2 Dec 1999 11:50:49 -0600, omniVERSE wrote:
>
> >Ken <tyl### [at] pacbell net> wrote in message
> >news:38464170.FA093F22@pacbell.net...
> >>
> >> I get scared whenever someone mentions changing the scripting
language
> >> in POV-Ray.
> >
> > Scarier is that fact that Jon A. C. has a voice on the POV-Team [...]
>
> That's news to me, as I'm sure it is to the other POV-Team members. The
> official Team roster was just posted in povray.general within the past
> few days. You might want to go reread it.
>
> --
> These are my opinions. I do NOT speak for the POV-Team.
> The superpatch: http://www2.fwi.com/~parkerr/superpatch/
> My other stuff: http://www2.fwi.com/~parkerr/traces.html
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Nigel Stewart
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 2 Dec 1999 20:11:59
Message: <384692A8.71BF8E47@nigels.com>
|
|
 |
|  |
|  |
|
 |
> <sphere radius=1>
> <pigment>
> <color rgb='#ff00ff'>
> </pigment>
> <rotate x=0 y=10 z=0>
> </sphere>
OK, so what does a for loop look like in this
imaginary XML povscript?
I guess that we can simply plug-in the appropriate
editors for different groups in the XML file?
Plug-in the sphere editor, bezier editor, spline,
etc...
--
Nigel Stewart (nig### [at] nigels com)
Research Student, Software Developer, Tokyo Dweller
"The Australian Government wants to read your email."
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Jon A Cruz
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 3 Dec 1999 00:30:11
Message: <3847557A.B1D603FF@geocities.com>
|
|
 |
|  |
|  |
|
 |
Whew you??? Whew me!
I just saw your first post and started scanning those recent announcements to
see if I had forgotten someone talking to me. =-O (me with my hair standing
up)
omniVERSE wrote:
> Whew! (nothing personal Jon)
> Terribly sorry to confuse others by implying Jon Cruz to be on the POV-Team.
> Sincere apologies to all. I had read both those messages just yesterday and
> somehow Jon got stuck in my mind as being listed there. Strange really
> because he isn't even one of the repliers to either of those. Maybe I've
> been psyched out, or paranoia is a worse thing than I previously thought.
>
> Bob
>
> Ron Parker <ron### [at] povray org> wrote in message
> news:3846b3e9@news.povray.org...
> > On Thu, 2 Dec 1999 11:50:49 -0600, omniVERSE wrote:
> >
> > >Ken <tyl### [at] pacbell net> wrote in message
> > >news:38464170.FA093F22@pacbell.net...
> > >>
> > >> I get scared whenever someone mentions changing the scripting
> language
> > >> in POV-Ray.
> > >
> > > Scarier is that fact that Jon A. C. has a voice on the POV-Team [...]
> >
> > That's news to me, as I'm sure it is to the other POV-Team members. The
> > official Team roster was just posted in povray.general within the past
> > few days. You might want to go reread it.
> >
> > --
> > These are my opinions. I do NOT speak for the POV-Team.
> > The superpatch: http://www2.fwi.com/~parkerr/superpatch/
> > My other stuff: http://www2.fwi.com/~parkerr/traces.html
--
"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
|
 |
|  |
|  |
|
 |
From: Jon A Cruz
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 3 Dec 1999 00:34:49
Message: <3847568F.376E0360@geocities.com>
|
|
 |
|  |
|  |
|
 |
Nigel Stewart wrote:
> > <sphere radius=1>
> > <pigment>
> > <color rgb='#ff00ff'>
> > </pigment>
> > <rotate x=0 y=10 z=0>
> > </sphere>
>
> OK, so what does a for loop look like in this
> imaginary XML povscript?
>
> I guess that we can simply plug-in the appropriate
> editors for different groups in the XML file?
> Plug-in the sphere editor, bezier editor, spline,
> etc...
>
> --
> Nigel Stewart (nig### [at] nigels com)
> Research Student, Software Developer, Tokyo Dweller
> "The Australian Government wants to read your email."
<loop counter=foo initial=1 final=5 step =1>
<sphere radius=1>
<center x=0 y=0 z=0/>
<pigment>
<color rgb='#ff00ff'/>
</pigment>
<rotate x=0 y=10 z=0/>
<translate>
<y>foo + 1 * 5</y>
</translate>
</sphere>
</loop>
Arrggggghhh! no! stop stop stop!!!
My head is exploding!
;-)
I think this little exercise is getting out of hand.
--
"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
|
 |
|  |
|  |
|
 |
From: Mark Wagner
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 3 Dec 1999 01:18:31
Message: <384760b7@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Philippe Debar wrote in message <38468602@news.povray.org>...
>Jon A. Cruz wrote:
>> <sphere radius=1>
>> <pigment>
>> <color rgb='#ff00ff'>
>> </pigment>
>> <rotate x=0 y=10 z=0>
>> </sphere>
>
>BTW, wasn't some early POVscript (or DKB) that looked like that? Or am I
>completely mistaken once again?
>
DKBTrace had a similar syntax.
OBJECT
SPHERE
<0 2 0> 1
END_SPHERE
TEXTURE
COLOUR RED 1 GREEN 1 BLUE 1
PHONG 1
DIFFUSE 0.1
REFLECTION 0.9
METALLIC
END_TEXTURE
END_OBJECT
Mark
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Mark Wagner
Subject: Re: XML (was Re: Toughts about implementing motion-blur in POV-Ray...)
Date: 3 Dec 1999 01:20:42
Message: <3847613a@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Ken wrote in message <38464170.FA093F22@pacbell.net>...
>Every once in a while an over zealous person with a programming
>background pops up and suggests that the language should become more C
>oriented or should include object oriented programming or a host of other
>scenarios.
POV script should be changed to a language based on LISP :-)
Mark
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |