POV-Ray : Newsgroups : povray.newusers : Helixes Server Time
25 Nov 2024 22:55:31 EST (-0500)
  Helixes (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Oleguer Vilella
Subject: Helixes
Date: 6 Feb 2005 11:53:14
Message: <42064b7a@news.povray.org>
Hi all,

I will post an object on povray.binaries.images
I'm traying to make this object using POV-Ray. I was traying doing it like 
an helix with some different functions, the problem is that I don't know how 
can I do the extensions.
A code to do this kind of helix can be this:
======================================


#declare R3=2.;  //Mayor radio del toro.





#declare DNA=function { f_helix1 (x-R3, y, z, Strands, Turns, R1, R2, 1, 1, 
0) }

isosurface {
function { DNA (f_r(x, z, y), f_th (x, z, y), z) }
max_gradient 1.3
contained_by { sphere { 0, 3 } }
scale 1.5
translate x*5
rotate x*25
pigment { rgb 1 }
}
======================================
Am I wrong?

I was also thinking about splines, but I think that easiest way to do it is 
using a function.

Thanks in advance,
Oleguer


Post a reply to this message

From: St 
Subject: Re: Helixes
Date: 6 Feb 2005 13:49:54
Message: <420666d2@news.povray.org>
"Oleguer Vilella" <ole### [at] infonegociocom> wrote in message 
news:42064b7a@news.povray.org...

  Well, the way I see it, is if you don't want a gap in the coil, (as in 
your image), then you could *fake* it with stacked/angled torii, and then 
use sphere_sweeps for the ends? (I have no experience of sphere_sweeps 
though...)

   Looks interesting. Celtic?

     ~Steve~


> Oleguer
>


Post a reply to this message

From: Oleguer Vilella
Subject: Re: Helixes
Date: 6 Feb 2005 15:14:43
Message: <42067ab3@news.povray.org>
Well, I want to make an object like the object that I've posted.
A torii to make this kind of helix? A torii is a torus?
A sphere_sweep is like a spline. I've still never trayed.

What do you with Celtic?

Thanks,
Oleguer




>
> "Oleguer Vilella" <ole### [at] infonegociocom> wrote in message 
> news:42064b7a@news.povray.org...
>
>  Well, the way I see it, is if you don't want a gap in the coil, (as in 
> your image), then you could *fake* it with stacked/angled torii, and then 
> use sphere_sweeps for the ends? (I have no experience of sphere_sweeps 
> though...)
>
>   Looks interesting. Celtic?
>
>     ~Steve~
>
>
>> Oleguer
>>
>


Post a reply to this message

From: Stephen McAvoy
Subject: Re: Helixes
Date: 6 Feb 2005 15:46:51
Message: <rh0d0113nhkkei9t0jdlc35qhk0rqrssko@4ax.com>
On Sun, 6 Feb 2005 20:12:53 +0100, "Oleguer Vilella"
<ole### [at] infonegociocom> wrote:

>What do you with Celtic?
A race of people that live in North West Spain, South West France,
Ireland, Scotland and Wales.

Regards
        Stephen


Post a reply to this message

From: Oleguer Vilella
Subject: Re: Helixes
Date: 6 Feb 2005 15:50:15
Message: <42068307@news.povray.org>
Ah, all right. Understood now.

That's a kind of protein.

Regards,
Oleguer




news:rh0d0113nhkkei9t0jdlc35qhk0rqrssko@4ax.com...
> On Sun, 6 Feb 2005 20:12:53 +0100, "Oleguer Vilella"
> <ole### [at] infonegociocom> wrote:
>
>>What do you with Celtic?
> A race of people that live in North West Spain, South West France,
> Ireland, Scotland and Wales.
>
> Regards
>        Stephen


Post a reply to this message

From: Marc Jacquier
Subject: Re: Helixes
Date: 6 Feb 2005 15:59:22
Message: <4206852a@news.povray.org>

news:rh0d0113nhkkei9t0jdlc35qhk0rqrssko@4ax.com...
> On Sun, 6 Feb 2005 20:12:53 +0100, "Oleguer Vilella"
> <ole### [at] infonegociocom> wrote:
>
> >What do you with Celtic?
> A race of people that live in North West Spain, South West France,

North West of France my friend :)  south west is Basque

> Ireland, Scotland and Wales.
>
> Regards
>         Stephen

BTW it is a population, an ethnic group, it was an antic civilization if you
want but there is only one human race: human :)

Marc


Post a reply to this message

From: Oleguer Vilella
Subject: Re: Helixes
Date: 6 Feb 2005 16:47:48
Message: <42069084@news.povray.org>
BTW is an ethnic group? Well I've known new things about population. All is 
interesting.

Any ideas about my question?

Thanks,
Oleguer




news:4206852a@news.povray.org...
>

> news:rh0d0113nhkkei9t0jdlc35qhk0rqrssko@4ax.com...
>> On Sun, 6 Feb 2005 20:12:53 +0100, "Oleguer Vilella"
>> <ole### [at] infonegociocom> wrote:
>>
>> >What do you with Celtic?
>> A race of people that live in North West Spain, South West France,
>
> North West of France my friend :)  south west is Basque
>
>> Ireland, Scotland and Wales.
>>
>> Regards
>>         Stephen
>
> BTW it is a population, an ethnic group, it was an antic civilization if 
> you
> want but there is only one human race: human :)
>
> Marc
>
>


Post a reply to this message

From: Stephen McAvoy
Subject: Re: Helixes
Date: 7 Feb 2005 00:28:26
Message: <6tud015nskiuf47vqfor414scd09sh6cpi@4ax.com>
On Sun, 6 Feb 2005 22:00:04 +0100, "Marc Jacquier"
<jac### [at] wanadoofr> wrote:

>North West of France my friend :)  south west is Basque

Opps! I put all my kelts in one Basque-et :-)


Regards
        Stephen


Post a reply to this message

From: Stephen McAvoy
Subject: Re: Helixes
Date: 7 Feb 2005 00:54:50
Message: <9l0e019j6td8vnhg9t65223v7aknvk5tpn@4ax.com>
On Sun, 6 Feb 2005 21:46:02 +0100, "Oleguer Vilella"
<ole### [at] infonegociocom> wrote:

>Any ideas about my question?

Here is a macro given to me by Frank Sputnik some time ago. It is set
up for Moray so I have included the camera and lights. (Moray uses an
alternative coordinate system)
To increase the gap make SpringHeight > 2;

camera {  //  Camera Camera01
  location  <    -11.670,      -2.337,       3.715>
  sky       <    0.00000,     0.00000,     1.00000> // Use right
handed-system 
  up        <        0.0,         0.0,         1.0> // Where Z is up
  right     <    1.35783,         0.0,         0.0> // Right Vector is
adjusted to compensate for spherical (Moray) vs. planar (POV-Ray)
aspect ratio
  angle         39.60000    // Vertical      29.700
  look_at   <     -0.009,      -2.008,      -0.258>
}


light_source {   // Light001
  <0.0, 0.0, 0.0>
  color rgb <1.000, 1.000, 1.000>
  photons {
  }
  translate  <-14.750343, -4.685895, 19.073553>
}

// Spring
#declare SpringHeight = 2;
#declare SpringMajorRadius = 1;
#declare SpringMinorRadius = .1;
#declare SpringRevolutions = 10;
#declare SpringSegments = 1000;

union
{
  #declare Ind = 0;
  #while(Ind <= SpringSegments)
    #declare Pos2 =
      vrotate(<SpringMajorRadius, SpringHeight*Ind/SpringSegments, 0>,
              y*360*SpringRevolutions*Ind/SpringSegments);
    #if(Ind > 0)
      cylinder { Pos1, Pos2, SpringMinorRadius }
      sphere { Pos2, SpringMinorRadius }
    #end
    #declare Pos1 = Pos2;
    #declare Ind = Ind+1;
  #end

  pigment { rgb 1 } finish { specular .5 }
  translate -y*4
}



Regards
        Stephen


Post a reply to this message

From: Marc Jacquier
Subject: Re: Helixes
Date: 7 Feb 2005 02:59:11
Message: <42071fcf$1@news.povray.org>

news:42069084@news.povray.org...
> BTW is an ethnic group? Well I've known new things about population. All
is
> interesting.
>
> Any ideas about my question?
>
Sorry for that off topic drift  and I had no answer to your question.

Marc


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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