POV-Ray : Newsgroups : povray.general : generating POV-RAY code from inline data : Re: generating POV-RAY code from inline data Server Time
30 Jul 2024 14:27:12 EDT (-0400)
  Re: generating POV-RAY code from inline data  
From: Chris B
Date: 19 Dec 2008 18:52:14
Message: <494c33ae$1@news.povray.org>
"Rick Berger" <rbe### [at] rogerscom> wrote in message 
news:494c0f6e$1@news.povray.org...
>I want to be able to describe a bunch of objects(walls, windows, doors in
> a set of rooms) as a series lines of data. Then I want to do have
> features like have each object's name be automatically generated from its
> data, use some data form a previous defined new object and use defaults
> etc. My question is of implementation, is this something I should try
> coding up in POV-RAY, or should I brush up on my Perl or try Python to
> write a preprocessor to generate a POV-RAY code file?
>
> Rick

You might also want to look at povhouse at 
http://www.geocities.com/povstairs/povhouse/ . It takes a floor plan (with 
doors windows, columns, floors, ceilings etc) drawn in the free InkScape 
vector graphics editor. You name each element in InkScape and export as a 
POV-Ray include file. The POV-House macros take the exported prism objects 
and renders a 3D building.

It might provide a starting point for what you want to do, or may serve as 
an example or inspiration.

Regards,
Chris B.


Post a reply to this message

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