POV-Ray : Newsgroups : povray.unofficial.patches : strange wind effect Server Time
8 Jul 2024 16:10:41 EDT (-0400)
  strange wind effect (Message 1 to 7 of 7)  
From: Wlodzimierz ABX Skiba
Subject: strange wind effect
Date: 26 Jul 2001 09:00:33
Message: <3b601471@news.povray.org>
I found some strange effect. It looks like the same problem as artefacts noticed
in isowooden throne (image on p.b.i) but much more dense. Below is source code
and image with the same title will be in p.b.i after moment. I have not yet
experimented with it but perhaps anybody can suggest solution ?

// BEGIN

#version unofficial MegaPov 0.6;

#include "modeler/modeling.inc"

global_settings
{
  assumed_gamma 1.0
  ini_option "Antialias=on"
  ini_option "Jitter=off"
  ini_option "Antialias_Threshold=0.3"
}

#local Model=union{
  #local P00=<-1,-1,-1>;
  #local P01=<-1,1,-1>;
  #local P02=<1,1,-1>;
  #local P03=<1,-1,-1>;
  #local P10=<-1,-1,1>;
  #local P11=<-1,1,1>;
  #local P12=<1,1,1>;
  #local P13=<1,-1,1>;
  #local R=0.01;
  cylinder{P00 P01 R}cylinder{P01 P02 R}
  cylinder{P02 P03 R}cylinder{P03 P00 R}
  cylinder{P10 P11 R}cylinder{P11 P12 R}
  cylinder{P12 P13 R}cylinder{P13 P10 R}
  cylinder{P00 P10 R}cylinder{P01 P11 R}
  cylinder{P02 P12 R}cylinder{P03 P13 R}
  sphere{P00 R}sphere{P01 R}sphere{P02 R}sphere{P03 R}
  sphere{P10 R}sphere{P11 R}sphere{P12 R}sphere{P13 R}
  #macro Cyl(R)
    #local R2=R*R;
    function{(x^2)+(y^2)-R2}
  #end
  isosurface{
    #local R0=0.3;
    #local R1=R0*1.2;
    #local H1=R1*sqrt(3);
    #local H2=H1/3;
    #local R2=0.9*H2;
    #local Cyl0=Cyl(R0)
    #local Cyl2=Cyl(R2)
    #local Thr=1/10^8;
    #local Shape=function{
      ( 1+Thr )
      -Thr^Cyl0(x+R1,y,z)
      -Thr^Cyl0(x-R1,y,z)
      -Thr^Cyl0(x,y-H1,z)
      -Thr^Cyl2(x,y-H2,z)
    }
    function{Shape(x,y,z)&(-z)}
    contained_by{box{P00,P12}}
    eval
    pigment{color rgb 0.5}
  }
  pigment{color rgb 1}
}

display_project(Model,0,0,0,color rgb 0)

// END

--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

From: Tom Melly
Subject: Re: strange wind effect
Date: 27 Jul 2001 15:49:06
Message: <3b61c5b2@news.povray.org>
Wlodzimierz ABX Skiba wrote in message <3b601471@news.povray.org>...

<snip>

Well, it LOOKS like a max_gradient or a max_trace problem, but

a) I assume you've ruled that out
and
b) I'm too pissed/stupid to understand your code

BTW is Wlodzimierz ABX Skiba anything to do with your actual name or are you
some kind of Tolkeinian OS? (told you I was a bit pissed).


Post a reply to this message

From: Simon
Subject: Re: strange wind effect
Date: 27 Jul 2001 16:20:22
Message: <3b61cd06@news.povray.org>
> I found some strange effect. It looks like the same problem as artefacts
noticed
> in isowooden throne (image on p.b.i) but much more dense. Below is source
code
> and image with the same title will be in p.b.i after moment. I have not
yet
> experimented with it but perhaps anybody can suggest solution ?

Use eval<1,1.941,1> or method 1.

BTW you shouldn't use your inc files in scenes that you post here


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: strange wind effect
Date: 27 Jul 2001 16:32:32
Message: <3b61cfe0@news.povray.org>
In article <3b61c5b2@news.povray.org> , "Tom Melly" <tom### [at] tomandlucouk> 
wrote:

> BTW is Wlodzimierz ABX Skiba anything to do with your actual name or are you
> some kind of Tolkeinian OS? (told you I was a bit pissed).

And what is this about?  Nobody forces you to reply to any message...

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: strange wind effect
Date: 30 Jul 2001 04:38:11
Message: <3b651cf3@news.povray.org>
Simon wrote in message <3b61cd06@news.povray.org>...
> > I found some strange effect. It looks like the same problem as artefacts
noticed
> > in isowooden throne (image on p.b.i) but much more dense. Below is source
code
> > and image with the same title will be in p.b.i after moment. I have not yet
> > experimented with it but perhaps anybody can suggest solution ?
>
> Use eval<1,1.941,1> or method 1.

I haven't tested this optional arg for eval but isn't method 1 default ?

> BTW you shouldn't use your inc files in scenes that you post here

My modelere include file was uploaded to this news server (I think to
p.b.scene-files). I just forgot remind of it, sorry.


--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: strange wind effect
Date: 30 Jul 2001 04:49:57
Message: <3b651fb5@news.povray.org>
Tom Melly wrote in message <3b61c5b2@news.povray.org>...
> Well, it LOOKS like a max_gradient or a max_trace problem, but
>
> a) I assume you've ruled that out

I've tested max_gradient = 1000 - no solution.
I don't think it's max_trace. Strange think is that it goes from left to right.
IMO it looks like it is something wrong with isoengine.

> b) I'm too pissed/stupid to understand your code

it's blobing of four isocylinders

> BTW is Wlodzimierz ABX Skiba anything to do with your actual name or are you
> some kind of Tolkeinian OS? (told you I was a bit pissed).

It is written according to pattern: NAME NICK SURNAME
where NICK is SURNAME contrariwise. All real values. :-)


--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

From: Simon
Subject: Re: strange wind effect
Date: 4 Aug 2001 15:35:40
Message: <3b6c4e8c@news.povray.org>
> I haven't tested this optional arg for eval but isn't method 1 default ?

method 1 is used if you write out the whole function within the isosurface.
method 2 is used if you #declare a function and use it in your isosurface.
With method 1 you wont have to specify a max_gradient or eval.


Post a reply to this message

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