POV-Ray : Newsgroups : povray.binaries.utilities : PERL: POVTree to OBJ : Re: PERL: POVTree to OBJ Server Time
7 May 2024 01:06:05 EDT (-0400)
  Re: PERL: POVTree to OBJ  
From: gimi
Date: 3 May 2003 07:58:05
Message: <3eb3aecd$1@news.povray.org>
Mike Williams wrote:

> A simple PERL script for converting the mesh files created by POVTree to
> Wavefront OBJ format.
[...]

Thanks for that!

Anyway, I strongly suggest that you review this bit of code and
- use strict;
- use variable names that speak for themselves,
- declare variables using "my",
and maybe add some more comments where appropriate.

BTW, your code produces warnings - you should definitely
also use the "-w" flag (or "use warnings;" if you're running
Windows)!


HTH - SCNR ;)

gimi

-- 
++++++++++++++++ http://www.psico.ch/ ++++++++++++++++


Post a reply to this message

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