POV-Ray : Newsgroups : povray.general : Blur routines. : Re: Blur routines. Server Time
20 Nov 2024 00:45:28 EST (-0500)
  Re: Blur routines.  
From: Christoph Hormann
Date: 7 Dec 2001 09:29:33
Message: <3C10D24B.4464C318@gmx.de>
Hugo wrote:
> 
> Hi,
> 
> The attached code is my first attempt to convolve a pigment.. Don't expect
> it to look good, please..

First of all, please don't post binary attachments in this group, they
belong to povray.binaries.scene-files.  

> I think POV would benefit from having internal blurring routines.. There are
> many routines to create procedural textures and we've also begun to
> pigmentize objects and use pigments as functions.. Blurring would come in
> handy.. I tried the other day with 255 averaged pigments but that's not good
> enough.. It makes strange things sometimes, and in connection with
> isosurfaces it better be more than 8-bit.

This method will not allow using chekcer etc. in isosurface functions
anyway.  Even with high numbers of samples there will be steps (although
they can be invisible when you use it in a texture).

> I searched on www.google.com to learn how to code gaussian blur, and I got
> this far in SDL, this morning.. Unfortunately I never learned C, but I think
> it would be easy to implement blur code there.. My routine is too slow to be
> useful, though it might be possible to optimise, I don't know?  I also don't
> know how to increase the amount of blur yet! Heeh, I thought it would work
> with a bigger matrix, but that just seems to affect the blur quality.

As already said, you should have a look at previous work on this matter. 
The results of Chris Huff's most recent experiments can be found in:

Subject: Smoothly Blurred Patterns - blur2.jpeg (1/1)
Date: Mon, 05 Mar 2001 12:23:44 -0500
From: Chris Huff <chr### [at] maccom>
Newsgroups: povray.binaries.images

And my own in:

http://www.schunter.etc.tu-bs.de/~chris/povcyg/docu/docu_pattern01.html#BLUR

function patterns should allow to implement both methods in SDL.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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