POV-Ray : Newsgroups : povray.binaries.images : hard_object, soft_object pattern 3.7.2 patch branch. : Re: hard_object, soft_object pattern 3.7.2 patch branch. Server Time
19 Apr 2024 17:56:24 EDT (-0400)
  Re: hard_object, soft_object pattern 3.7.2 patch branch.  
From: William F Pokorny
Date: 6 Mar 2017 09:49:41
Message: <58bd7705$1@news.povray.org>
On 03/05/2017 01:27 PM, Patrick Elliott wrote:
>> I've posted the full code for an example to p.b.scene-files. The
>> resultant image is attached. It shows too some of the shortcomings of
>> density-based vs what a real proximity pattern might do.
>>
> I'll admit, I have no idea what "short comings" I am looking at, since,
> this looks really neat. Like, someone painted the thing blue, then
> yellow, then bright pink, then it spent enough time in some sort of
> abrasive conditions so as to strip the paint, except where well
> protected, back to yellow, then finally the original blue, along the
> much more exposed edges.
>
Patrick & Thomas, Thanks & thanks for making me think more about this.

I've had it in my head a real proximity pattern would stop at the first 
surface of the surrounding object(s) - which would create a smoother 
result than seen - in addition to working with objects having no 
interior(1).

Suppose though, rays shot outward from a proximity pattern don't have to 
stop at the first surface... ;-)

Perhaps relatively obvious, but the posted density function example 
doesn't need to be object based. In other words it's input function can 
be another pattern or any other function. I'm attaching another image 
using the cells pattern as the input. I've played very little with other 
than object based function inputs with this local density method.

Bill P.


(1) - A really rough idea for use I've had rattling around in my head 
for a first-surface (best aligned to surface normal, min found, other?) 
proximity pattern is using such a pattern as an aid in placing objects. 
Or, moving objects around in a scene in an environmentally aware way. 
Especially meshes and objects in relation to meshes. Mesh camera looking 
outward from each face toward objects(s) whose pigment is an emitted 
color which corresponds to proximity not to itself but back to the 
mesh... Similar things can be done with trace, but at the speed of SDL...


Post a reply to this message


Attachments:
Download 'denfnctexample2.jpg' (51 KB)

Preview of image 'denfnctexample2.jpg'
denfnctexample2.jpg


 

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