POV-Ray : Newsgroups : povray.unofficial.patches : Cone Server Time
1 Sep 2024 14:33:47 EDT (-0400)
  Cone (Message 1 to 5 of 5)  
From: Jason Scott
Subject: Cone
Date: 20 Feb 2001 19:33:14
Message: <3a930cca@news.povray.org>
Does anyone have the code to make a cone bend using an isosurface I am not
good at using it yet but I am making a scene using curved cone. So if you
willing to post the code for me it would be of great help to me. Thanks for
all your troubles.

--
Jason S


Post a reply to this message

From: Martial
Subject: Re: Cone
Date: 20 Feb 2001 20:06:45
Message: <3A9314C3.8D18233B@chello.fr>
//=====POV CODE ===========
#version unofficial MegaPOV 0.6; // 0.7
camera{  location  <1, 4, -20.0> direction 2*z   right  x*1.33
look_at   <0.0, 1.5,  0.0>}
background{color rgb <.3,.5,.3>}
light_source{<100,100,-100> color rgb <.9,.9,1>*2}
//--------------------------------------------------

#declare  F = function {x^2 + y + z^2 - 1}
                                                                   
      isosurface {
             function { F(x,y,z) }
             accuracy 0.001
             max_gradient 10
            contained_by {box {<-1,0,-1><1,1,1>}}
            texture{pigment{rgb <1,.2,.1>}}
            scale 3
}                    

//===ENd CODE========
-- 
Martial
 mailto:Mar### [at] chellofr 
 http://martial.rameaux.free.fr


Post a reply to this message

From: Martial
Subject: Re: Cone
Date: 20 Feb 2001 20:10:36
Message: <3A9315AD.41B74315@chello.fr>
#declare F = function {"PH"}
           
                   
      isosurface {
             function { F(x,y,z) }
             threshold .5
             accuracy 0.001
             max_gradient 10
            contained_by {sphere  {0,1}}
            texture{pigment{rgb <1,.2,.1>}}
            scale 3
           }                    
-- 
Martial


Post a reply to this message

From: Jason Scott
Subject: Re: Cone
Date: 20 Feb 2001 21:36:21
Message: <3a9329a5@news.povray.org>
Hey Martial thanx for that code but I had a different idea. I needed a cone
that bends. I posted a image in p.b.i. that I made in Rhino 3D.  I hope the
image helps.

 --
Jason S


Post a reply to this message

From: Christoph Hormann
Subject: Re: Cone
Date: 21 Feb 2001 04:27:21
Message: <3A9389F9.183C1489@gmx.de>
Jason Scott wrote:
> 
> Hey Martial thanx for that code but I had a different idea. I needed a cone
> that bends. I posted a image in p.b.i. that I made in Rhino 3D.  I hope the
> image helps.
> 

I use some distortion routine in my IsoWood include:

http://www.schunter.etc.tu-bs.de/~chris/iso_wood.html

look at the Wood_Plank_02N macro code for example.  It should work with a
mathematical function as well as with the noise3d used there.

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.