POV-Ray : Newsgroups : povray.general : My turn! : Re: My turn! Server Time
8 Aug 2024 06:13:15 EDT (-0400)
  Re: My turn!  
From: Tek
Date: 3 Jul 2001 08:36:36
Message: <3b41bc54@news.povray.org>
> I can't render it.  It seems to have an unsupported keyword in it. :)

Doh! That's because I used the "function" command. It works fine in Megapov,
which is perculiar because it shouldn't allow me to use unnofficial features
unless I have a #version at the start!

Anyway, here's a fixed version, though it doesn't look as good:

camera{location<1,2,-3>look_at 0}sphere{y-x,1#macro F(S,T,E,G)box{<S,T,-.01>,<E,
G,1>}#end finish{reflection 1}}#macro P(d)pigment{checker rgb 6translate d scale
.15rotate 45*y}#end media{emission rgb<.2,.3,.4>absorption rgb<.2,.3,.4>density{
planar poly_wave .1scale 9000}}union{F(0,4,3,5)F(1,0,2,5)F(4,0,5,5)F(4,4,7,5)F(4
,2,6,3)scale.35rotate 90*x P(1)}plane{y,0 P(0)}// Tekno Frannansa.


And for comparison, here's the original version (from before the 1st one I
posted), which is megapov only and uses radiosity:

#version Unofficial Megapov 0.7 global_settings{ini_option"+qr"radiosity{}}media
{emission rgb<2,3,4>absorption rgb<2,3,4>density{function{.1/(y+1)}}}#macro P(d)
pigment{checker rgb 6 translate d scale.15 rotate 45*y}#end#macro F(S,T,E,G)box{
<S,T,-.01>,<E,G,1>}#end union{F(0,4,3,5)F(1,0,2,5)F(4,0,5,5)F(4,4,7,5)F(4,2,6,3)
rotate 90*x scale.35 P(1)}plane{y,0 P(0)}camera{location<1,2,-3>look_at 0}sphere
{y-x,1 finish{reflection 1}} // TeknoFrannansa. evilsuperbrain.com


It looks nice, but it's way to long for a sig, and excludes anyone using normal
pov.

--
Tek
http://www.evilsuperbrain.com


Post a reply to this message

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