POV-Ray : Newsgroups : povray.binaries.images : Two steps forward, one step back : Two steps forward, one step back Server Time
6 May 2024 23:13:53 EDT (-0400)
  Two steps forward, one step back  
From: ShadowMage3D
Date: 20 Oct 2012 03:44:15
Message: <5082564f@news.povray.org>
So... still working on my spraypaint macro... and it seems to be 
progressing fairly well, but I'm having a slight problem that I just 
can't seem to pin down.

The image below should illustrate, but to explain, with a random 
distribution over an angle of about 30 degrees, my math tells me that 
with the emitter at a distance of 1 unit (on a scale of 1 unit = 1 ft), 
the paint swath should be six inches wide.

The problem is that it's clearly not that wide...

I'm perfectly willing to accept that the distribution is flawed in some 
way (probably, a normal distribution doesn't accurately model the real 
thing)

at any rate, I'm posting the code for a couple of test scenes with the 
macro include and some pictures, I'd appreciate it if someone could give 
me some clues here.

I've also attached the aperture science logo image I'm using as a stencil.

Also, I tend to use an extended color library kolors.inc which I haven't 
attached, but it should be available if you google it. It's not really 
necessary though.

Regards,
A.D.B.


Post a reply to this message


Attachments:
Download 'spraycan6.png' (591 KB) Download 'utf-8' (3 KB) Download 'crate2.png' (352 KB) Download 'utf-8' (6 KB) Download 'utf-8' (4 KB) Download 'aperture_science_logo_800.jpg' (66 KB)

Preview of image 'spraycan6.png'
spraycan6.png

Preview of image 'crate2.png'
crate2.png

Preview of image 'aperture_science_logo_800.jpg'
aperture_science_logo_800.jpg


 

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