POV-Ray : Newsgroups : povray.binaries.utilities : 3DS -> PovRay in Unix? : Re: 3DS -> PovRay in Unix? Server Time
6 Oct 2024 12:00:02 EDT (-0400)
  Re: 3DS -> PovRay in Unix?  
From: Artemia Salina
Date: 29 Apr 2000 08:59:30
Message: <390AD018.60D37151@sheayright.com>
Thomas Baier wrote:
> 
> Hi,
> 
> sorry, but the sourcecode is not free yet.
> 
> -tb

That's alright. Located at http://www.uni-jena.de/~p6sepa/software.htm
is a 3DS to POVRay converter for DOS called 3DS2POV. The zip file contains
source code ("SOURCE.ZIP" within the archive) and I had almost no problem
at compiling it to run under Linux.

It does generate output for older versions of POVRay which use the
obsolete syntax for 'ior'. My quick fix for the problem (although this
currently only generates a warning from POVRay) was to simply comment
out the fprintf()s in 3ds2pov.c that printed 'ior' and 'refraction'
into the output file.

Aside from that, and the need for a unixian Makefile the program seems
to work just fine. (I simply compiled source to object-code and linked
by hand for the sake of expediency)

(Hint: Unzip the source archive with "unzip -aa -l SOURCE.ZIP" into
a seperate directory. This will convert linefeeds to unix style and
convert filenames to lower case)


Hope that helps.




> 
> >Thomas Baier wrote:
> >
> >> Hi Jens Olsson,
> >>
> >> >  Hello,
> >> >
> >> > Looking for unix-based 3DS to PovRay conversion tools - anyone that
> >> > knows of
> >> > any (I found some for Windows though but I'd prefer Unix versions)
> >> >
> >>
> >> Sorry, but only a Windows version is available. There are no plans to
> >> make a Unix version
> >>
> >
> ><snip, snip>
> >
> >    Hey, if someone could get me the source code for the win3ds2pov I
> >wouldn't mind having a go at porting it to Unix.  Can someone point me to
> >the source code?
> >


Post a reply to this message

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