POV-Ray : Newsgroups : povray.windows : Density files? Server Time
28 Jul 2024 08:29:14 EDT (-0400)
  Density files? (Message 1 to 9 of 9)  
From: Krystian
Subject: Density files?
Date: 28 Nov 1999 19:43:13
Message: <3841cc21@news.povray.org>
I'm trying find a utility/tutorial that will help me create a density file
for use in media. I read the docs (err.. parsed them anyway) and the only
reference I found said that density files were a binary format file, so I
assume there is a utility to make said binary. I searched the links page,
and came up empty. Can anyone get me on the right track here? Thanks

Krystian
www.geocities.com/kgbates


Post a reply to this message

From: Ken
Subject: Re: Density files?
Date: 28 Nov 1999 19:54:06
Message: <3841CE33.D269C2DF@pacbell.net>
Krystian wrote:
> 
> I'm trying find a utility/tutorial that will help me create a density file
> for use in media. I read the docs (err.. parsed them anyway) and the only
> reference I found said that density files were a binary format file, so I
> assume there is a utility to make said binary. I searched the links page,
> and came up empty. Can anyone get me on the right track here? Thanks
> 
> Krystian
> www.geocities.com/kgbates

 In povray.announce.frequently-asked-questions you will find a list of
utilities that have been posted in povray.binaries.utilities. In that
list is a reference to a file called tga2df3.exe which will convert a
series of tga images into one .df3 binary density file that POV-Ray
can use in media density statements. If you find the list in the
announcements group you can simply click on the link that I provided
and it will start a download automaticaly.

Cheers,

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Krystian
Subject: Re: Density files?
Date: 28 Nov 1999 20:40:57
Message: <3841d9a9@news.povray.org>
>
>  In povray.announce.frequently-asked-questions you will find a list of
> utilities that have been posted in povray.binaries.utilities. In that
> list is a reference to a file called tga2df3.exe which will convert a
> series of tga images into one .df3 binary density file that POV-Ray
> can use in media density statements. If you find the list in the
> announcements group you can simply click on the link that I provided
> and it will start a download automaticaly.
>
> Cheers,
>
> --
> Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/

Once again, thank you, Ken. I swear, the only reason I bother posting is so
others can see the answers, too. Otherwise, I'd just mail you ;)

Thanks,
            Krystian


Post a reply to this message

From: Krystian
Subject: Re: Density files?
Date: 28 Nov 1999 21:06:58
Message: <3841dfc2@news.povray.org>
Urk.. I found the link, but the post seems to have been removed from the
server. Anybody have the URL of the actual file?


Post a reply to this message

From: Ken
Subject: Re: Density files?
Date: 28 Nov 1999 21:33:49
Message: <3841E58B.6950F7F4@pacbell.net>
Krystian wrote:
> 
> Urk.. I found the link, but the post seems to have been removed from the
> server. Anybody have the URL of the actual file?

The link is to a message on this server. If you cannot access that message
it is probably because you only keep newer messages on this server and have
your news reader set to expire messages past a certain date. You will have
to disable your expire messages feature and download enough past messages
to access the message in question. For each utility I listed I also provided
the date it was posted and by who so you could reference back to the original
message if the need arose.

 I know of no site on line that offers this particular file so you will either
have to download it from the utilities group or I might be persuaded to send
you a copy of the file failing that.

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Density files?
Date: 29 Nov 1999 12:01:57
Message: <3842b185@news.povray.org>
Krystian <kgb### [at] xi2knet> wrote:
: I'm trying find a utility/tutorial that will help me create a density file
: for use in media. I read the docs (err.. parsed them anyway) and the only
: reference I found said that density files were a binary format file, so I
: assume there is a utility to make said binary. I searched the links page,
: and came up empty. Can anyone get me on the right track here? Thanks

  The df3 format is extremely simple. If you have any basic skills of any
programming language that can output binary files, you can easyly make your
own df3 files.
  The format is described in the povray documentation. The first 6 bytes
describe the dimensions of the map, ie. three values of 16 bits, MSB first;
let's call them X, Y and Z. Then the data follows, X*Y*Z bytes, each indicating
a density from 0 (no density) to 255 (full density).

  It would be easy to make df3 files with povray, but for some reason you
can't write the value 0 to a file with it.

  There should be a way in povray to create density data directly, instead
of having to always use a file.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Karl Pelzer
Subject: Re: Density files?
Date: 29 Nov 1999 14:58:16
Message: <3842E966.1867DD25@t-online.de>
Krystian wrote:
> 
> Urk.. I found the link, but the post seems to have been removed from the
> server. Anybody have the URL of the actual file?

Hi Krystian!

If you somehow managed to find tga2df3.exe please let me know. I'm also
interested in it.

Thanks ;-}

Karl


Post a reply to this message

From: Ken
Subject: Re: Density files?
Date: 29 Nov 1999 15:05:52
Message: <3842DC10.FBA4DA14@pacbell.net>
Karl Pelzer wrote:
> 
> Krystian wrote:
> >
> > Urk.. I found the link, but the post seems to have been removed from the
> > server. Anybody have the URL of the actual file?
> 
> Hi Krystian!
> 
> If you somehow managed to find tga2df3.exe please let me know. I'm also
> interested in it.
> 
> Thanks ;-}
> 
> Karl

I'm sending it to you via email. If anyone else is having problems finding
it let me know and I will send it to you too.

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: david sharp
Subject: Re: Density files?
Date: 30 Nov 1999 13:49:25
Message: <38441c35@news.povray.org>
Krystian <kgb### [at] Xi2knet> wrote in message
news:3841cc21@news.povray.org...
> I'm trying find a utility/tutorial that will help me create a density file
> for use in media. I read the docs (err.. parsed them anyway) and the only
> reference I found said that density files were a binary format file, so I
> assume there is a utility to make said binary. I searched the links page,
> and came up empty. Can anyone get me on the right track here? Thanks

Before reading this I never even thought about density
files at all, mainly because they seemed to be mostly for use
in media{} which I still don't get much of. But this thread got
me to experiment with generating "df3" files in QBASIC. I'll
post an example image in binaries.images and probably the
QBASIC program in binaries.utilities if anyone is interested.
At least mildly interesting results.


Post a reply to this message

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