POV-Ray : Newsgroups : povray.general : Images on a Sphere Sweep Server Time
1 Nov 2024 01:25:17 EDT (-0400)
  Images on a Sphere Sweep (Message 1 to 4 of 4)  
From: Rick Measham
Subject: Images on a Sphere Sweep
Date: 10 Feb 2005 07:22:11
Message: <420b51f3$1@news.povray.org>
I'm using a sphere sweep for a cat5 cable (that blue ethernet cable 
hanging out the back of your computer). Along a real cable is a text 
designation declaring the cable to be cat5 (or 6). I want to include 
that in my model. However the shere sweep is (surprise!) not a straight 
line.

Is there any way to do this? What if the sweep was made up of many REAL 
spheres or cylinders (each cylinder would be a lot smaller than the text 
so I can't just put the text on every nth cylinder)

Any help, as usual, will be greatly appreciated.

Cheers!
Rick


Post a reply to this message

From: Mike Williams
Subject: Re: Images on a Sphere Sweep
Date: 10 Feb 2005 09:50:19
Message: <LwEhTAAkK3CCFwQk@econym.demon.co.uk>
Wasn't it Rick Measham who wrote:
>I'm using a sphere sweep for a cat5 cable (that blue ethernet cable 
>hanging out the back of your computer). Along a real cable is a text 
>designation declaring the cable to be cat5 (or 6). I want to include 
>that in my model. However the shere sweep is (surprise!) not a straight 
>line.
>
>Is there any way to do this? What if the sweep was made up of many REAL 
>spheres or cylinders (each cylinder would be a lot smaller than the text 
>so I can't just put the text on every nth cylinder)
>
>Any help, as usual, will be greatly appreciated.

I guess you need uv_mapping, but that's not currently available for
sphere sweeps. What you might be able to do is to use the SweepSpline
macro to produce a mesh that closely approximates the sphere sweep,
since uv_mapping is available for meshes.

See the last section of page
<http://www.econym.demon.co.uk/isotut/more.htm>

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Mienai
Subject: Re: Images on a Sphere Sweep
Date: 11 Feb 2005 12:55:01
Message: <web.420cefed5d0d0bd2fcabfe660@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> Wasn't it Rick Measham who wrote:
> >I'm using a sphere sweep for a cat5 cable (that blue ethernet cable
> >hanging out the back of your computer). Along a real cable is a text
> >designation declaring the cable to be cat5 (or 6). I want to include
> >that in my model. However the shere sweep is (surprise!) not a straight
> >line.
> >
> >Is there any way to do this? What if the sweep was made up of many REAL
> >spheres or cylinders (each cylinder would be a lot smaller than the text
> >so I can't just put the text on every nth cylinder)
> >
> >Any help, as usual, will be greatly appreciated.
>
> I guess you need uv_mapping, but that's not currently available for
> sphere sweeps. What you might be able to do is to use the SweepSpline
> macro to produce a mesh that closely approximates the sphere sweep,
> since uv_mapping is available for meshes.
>
> See the last section of page
> <http://www.econym.demon.co.uk/isotut/more.htm>
>
> --
> Mike Williams
> Gentleman of Leisure


I'm a newbie, but I would think that if you're able to do a cylindrical
image map and somehow use a spline for a path with it, it might work?  just
an idea.


Post a reply to this message

From: Chris B
Subject: Re: Images on a Sphere Sweep
Date: 11 Feb 2005 17:12:47
Message: <420d2ddf@news.povray.org>
"Rick Measham" <nomail@nomail> wrote in message
news:420b51f3$1@news.povray.org...
> I'm using a sphere sweep for a cat5 cable (that blue ethernet cable
> hanging out the back of your computer). Along a real cable is a text
> designation declaring the cable to be cat5 (or 6). I want to include
> that in my model. However the shere sweep is (surprise!) not a straight
> line.
>
> Is there any way to do this? What if the sweep was made up of many REAL
> spheres or cylinders (each cylinder would be a lot smaller than the text
> so I can't just put the text on every nth cylinder)
>
> Any help, as usual, will be greatly appreciated.
>
> Cheers!
> Rick

Why not cut text, made with the text object out of the side of the sphere
sweep.
You can use the Spline_Trans() macro from "transforms.inc" to position it
along a cubic spline, so as long as you use the cubic spline for your sphere
sweep too, then it should line all up.
I've put a sample source file on povray.binaries.scene-files and an image on
povray.binaries.images.
(see "Text on Sphere Sweep")

Chris B.


Post a reply to this message

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