|
|
|
|
|
|
| |
| |
|
|
From: Mark Hanford
Subject: Preview - new converter: POV-SDL to HTML (Win32, 25kbu)
Date: 3 Apr 2002 17:07:23
Message: <3cab7d1b@news.povray.org>
|
|
|
| |
| |
|
|
Hi there,
I have just finished (kind of) the first stage of a converter to enable the
conversion of POV scene files to HTML pages.
I appologise in advance that this isn't quite in the POV essence of being a
cross-platform app, but all I know is VB, so that's all there is ;o)
This is currently a kind of beta 0.0.0.0.0.0.0.1 release, with no help,
error handling, etc, but as far as I can see should function correctly and
smoothly. I have only tested on one W2k laptop, so, if you're not on this,
hold your breath, cross your fingers and see how it goes...
The attached zip contains just the one executable, so you'll have to have
various other VB runtimes etc for it to work. If this means nothing to you,
just run it, if it doesn't work, go to www.mrhanford.com/povray and download
the full setup version.
Right, that's enough appologies, disclaimers, etc...
Just unzip into a folder and run. The first time it is run, it will create
a sample stylesheet, a keyword file (afaik 3.5b14) and an operator file
(ignore it). Just point it at your POV file, tell it where to put the html
file, and off you go.
Please let me know what you think, if it's well received I'll be doing a lot
more work on it, with batching, maybe porting to C, etc.
Thanks,
Mark Hanford
--
Mark Hanford
http://www.mrhanford.com/povray
Post a reply to this message
Attachments:
Download 'POV2HTMLexe.zip' (26 KB)
|
|
| |
| |
|
|
From: Lieut Data
Subject: Re: Preview - new converter: POV-SDL to HTML (Win32, 25kbu)
Date: 3 Apr 2002 18:18:14
Message: <3cab8db6$1@news.povray.org>
|
|
|
| |
| |
|
|
> I appologise in advance that this isn't quite in the POV essence of being
a
> cross-platform app, but all I know is VB, so that's all there is ;o)
Dont worry, all I know (very well) is VB too.... :-)
Post a reply to this message
|
|
| |
| |
|
|
From: Gleb
Subject: Re: Preview - new converter: POV-SDL to HTML (Win32, 25kbu)
Date: 4 Apr 2002 05:15:58
Message: <3cac27de@news.povray.org>
|
|
|
| |
| |
|
|
"Mark Hanford" <ren### [at] blueyondercouk> wrote in message
news:3cab7d1b@news.povray.org...
> This is currently a kind of beta 0.0.0.0.0.0.0.1 release, with no help,
> error handling, etc, but as far as I can see should function correctly
and
> smoothly.
check strings inside comments and \" inside string, e.g:
---------------------------8<--------------------------
//#include "color.inc"
/*#include "c\"olor.inc"*/
//#include "color.inc"
---------------------------8<--------------------------
Regards,
Gleb
Post a reply to this message
|
|
| |
| |
|
|
From: Mark Hanford
Subject: Re: Preview - new converter: POV-SDL to HTML (Win32, 25kbu)
Date: 4 Apr 2002 10:02:00
Message: <3cac6ae8$1@news.povray.org>
|
|
|
| |
| |
|
|
thanks. I have noted that now and will fix it in the next "release".
Mark Hanford
http://www.mrhanford.com/povray
"Gleb" <gk1### [at] sotonacuk> wrote in message news:3cac27de@news.povray.org...
> "Mark Hanford" <ren### [at] blueyondercouk> wrote in message
> news:3cab7d1b@news.povray.org...
> > This is currently a kind of beta 0.0.0.0.0.0.0.1 release, with no help,
> > error handling, etc, but as far as I can see should function correctly
> and
> > smoothly.
>
> check strings inside comments and \" inside string, e.g:
> ---------------------------8<--------------------------
> //#include "color.inc"
> /*#include "c\"olor.inc"*/
> //#include "color.inc"
> ---------------------------8<--------------------------
>
> Regards,
>
> Gleb
>
>
Post a reply to this message
|
|
| |
| |
|
|
From: Gleb
Subject: Re: Preview - new converter: POV-SDL to HTML (Win32, 25kbu)
Date: 5 Apr 2002 04:12:55
Message: <3cad6a97$1@news.povray.org>
|
|
|
| |
| |
|
|
"Mark Hanford" <ren### [at] blueyondercouk> wrote in message
news:3cac6ae8$1@news.povray.org...
> thanks. I have noted that now and will fix it in the next "release".
Check also this line:
/*#i/*ncl*/ude */
Currently the slash in the first "*/" is not green.
It would be better, if your converter would be able
to handle nested comments, like POV itself does
(the Win POV editor is not correct at this point).
Regards,
Gleb
Post a reply to this message
|
|
| |
| |
|
|
From: Mark Hanford
Subject: Re: Preview - new converter: POV-SDL to HTML (Win32, 25kbu)
Date: 5 Apr 2002 18:29:05
Message: <3cae3341@news.povray.org>
|
|
|
| |
| |
|
|
Your every wish is my command...(don't get carried away now ;)
The much awaited, the queued-at-the-door-for, limited edition, version 0.0.2
is here. (whilst stocks last)
Take a look at http://www.mrhanford.com\povray\content\pov2html\test.html
for your test. I have only been going by the WinPOV syntax highlighting so
far, so if you can think of any other "perculiarities" that I might have
missed, please let me know.
I suppose I need to work on the UI a bit, so again any suggestions,
requests, feedback, etc would be greatfully received...
--
Mark Hanford
http://www.mrhanford.com/povray
"Gleb" <gk1### [at] sotonacuk> wrote in message news:3cad6a97$1@news.povray.org...
> "Mark Hanford" <ren### [at] blueyondercouk> wrote in message
> news:3cac6ae8$1@news.povray.org...
> > thanks. I have noted that now and will fix it in the next "release".
>
> Check also this line:
>
> /*#i/*ncl*/ude */
>
> Currently the slash in the first "*/" is not green.
> It would be better, if your converter would be able
> to handle nested comments, like POV itself does
> (the Win POV editor is not correct at this point).
>
> Regards,
>
> Gleb
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
in news:3cae3341@news.povray.org Mark Hanford wrote:
> Take a look at
> http://www.mrhanford.com\povray\content\pov2html\test.html for your
> test.
In your demo i_internal.html a lot of keywords are not highlighted.
Is there a special reason you use 'strong' instead of 'span'?
Ingo
Post a reply to this message
|
|
| |
| |
|
|
From: Mark Hanford
Subject: Re: Preview - new converter: POV-SDL to HTML (Win32, 25kbu)
Date: 8 Apr 2002 17:05:52
Message: <3cb20630@news.povray.org>
|
|
|
| |
| |
|
|
thanks, a whole load of stuff was broken by my last fix :)
I use strong so that if a person doesn't have a style sheet, or is using a
non-CSS browser they'll still see some difference in the keywords. Appart
from that it was a largely arbitrary decision.
A new version will be out soon that highlights keywords from the distributed
include files, such as functions and colours.
Mark Hanford
http://www.mrhanford.com/povray
"ingo" <ing### [at] homenl> wrote in message
news:Xns### [at] povrayorg...
> in news:3cae3341@news.povray.org Mark Hanford wrote:
>
> > Take a look at
> > http://www.mrhanford.com\povray\content\pov2html\test.html for your
> > test.
>
> In your demo i_internal.html a lot of keywords are not highlighted.
> Is there a special reason you use 'strong' instead of 'span'?
>
> Ingo
Post a reply to this message
|
|
| |
| |
|
|
From: Mark Hanford
Subject: Re: Preview - new converter: POV-SDL to HTML (Win32, 25kbu)
Date: 10 Apr 2002 19:13:24
Message: <3cb4c714@news.povray.org>
|
|
|
| |
| |
|
|
For anyone still following this thread, there is a new update to the
POV2HTML converter on my website now.
It now optionally highlights some of the official #included keywords
(currently colors.inc, textures.inc, metals.inc and functions.inc)
Fairly soon I hope to have v1.0.0 available, so please, if anyone has any
suggestions or requests let me know.
TTFN,
Mark Hanford
http://www.mrhanford.com/povray
"Mark Hanford" <ren### [at] blueyondercouk> wrote in message
news:3cab7d1b@news.povray.org...
> Hi there,
>
> I have just finished (kind of) the first stage of a converter to enable
the
> conversion of POV scene files to HTML pages.
>
> I appologise in advance that this isn't quite in the POV essence of being
a
> cross-platform app, but all I know is VB, so that's all there is ;o)
>
> This is currently a kind of beta 0.0.0.0.0.0.0.1 release, with no help,
> error handling, etc, but as far as I can see should function correctly
and
> smoothly. I have only tested on one W2k laptop, so, if you're not on
this,
> hold your breath, cross your fingers and see how it goes...
>
> The attached zip contains just the one executable, so you'll have to have
> various other VB runtimes etc for it to work. If this means nothing to
you,
> just run it, if it doesn't work, go to www.mrhanford.com/povray and
download
> the full setup version.
>
> Right, that's enough appologies, disclaimers, etc...
> Just unzip into a folder and run. The first time it is run, it will
create
> a sample stylesheet, a keyword file (afaik 3.5b14) and an operator file
> (ignore it). Just point it at your POV file, tell it where to put the
html
> file, and off you go.
>
> Please let me know what you think, if it's well received I'll be doing a
lot
> more work on it, with batching, maybe porting to C, etc.
>
> Thanks,
>
> Mark Hanford
>
>
>
> --
>
> Mark Hanford
> http://www.mrhanford.com/povray
>
>
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|