POV-Ray : Newsgroups : povray.binaries.images : Re: Media probs Server Time
17 Nov 2024 06:23:20 EST (-0500)
  Re: Media probs (Message 1 to 3 of 3)  
From: Rafal 'Raf256' Maj
Subject: Re: Media probs
Date: 21 Sep 2002 14:40:07
Message: <Xns9290D2360D244raf256com@204.213.191.226>
"Mick Hazelgrove" <mic### [at] mhazelgrovefsnetcouk> wrote in
news:3d8cb5f1@news.povray.org 

> Attached is a pic with isosurface torii distorted with noise3d and
> filled with meda. There are bright white artifacts at the edges of the
> containers. 

please word-wrap at 76 characters in posts 



-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

From: Gilles Tran
Subject: Re: Media probs
Date: 22 Sep 2002 09:18:58
Message: <3d8dc342@news.povray.org>
----- Original Message -----
From: "Mick Hazelgrove" <mic### [at] mhazelgrovefsnetcouk>
> Prob 1 anyone got any idea how to get rid of them

Prob 1 & 3

The following seems to work :

- use a regular torus with a larger inner radius

torus{RMax,RMin*2

- and then clamp the density function

density {function { min(max(fn_X(x, y, z),0),1) }

It must have been a coincident surface problem.
It solves the scaling problem too, and it's faster !

Prob 2 : where do you use eccentricity? All I see is media type 2...

Nice clouds btw. Are you making a POV-Ray version of Gulliver's Travels ?

G.

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message


Attachments:
Download 'mhmedia2.jpg' (40 KB)

Preview of image 'mhmedia2.jpg'
mhmedia2.jpg


 

From: Mick Hazelgrove
Subject: Re: Media probs
Date: 22 Sep 2002 17:23:14
Message: <3d8e34c2@news.povray.org>
Hi

Thought I'd cancelled this message! I've managed to solve the problems I had
though I like the clamping function - works a treat!. The pic is going to be
the basis for an image on the phoenix bird, which, I am currently modelling
in Rhino.

Mick


Post a reply to this message

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