POV-Ray : Newsgroups : povray.binaries.images : Sphere_sweep: gradient along a curve. Server Time
1 Nov 2024 06:18:24 EDT (-0400)
  Sphere_sweep: gradient along a curve. (Message 1 to 10 of 51)  
Goto Latest 10 Messages Next 10 Messages >>>
From: LanuHum
Subject: Sphere_sweep: gradient along a curve.
Date: 22 Jan 2014 12:05:00
Message: <web.52dff97746aac96b7a3e03fe0@news.povray.org>
Hi!
Sorry!
For creation and a coloring of this curve I used while
I want to learn, whether it is possible to paint so sphere_sweep? I can't.
Povray doesn't want to create 4000 curves using while: it is a big problem at
creation of hair. :(

Thanks!


Post a reply to this message


Attachments:
Download 'povwip.png' (18 KB)

Preview of image 'povwip.png'
povwip.png


 

From: Le Forgeron
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 22 Jan 2014 13:49:26
Message: <52e012b6@news.povray.org>
Le 22/01/2014 18:02, LanuHum nous fit lire :
> Hi!
> Sorry!
> For creation and a coloring of this curve I used while
> I want to learn, whether it is possible to paint so sphere_sweep? I can't.
> Povray doesn't want to create 4000 curves using while: it is a big problem at
> creation of hair. :(

One rule of povray: the pattern/color is 3D distributed, the shape is
just immersed in the pattern.
(forget about UV-mapping)


Post a reply to this message

From: LanuHum
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 22 Jan 2014 14:00:01
Message: <web.52e014bba5ee4db87a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

>
> One rule of povray: the pattern/color is 3D distributed, the shape is
> just immersed in the pattern.
> (forget about UV-mapping)

I understood nothing :(


Post a reply to this message

From: Robert McGregor
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 22 Jan 2014 16:00:01
Message: <web.52e0313ba5ee4db891114470@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> Le_Forgeron <jgr### [at] freefr> wrote:
>
> >
> > One rule of povray: the pattern/color is 3D distributed, the shape is
> > just immersed in the pattern.
> > (forget about UV-mapping)
>
> I understood nothing :(

Let me try; the sphere_sweep is not UV mapped, it only displays patterns that
are distributed across it through 3D world space. That means a gradient won't
work like it would on a UV map.

You could normalize the texture distribution on the sweep first, over a certain
axis, then transform it into position to maintain those colors...

-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message

From: Robert McGregor
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 22 Jan 2014 16:05:01
Message: <web.52e03238a5ee4db891114470@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> Le_Forgeron <jgr### [at] freefr> wrote:
>
> >
> > One rule of povray: the pattern/color is 3D distributed, the shape is
> > just immersed in the pattern.
> > (forget about UV-mapping)
>
> I understood nothing :(

Could also save UV mapped parametric mesh representations of the sweeps and
render those just as one normally would expect the hair to be textured.

-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message

From: FractRacer
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 22 Jan 2014 16:12:18
Message: <52e03432$1@news.povray.org>

> Hi!
> Sorry!
> Povray doesn't want to create 4000 curves using while: it is a big problem at
> creation of hair. :(
>
> Thanks!
>
If I understand you want to create more than 4000 curves using while and 
sphere_sweep?

-- 
Do not judge my words, judge my actions.

---

http://www.avast.com


Post a reply to this message

From: And
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 23 Jan 2014 01:40:00
Message: <web.52e0b8b1a5ee4db86e3fa5c50@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> One rule of povray: the pattern/color is 3D distributed, the shape is
> just immersed in the pattern.
> (forget about UV-mapping)

That's right. It's just like that object intersect the pattern.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 23 Jan 2014 03:14:27
Message: <52e0cf63$1@news.povray.org>
On 22-1-2014 22:03, Robert McGregor wrote:
> Could also save UV mapped parametric mesh representations of the sweeps and
> render those just as one normally would expect the hair to be textured.

Interesting, but I am lost about your two solutions ;-) would you mind 
to give us a little piece of code?

Thomas


Post a reply to this message

From: FractRacer
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 23 Jan 2014 07:01:46
Message: <52e104aa@news.povray.org>


>> Hi!
>> Sorry!
>> Povray doesn't want to create 4000 curves using while: it is a big
>> problem at
>> creation of hair. :(
>>
>> Thanks!
>>
> If I understand you want to create more than 4000 curves using while and
> sphere_sweep?
>

This image contains 5000 curves made with sphere_sweep and a while loop. 
It is that you want?

-- 
Do not judge my words, judge my actions.


---

http://www.avast.com


Post a reply to this message


Attachments:
Download 'call_rand_curve_test_hair.bmp.dat' (586 KB)

From: LanuHum
Subject: Re: Sphere_sweep: gradient along a curve.
Date: 23 Jan 2014 11:15:00
Message: <web.52e13f37a5ee4db87a3e03fe0@news.povray.org>
Hair in a blender are presented by the array from splines.
Developers of the official version of the Blender2Povray exporter used these
splines for sphere_sweeps array creation.
Povray counts sphere_sweep enough, but,

I had an idea to streak hair, to decolour tips of hair as it is done by some
people in beauty shops or hairdressing salons.

I tried to paint sphere_sweep as necessary.
At me it didn't turn out.

Therefore I addressed to other way to use the array of splines of the Blender:
while
But, I can't use the second way to receive all hair: the system hangs.

Therefore here I asked a question of opportunity correctly to paint sphere_sweep
From all comments I understood that such opportunity isn't present.
I can't make transformation of hair after texturing
Maximum of hair by means of while


Post a reply to this message


Attachments:
Download 'povhair.png' (397 KB)

Preview of image 'povhair.png'
povhair.png


 

Goto Latest 10 Messages Next 10 Messages >>>

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