POV-Ray : Newsgroups : povray.general : pov2 html on-line Server Time
6 Aug 2024 21:37:25 EDT (-0400)
  pov2 html on-line (Message 7 to 16 of 36)  
<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Gleb
Subject: Re: pov2 html on-line
Date: 15 Mar 2002 06:54:40
Message: <3c91e100$1@news.povray.org>
"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:3C911156.23B6B3EB@gmx.de...

> Nice.
Thank you.

> It would be great if you could supply the source code too, this would
> allow to customize the settings easily, like having custom color schemes
> or using CSS.

It is too raw yet. You can use Lutz-Peter's one however.
It is always nice to have alternatives to choose.

Gleb


Post a reply to this message

From: Gleb
Subject: Re: pov2 html on-line
Date: 15 Mar 2002 07:08:49
Message: <3c91e451$1@news.povray.org>
"Micha Riser" <mri### [at] gmxnet> wrote in message
news:3c910f2d@news.povray.org...
> Nice work! But there seems a problem with the newline characters. If I
look
> at the source everything appears on one line (the browser does not even
> display everything).

Thanks! Nothing special, really. There are no newline characters there,
only <br> tags instead.

> Are the colours the same as in the windows version of POV-Ray?

I hope so.

> I would prefer if the formating were done with css, so one could easily
> customize the colours.

I agree. And not only colours, actually.


Gleb


Post a reply to this message

From:
Subject: Re: pov2 html on-line
Date: 15 Mar 2002 07:20:20
Message: <hjp39u87rcv46na1l4q7ctfth72qbf0plr@4ax.com>
On Thu, 14 Mar 2002 20:05:53 -0000, "Gleb" <gk1### [at] sotonacuk> wrote:
> But I've found this task interesting and I'd like to offer
> you in your spare time to try this on-line version at
>
> http://freelocus.com/pov2html.html

I think it hangs up with http://www.bmt.com.pl/Poligrodzianie/sigs.pov

ABX


Post a reply to this message

From:
Subject: Re: pov2 html on-line
Date: 15 Mar 2002 07:30:32
Message: <1qp39uklntb84ucah2fs5igj5r1ovvjkri@4ax.com>
On Fri, 15 Mar 2002 08:26:45 +0100, Lutz-Peter Hooge <lpv### [at] gmxde> wrote:
> I've written one too in PHP (had to rename it to "ANOTHER Pov2Html 
> converter", since you were faster *g*)
>
> http://mitglied.lycos.de/lpvader/pov2html/pov2html.php

Pretty good. My testing file http://www.bmt.com.pl/Poligrodzianie/sigs.pov is
rather short but it appear with fatal error - execution time too long. Also
with some sample css ends of lines are broken.

ABX


Post a reply to this message

From: Gleb
Subject: Re: pov2 html on-line
Date: 15 Mar 2002 08:08:05
Message: <3c91f235@news.povray.org>
"W?odzimierz ABX Skiba" <abx### [at] babilonorg <mailto:abx### [at] babilonorg>> wrote in
message <news:hjp39u87rcv46na1l4q7ctfth72qbf0plr@4ax.com>...
> I think it hangs up with <http://www.bmt.com.pl/Poligrodzianie/sigs.pov>

Thank you for testing.
Yes, the on-line version behaves a bit strange for me too, I'm not sure
about what the real limitations are.
But it processed these sigs  for me in two steps ~ 100 lines + the rest.

Gleb


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: pov2 html on-line
Date: 15 Mar 2002 15:25:59
Message: <MPG.16fc7796116c645d9896e7@news.povray.org>
In article <1qp39uklntb84ucah2fs5igj5r1ovvjkri@4ax.com>, abx### [at] babilonorg says...

> Pretty good. My testing file http://www.bmt.com.pl/Poligrodzianie/sigs.pov is
> rather short but it appear with fatal error - execution time too long.

Probably due to that sluggish lycos server. I called it with you file, 
and is now sitting there for more than 9 minutes and has only displayed 
the first 3 sigs until now...

Last night it was very responsive, bot now it takes ages to show 
something at all :-(

> Also
> with some sample css ends of lines are broken.

Wich one? What do you mean with broken? Visible <br> Tags? or something 
different? 
(uhm, does't Windows and Unix use different markers for line-feeds?
Maybe that is the prob, since I only check for \n)

Lutz-Peter


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: pov2 html on-line
Date: 15 Mar 2002 15:47:59
Message: <MPG.16fc7cc14c2a809e9896e8@news.povray.org>
In article <3c91debc@news.povray.org>, gk1### [at] sotonacuk says...

> > The source is in http://mitglied.lycos.de/lpvader/pov2html/p2h.zip
> Have you checked the list of keywords? An item "normal_indices" listed twice
> in docs,

Yep, of course than it's also twice in mine, since I only copy&pasted the 
keywords list from the docs.
But it should't cause a problem, it's just one redundant check for every 
token.

Lutz-Peter


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: pov2 html on-line
Date: 15 Mar 2002 17:45:56
Message: <MPG.16fc985f10314049896e9@news.povray.org>
In article <1qp39uklntb84ucah2fs5igj5r1ovvjkri@4ax.com>, abx### [at] babilonorg 
says...

> rather short but it appear with fatal error - execution time too long.

Seems it was't the server alone. I did some profiling and found out that 
for some mysterious reason array_pop() in PHP is extremely slow.

I replaced it with array_walk, and now the whole thing is about 8 times 
faster.

Lutz-Peter


Post a reply to this message

From: ingo
Subject: Re: pov2 html on-line
Date: 17 Mar 2002 16:23:14
Message: <Xns91D4E4193D2EFseed7@povray.org>
in news:3c9102a2@news.povray.org Gleb wrote:

> [...]
> http://freelocus.com/pov2html.html
> [...] 
> I hope that all keywords are included, but this is a question to test.

It does not deal with nested multiline comments in the right way.
It has problems with a < preceded by a comma (no coloration)
It has sometimes problems with the {}

I tried to make a converter too this weekend, using python. It uses css, 
but it has no file i/o yet, also replacing >,< etc. by proper html esc-
characters is not done yet.
Here's some of its results:
http://members.home.nl/seedseven/povcolor.html

Ingo


Post a reply to this message

From:
Subject: Re: pov2 html on-line
Date: 18 Mar 2002 04:26:30
Message: <2ubb9uc70mfovpmpgdo5s29p84esaromg9@4ax.com>
On Fri, 15 Mar 2002 21:27:22 +0100, Lutz-Peter Hooge <lpv### [at] gmxde> wrote:
> Wich one?

after you changes it appears in with CSSs

> What do you mean with broken? Visible <br> Tags?

Yes. At begining sigs appear properly from "new of Warp" they seems broken.
Also all sigs are separated with empty line in original file.

Note that pair digit-token ("0translate" for example) isn't highlited
properly. It also isn't highlited in POV-gui but perhaps you can force this
:-)

> (uhm, does't Windows and Unix use different markers for line-feeds?
> Maybe that is the prob, since I only check for \n)

Meybe. For answer you should call 0 800 POV RAY ;-)

ABX


Post a reply to this message

<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>

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