POV-Ray : Newsgroups : povray.newusers : Help to emulate an image! Server Time
1 Nov 2024 02:21:02 EDT (-0400)
  Help to emulate an image! (Message 1 to 5 of 5)  
From: simplyfabio
Subject: Help to emulate an image!
Date: 16 Jun 2011 16:05:00
Message: <web.4dfa6100eaa66b33125c6ead0@news.povray.org>
Hi, i'm a new user, and i have to do for a course, this images: the inside of a
palace in rome.
So, using only few while cycle and macro, can anyone help me to do this in a
beautiful and simple way??? Please, is very important, thank you in anyway!

http://1.bp.blogspot.com/_Aq2WzR0aua8/RfBZBDnKEQI/AAAAAAAAAQU/HD1Q__Lm1Js/s500/nervi3.jpg

http://www.itgdellaporta.it/album/foto-album/Roma-2010/Nervi3-800.jpg

http://www.exibart.com/foto/80294.jpg


Post a reply to this message

From: clipka
Subject: Re: Help to emulate an image!
Date: 16 Jun 2011 18:42:51
Message: <4dfa86eb$1@news.povray.org>
Am 16.06.2011 22:01, schrieb simplyfabio:
> Hi, i'm a new user, and i have to do for a course, this images: the inside of a
> palace in rome.
> So, using only few while cycle and macro, can anyone help me to do this in a
> beautiful and simple way??? Please, is very important, thank you in anyway!

I'd suggest the following procedure:

(1) read any relevant written course material;

(2) if necessary read the "Getting Started" section in the docs, and 
look up "#while" and "#macro";

(3) toy around with them a bit;

(4) figure out the symmetric properties of that palace;

(5) try yourself, maybe starting with a somewhat simplified version of 
the palace;

(6) if you have any /specific/ questions or problems, ask here.


Don't expect anyone here to do your homework for you.


Post a reply to this message

From: simplyfabio
Subject: Re: Help to emulate an image!
Date: 17 Jun 2011 01:55:00
Message: <web.4dfaeb7b103be1cf50b8bec20@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 16.06.2011 22:01, schrieb simplyfabio:
> > Hi, i'm a new user, and i have to do for a course, this images: the inside of a
> > palace in rome.
> > So, using only few while cycle and macro, can anyone help me to do this in a
> > beautiful and simple way??? Please, is very important, thank you in anyway!
>
> I'd suggest the following procedure:
>
> (1) read any relevant written course material;
>
> (2) if necessary read the "Getting Started" section in the docs, and
> look up "#while" and "#macro";
>
> (3) toy around with them a bit;
>
> (4) figure out the symmetric properties of that palace;
>
> (5) try yourself, maybe starting with a somewhat simplified version of
> the palace;
>
> (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.
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....


Post a reply to this message

From: Stephen
Subject: Re: Help to emulate an image!
Date: 17 Jun 2011 03:23:31
Message: <4dfb00f3@news.povray.org>
On 17/06/2011 6:51 AM, simplyfabio wrote:
> 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.
> 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....

You might not realise that if you put a series of straight objects in a 
line and each object deviates slightly from the straight line of the 
previous object. It will look like a continuous curve.

I know that you want to do your own homework but below is an example of 
how a cylinder can be turned into a hoop. (The shorter the cylinder and 


Analyse your subject and break it down into separate patterns that you 
can model then combine them.
It might be an idea to work in 2D to start off with then move on to 3D.

#declare Cylinder0 =
cylinder {
  -0.50*y,0.50*y,1.0
  scale     <1.0,4.0,1.0>
  rotate    <0.0,0.0,90.0>
  translate <0.0,0.0,44.425>
}  // end Cylinder0

union {  // Object_Array0
  #declare Count = 0;
  #while( Count < 35 )

   object{ Cylinder0

    rotate <0.0*Count,5.0*Count,0.0*Count>
   }
   #declare Count = Count + 1;
  #end

texture {
   pigment {
     colour rgbft <1.000,1.000,1.000,0.000,0.000>
   }

   finish {
     ambient     rgb <0.100,0.100,0.100>
     brilliance  1.000
     diffuse     0.600

   }

}

}  // end Object_Array0
-- 
Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: Help to emulate an image!
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.