POV-Ray : Newsgroups : povray.general : Code enquiry : Re: Code enquiry Server Time
5 Feb 2023 00:12:22 EST (-0500)
  Re: Code enquiry  
From: Bald Eagle
Date: 17 Jan 2023 14:05:00
Message: <web.63c6f07fabce3b531f9dae3025979125@news.povray.org>
"santividal" <san### [at] santividales> wrote:
> Hi guys,

Welcome.

> I need to design something in POV RAY for a school project, but I am quite a
> newcomer to the software. If I could get help from any of you, it would be
> amazing. I am looking for the following design, a spiral pipe that is similar to
> the one in the background of the attached image.

Should be a pretty straightforward scene of a few cylinders.

> The code for the pipe includes
> a "dots.txt" file that I have, where the first number indicates the quantity of
> dots contained in the file, and then each point is a 3D vector that defines
> bottom and cap of a series of cylinders that form the "walls" of the pipe. The
> first pair of cylinders are in the dots 1 and 51 and 1 and 52, and the second
> par of cylinders are in the dots number 2 and 52 and 2 and 53. And so on.

I'd look at this thread:
http://news.povray.org/povray.windows/thread/%3Cweb.58d90246d665dbbed33c50560%40news.povray.org%3E/

so you can see how data is read from a file and used in a scene.
Also, wiki.povray.org has all of the current documentation, so you can search
for keywords and see what syntax they use, sometimes with examples.

If you post the dots.txt as an attachment, then it would be a lot easier to see
what needs to be done.


Post a reply to this message

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