|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
where can I downoad programs to make colored .html document from .pov file
(best - basing on CSS classes that can be later declared in <head> by
autor)?
Or maybe - do someone have PHP script for generating such code?
TIA
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Found this just today while I was googling
for POV-Related stuff and JRG's Scatter-
Macro:
http://www.hanfordonline.co.uk/povray/content/pov2html/
Regards,
Tim
--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: no_lights (@) digitaltwilight.de
> Hi,
> where can I downoad programs to make colored .html document from .pov file
> (best - basing on CSS classes that can be later declared in <head> by
> autor)?
>
> Or maybe - do someone have PHP script for generating such code?
>
> TIA
>
> --
> #macro
g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
> pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local
l=mod(c,100
> );g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end
light_source{
> y 2}sphere{z*20
9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 11.09.2003
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Rafal 'Raf256' Maj wrote:
>
> Hi,
> where can I downoad programs to make colored .html document from .pov file
> (best - basing on CSS classes that can be later declared in <head> by
> autor)?
>
> Or maybe - do someone have PHP script for generating such code?
http://www.palfrader.org/code2html/
--
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tim Nikias v2.0 <no_lights (@) digitaltwilight.de> wrote:
> http://www.hanfordonline.co.uk/povray/content/pov2html/
It uses variable-width font... ugh!
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> http://www.hanfordonline.co.uk/povray/content/pov2html/
Looks good to me, except that it uses "strong" tags for everything, which is
fairly arbitrary... when you're styling with CSS, you should use HTML tags
that closely represent what they surround. Obviously, there's no
<povkeyword> tag, but it might make sense to use an <em> tag for that
(because you want the keywords emphasised in one way or another), and maybe
<span> tags for most other things, since there's no real meaning associated
with them.
Now, what would be *really* awesome, is if it turned macro calls and
identifiers into hyperlinks which linked to the place in the source where
they were defined... =)
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Rafal 'Raf256' Maj <spa### [at] raf256com> wrote:
> Or maybe - do someone have PHP script for generating such code?
Yes, I made one last year. It is still on the free webspace where
I uploaded it then. You can see its output here:
http://mitglied.lycos.de/lpvader/pov2html/pov2html.php?sourcefile=source.pov
If you want the source, you can just use a security hole in it
to get it ;-)
Lutz-Peter
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote in
news:3f6e0215@news.povray.org:
> Tim Nikias v2.0 <no_lights (@) digitaltwilight.de> wrote:
>> http://www.hanfordonline.co.uk/povray/content/pov2html/
>
> It uses variable-width font... ugh!
Umm its fixed width for me, chances are that your brower's
default setting for fixed font has been set/changed to a
variable one :)
--
Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 21 Sep 2003 15:42:38 -0400, "Rafal 'Raf256' Maj" <spa### [at] raf256com> wrote:
> Hi,
> where can I ...
http://news.povray.org/search/?s=html
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Warp" <war### [at] tagpovrayorg> wrote in message news:3f6ecdc3@news.povray.org...
>
> pre { font-family: "Lucida Console, Arial, Helvetica, sans-serif"; font-size:
normal}
iirc that's pretty shi**y CSS anyway - Lucida Console is the only font that
should be quoted - i.e.:
pre { font-family: "Lucida Console", Arial, Helvetica, sans-serif; font-size:
normal}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
> And failing all that, it takes "sans-serif" which by definition
> is proportional.
Sans serif is NOT by definition proportional. Sans serif is by
definition 'without serifs' (you know, those little hooks at the
ends). Has nothing to do with proportionality. A fixed-width
font can be sans serif.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |