|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
without pictures this time
as someone in this news group,i want to edit image pixel per pixel.
so i creat this macro,with it you can edit your pixels on a bmp image like
#declare pixel[x position][y position]=<color vector>;
But you can also apply complex filters.I know,a lot of drawing programs have
this filters,but with the filter_applyer you can simply create your own
filters.Here's somme filter examples i've made to show you we can create all
the filters you want...
The parsing time is a bit long but you can accelerate it with a
parameter.This is why i want to write it in C.
--you can look at the examples in povray.binaries.images--
the macros ,the explanations,the filter library and some examples are
include in the zip file.
it's also on the web:
http://www.multimania.com/gibusperon/filter_applyer.zip
gibus
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3988dbd9$1@news.povray.org>, "Gibus"
<gib### [at] wanadoofr> wrote:
> The parsing time is a bit long but you can accelerate it with a
> parameter.This is why i want to write it in C.
You might want to look at the source for the post_process patch in
MegaPOV, it is quite easy to add new filters.
--
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chris Huff wrote:
>
> In article <3988dbd9$1@news.povray.org>, "Gibus"
> <gib### [at] wanadoofr> wrote:
>
> > The parsing time is a bit long but you can accelerate it with a
> > parameter.This is why i want to write it in C.
>
> You might want to look at the source for the post_process patch in
> MegaPOV, it is quite easy to add new filters.
What could be nice is to be able ask POV-Ray to write the gathered
depth and normal info into a bitmap file, and then being able to
either use it as Gibus does, or simply specifying a post_process
command, without the need to recompute the whole image...
(or is it already possible ? Did I miss something ?)
Fabien.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
i was testing h.e. day's 'realexplode.pov' file a few weeks ago and he
calls post_process. i was left with two versions of the image, a non
processed one and the processed one. i don't know if that means you can
do what you want or not, but it seems that in the least, pov could be
patched so that another file containing the needed information could be
made to be used with the original picture. that way you could try
different post_processes without redrawing the image. as i have never
actually used any of these things myself, i could be out in left field.
Fabien Mosen wrote:
>
> Chris Huff wrote:
> >
> > In article <3988dbd9$1@news.povray.org>, "Gibus"
> > <gib### [at] wanadoofr> wrote:
> >
> > > The parsing time is a bit long but you can accelerate it with a
> > > parameter.This is why i want to write it in C.
> >
> > You might want to look at the source for the post_process patch in
> > MegaPOV, it is quite easy to add new filters.
>
> What could be nice is to be able ask POV-Ray to write the gathered
> depth and normal info into a bitmap file, and then being able to
> either use it as Gibus does, or simply specifying a post_process
> command, without the need to recompute the whole image...
>
> (or is it already possible ? Did I miss something ?)
>
> Fabien.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
i don't exactly understand what you said but i know that megapov have a
norml and depth filter:i just have to create a file that read this two
bitmap and to create two matrix with this information,after i can use it
with my filter_applyer...
gibus
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <3989BA7C.C612517B@skynet.be>, Fabien Mosen
<fab### [at] skynetbe> wrote:
> What could be nice is to be able ask POV-Ray to write the gathered
> depth and normal info into a bitmap file, and then being able to
> either use it as Gibus does, or simply specifying a post_process
> command, without the need to recompute the whole image...
>
> (or is it already possible ? Did I miss something ?)
MegaPOV can already write the post-processed version to a separate file,
hopefully a future version will allow this to be done on a per-filter
basis.
As for the normal and depth, a depth filter has been included from the
beginning, and one of my additions was a normal filter(which maps the
[-1,1] range of normals to the [0,1] range of colors).
--
Christopher James Huff - Personal e-mail: chr### [at] maccom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://homepage.mac.com/chrishuff/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
i create a new macro that read the depth bitmap generate by mega pov.
i create a filter example,the easiest 3d filter is the fog.See the example
in povray.binaries.image.The bird model don't show the capacity of the
filter but you can see that the fog react with the depth.
the macros are here:
http://www.multimania.com/gibusperon/filter_applyer.zip
gibus
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |