|
![](/i/fill.gif) |
Here's code to use df3 files to make full-color 3d "image maps" I've
included three df3 files (red.df3, blu.df3, and grn.df3) and the source
used to generate them (pattern.pov) as well as the code that uses them.
It's nothing special, but it should communicate the idea.
Unzipped, each df3 file is a little under a megabyte. They are 100x100x100.
Post a reply to this message
Attachments:
Download 'rgb3d.zip' (257 KB)
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Ron Parker wrote:
>Here's code to use df3 files to make full-color 3d "image maps" I've
>included three df3 files (red.df3, blu.df3, and grn.df3) and the source
>used to generate them (pattern.pov) as well as the code that uses them.
>It's nothing special, but it should communicate the idea.
>
>Unzipped, each df3 file is a little under a megabyte. They are 100x100x100.
>
Hello Ron Parker,
I'm quite a new user to POV-ray, but I have some queries regarding the .df3
files format and it's uses. I believe that this is still quite a new area
of development.
I am working on a project on 3D voxture mapping of brick walls and I have
tried using C++ code to generate the voxels and turn it into a .df3 file.
After which I have used POVray to display the file.
From the past threads that I have read, POVray does not support visualising
what is the interior of the object? Thus if I have the 3D voxture structure
in the .df3 file, I will not be able to either reproduce the internal
structure of the desired object nor the texture / interior using POVray? Is
this true?
I was looking at the viewpoint of like setting a brick to be removed from
the whole wall, thus POV-ray can still see what is inside the wall. A
method of doing this would be to set the value of that brick to be
transparent using the colormap(transmit 1).
I believe that if POVray is able to do this, it has great applications as
any model can be created in .df3 format and POVray can generate the .df3
file (with some scaling) to the actual size of an object.
Currently, I have only managed to texture the brick wall from the .df3 file,
while the interior(media()) does not help when using the .df3 file.
Is the POVray team currently developing this .df3 area? Or are there certain
fundamentals of raytracing that limit the ability to reproduce the internal
structure of the .df3 file?
I look forward to your reply. thanks
Jensen
Post a reply to this message
|
![](/i/fill.gif) |