John (et al.); On Tue, Aug 24, 1999 at 09:07:11AM +0000, John Carter wrote: > Fun With Perl And Povray. > > There is very little in the obfusticated perl category here, but a > lot of "fun" and "prettiness". > > This is what you get if you combine perl + l-systems + povray.... > > A mad fractal plumber in the sky.... (Requires Povray3.1 from > www.povray.org) > > (If you don't feel like installing povray, you can see the result at > http://www.geocities.com/SoHo/Cafe/5947/lurd.html) [code snipped] That's fun. I've written a raytracer whose native scene language was Tcl (for http://www.undergrad.math.uwaterloo.ca/~cs488/ ) ... I found Tcl very easy to augment but as a language I found it messy and very limited. In fact, I ended up writing a Perl script to generate my Tcl: http://www.undergrad.math.uwaterloo.ca/~cs488/Images/A4/twrathbo.jpg I've also written a lot of POVRay scenes by hand, and I find the POVRay scene language nicer, but the syntax has seemed to become hairier and hairier over the years, and the flow control and looping seems very kludgey. Haven't looked at it for a while - perhaps it's improved. I'd really love to see a Perl module that lets me write scenes in Perl, and generic enough to be used with various renderers. It could have subclasses for renderer-specific features. I'd love to be able to render the same scene in Radiance or POVRay by changing only a single line of code. For POVRay integration, it could either write out a .pov file or be linked directly into POVRay. I just checked CPAN and didn't find any mention of 'pov' ... does anyone know of any work being done along these lines? Cheers, Tom -- -- Tom Rathborne tomr@aceldama.com -- http://www.aceldama.com/~tomr/ -- "I seem to be having tremendous difficulty with my life-style." ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe