POV-Ray : Newsgroups : povray.newusers : Help to emulate an image! : Re: Help to emulate an image! Server Time
1 Jul 2024 01:07:00 EDT (-0400)
  Re: Help to emulate an image!  
From: clipka
Date: 17 Jun 2011 09:56:28
Message: <4dfb5d0c$1@news.povray.org>
Am 17.06.2011 07:51, schrieb simplyfabio:
> clipka<ano### [at] anonymousorg>  wrote:
>> Am 16.06.2011 22:01, schrieb simplyfabio:

>> (6) if you have any /specific/ questions or problems, ask here.
>>
>>
>> Don't expect anyone here to do your homework for you.
>
> Thanks for reply!
> Then, i know thatt anyone make it for me! I've only asked some help input to
> follow and try by myself.

Sorry if I sounded excessively harsh, but your original posting was 
pretty unspecific; now this:

> I've studied it, and The only thing where i found problem is write a function
> for one of that "arms". It is like a parabolic arc curved in two dimension, or a
> sinxsinx function from 0 and pi/2 and mirrored... I don't know....

... is what I'd call a specific question.

It seems to me that the "nodes" in the roof lie on circles having a 
constant distance to one another, so that's what I'd try as a first 
approach; i.e., each arc would follow a curve defined by:

     y = sin(alpha)
     x = cos(alpha) * cos(beta)
     z = cos(alpha) * sin(beta)

     beta = alpha * const1 + const2

where alpha is the "elevation" angle, and beta is the angle of rotation 
about the vertical. const1 would be the same for all arcs, while const2 
would be different for each arc

Of course the coordinate origin would be way below the surface.


If that turns out to not match the geometry, here's a few other 
approaches that might make some sense:

- Presume that the "nodes" lie on circles having a constant /horizintal/ 
distance to each other, and that they lie on a sphere.

- Presume that the "nodes" lie on circles having a constant /horizintal/ 
distance to each other, and that they lie on a parabola.

- Presume that the distances between any two nodes on the same arc are 
constant, and that they lie on a sphere.

- Presume that the distances between any two nodes on the same arc are 
constant, and that they lie on a parabola.


In any case, it is a pretty safe bet that the roof is either a spherical 
section or - actually even more likely - a parabola.


Post a reply to this message

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