|
|
Op 24/10/2019 om 14:57 schreef ale### [at] gmailcom:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> Op 22/10/2019 om 12:05 schreef ale### [at] gmailcom:
>>> Hello Everybody ,i'm new to Pov Ray engine.
>>> I need to draw powerline wire on a background png image that i've in my pc.
>>> I have tried using sphere_sweep but the result are not really encouraging.
>>>
>>>
>>
>> I think you may be helped with one or both attached applications. One is
>> by Lance Purple, the other by PM 2Ring. They show how to model catenaries.
>>
>> --
>> Thomas
>
> In catenary.zip is used torus as connecting elements ,is it possibile to use
> other object to make something like a power line wires ? i think cylinder is the
> right choice but i don't know who to insert it in che catenary
>
It is not said explicitly in catenary.txt, but you can use any object
you want as a link. The torus is of course the most adapted for a chain
object.
So, you can use cylinders instead. you just have to be careful that the
initial object (i.e. the cylinder) is declared at the origin, and at the
proper scale.
As a test use the P2R_Catenary.pov scene file for experimenting. Under
the line where the Torus object is declared, insert:
#declare Cylinder = cylinder {<-1, 0, 0>, <1, 0, 0>, 0.25 scale 0.1
texture{T_Gold_3D}}
Then, in the Chain parameters section a few lines lower, replace:
#declare Link = Torus;
by:
#declare Link = Cylinder;
Now, render the scene and you will see what you wanted. ;-)
By replacing the torus by a cylinder, you can play with the other
parameters. So, for instance, Alternate and AltPhase can be switched
"off" (=0) instead of "on" (=1)
Play also with the scale of the original link element. Make it fatter or
slimmer, longer or shorter, and see what happens.
--
Thomas
Post a reply to this message
|
|
|
|
Op 27/10/2019 om 21:51 schreef Bald Eagle:
>
> Thomas de Groot <tho### [at] degrootorg> wrote:
>
>> It is not said explicitly in catenary.txt, but you can use any object
>> you want as a link. The torus is of course the most adapted for a chain
>> object.
>
> Chain-maker :)
> https://www.youtube.com/watch?v=TGIUbpMFeas
>
>
Oh! LOL! Now, I suppose, we are expected to model this hellish
contraption?!? It would be a proper Steam Punk project indeed.
Well spotted. Going from cylinder to torus...
In a distant past (before I saw the light with POV-Ray) I composed
music. The sound track of this video would have been inspirational ;-)
--
Thomas
Post a reply to this message
|
|