POV-Ray : Newsgroups : povray.text.tutorials : How to create .df3 files : Re: How to create .df3 files Server Time
21 May 2024 05:09:52 EDT (-0400)
  Re: How to create .df3 files  
From: Peter Popov
Date: 3 Sep 1998 01:26:10
Message: <35ee1a62.0@news.povray.org>
Roland Mas wrote in message ...
>  Yeah, nice and easy. I like it. But you can also make .df3 "by
>hand", I mean with a program of your own. That allows you to plot any
>kind of shape into your density file. I might write a small
>application for that purpose, if requested. It'll probably be simple C
>and provide functions like load from .df3 file, save to .df3 file,
>resize a density field, get a particular voxel value, and set a
>particular voxel value. Could easily be turned into a library and
>reused for any purpose.
>
>  Has someone already done that (I don't have time for reinventing the
>wheel)? Are many people interested in it? Can I hope cooperation and
>help if need be?
>
>Roland.
>--
>Les francophones m'appellent Roland Mas,
>English speakers call me Rowlannd' Mass,
>Nihongode hanasu hitoha [Lolando Masu] to iimasu.
>Choisissez ! Take your pick ! Erande kudasai !

Well, for the very beginning, a utility can be made to just collect the
layers in one file. For example, create a new df3 file sized 150x50x10, and
paste each layer in the utility (featuring some simple GUI). Automatic
crop/resize may be done for you. Then the utility just spits out the df3. No
3D graphics editor or such stuff.

I will be soon doing a simple proggie to do linear filtering to df3 files
(like blur, sharpen, etc.) The problem is that I don't know if these linear
functions will easily generalize for 3D. But I may try.

Regards,

Peter


Post a reply to this message

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