POV-Ray : Newsgroups : povray.binaries.images : UV mapping of spheresweep Server Time
29 Jul 2024 20:13:05 EDT (-0400)
  UV mapping of spheresweep (Message 11 to 20 of 37)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Le Forgeron
Subject: Re: UV mapping of spheresweep
Date: 16 Feb 2014 14:38:21
Message: <530113ad$1@news.povray.org>
Le 16/02/2014 20:27, LanuHum nous fit lire :
> Stephen <mca### [at] aolcom> wrote:
> 
>>      Stephen
> 
> Le Forgeron, very much I ask to excuse that I and Stephen littered in this
> subject.
> I nevertheless will repeat the question: Your links are full Povray  with a
> patch
> (uv mapping in sphere_sweep)???

My links are repositories, full Povray for Unix, as source.

There is various patches inside them. If you only want uv-mapping of
sphere_sweep, look at the latest commit (as per mid-February 2014).

Only impacted files for that patch are sphsweep.cpp & sphsweep.h


Post a reply to this message

From: LanuHum
Subject: Re: UV mapping of spheresweep
Date: 17 Feb 2014 11:40:01
Message: <web.53023a4330311f0c7a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

>
> My links are repositories, full Povray for Unix, as source.
>
> There is various patches inside them. If you only want uv-mapping of
> sphere_sweep, look at the latest commit (as per mid-February 2014).
>
> Only impacted files for that patch are sphsweep.cpp & sphsweep.h

I understood, thanks.


Post a reply to this message

From: Le Forgeron
Subject: Re: UV mapping of spheresweep
Date: 17 Feb 2014 13:37:11
Message: <530256d7$1@news.povray.org>
Le 16/02/2014 11:55, Le_Forgeron nous fit lire :
> Not official, but at least now available in patched version.
> 
> For git addicts:
>  https://github.com/LeForgeron/Hgpovray
> 
> For mercurial addicts:
>  https://bitbucket.org/LeForgeron/hgpovray
> 

If you want a version far more close to 3.7 (at least the master
branch), you can also see:

https://github.com/LeForgeron/povray

Current delta from master of 3.7 is:
1. Displaying more details about error on the command line for Unix
2. uv_mapping support for sphere_sweep (with correction of FS#243 to
support negative scaling without getting negative radius for spheres)


Post a reply to this message

From: Robert McGregor
Subject: Re: UV mapping of spheresweep
Date: 17 Feb 2014 14:25:01
Message: <web.5302612130311f0c91114470@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 16/02/2014 11:55, Le_Forgeron nous fit lire :
> > Not official, but at least now available in patched version.

That's great news!

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


Post a reply to this message

From: Robert McGregor
Subject: Re: UV mapping of spheresweep
Date: 18 Feb 2014 18:55:01
Message: <web.5303f2a030311f0c91114470@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Not official, but at least now available in patched version.

I added your patch to my Windows version of 3.7 and the UVs work perfectly! This
is the gradient along a curve we've been waiting for :)

Here is the example sphere_sweep that LanuHum posted yesterday, using this
simple texture to test the gradient:

  texture { uv_mapping
     pigment { gradient u color_map { [0 srgb <1,0,0>][1 srgb <0,1,0>] } }
  }

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


Post a reply to this message


Attachments:
Download 'sphere_sweep_uv_gradient.png' (224 KB)

Preview of image 'sphere_sweep_uv_gradient.png'
sphere_sweep_uv_gradient.png


 

From: Robert McGregor
Subject: Re: UV mapping of spheresweep
Date: 18 Feb 2014 21:05:01
Message: <web.5304103c30311f0c91114470@news.povray.org>
This also gives us variable transparency, reflectivity, etc. along a curve by
using UVd color maps, pigment maps, texture maps, image_pattern, etc. :)

Here's some variable transparency and gradient along a curve. For me this is the
best thing since SSLT.

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


Post a reply to this message


Attachments:
Download 'sphere_sweep_uv_gradient_trans.png' (333 KB)

Preview of image 'sphere_sweep_uv_gradient_trans.png'
sphere_sweep_uv_gradient_trans.png


 

From: And
Subject: Re: UV mapping of spheresweep
Date: 22 Feb 2014 22:40:00
Message: <web.53096cbc30311f0c2001f3820@news.povray.org>
"Robert McGregor" <rob### [at] mcgregorfineartcom> wrote:
> Le_Forgeron <jgr### [at] freefr> wrote:
> > Not official, but at least now available in patched version.
>
> I added your patch to my Windows version of 3.7 and the UVs work perfectly! This
> is the gradient along a curve we've been waiting for :)
>
> Here is the example sphere_sweep that LanuHum posted yesterday, using this
> simple texture to test the gradient:
>
>   texture { uv_mapping
>      pigment { gradient u color_map { [0 srgb <1,0,0>][1 srgb <0,1,0>] } }
>   }
>
> -------------------------------------------------
> www.McGregorFineArt.com

Wow, this is beautiful and attractive.


Post a reply to this message

From: LanuHum
Subject: Re: UV mapping of spheresweep
Date: 2 Mar 2014 09:35:00
Message: <web.5313409230311f0c7a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

> If you want a version far more close to 3.7 (at least the master
> branch), you can also see:
>
> https://github.com/LeForgeron/povray
>
> Current delta from master of 3.7 is:
> 1. Displaying more details about error on the command line for Unix
> 2. uv_mapping support for sphere_sweep (with correction of FS#243 to
> support negative scaling without getting negative radius for spheres)

Today I could collect the program from this address.
As image_map I used a simple grid with the alpha channel:
http://news.povray.org/povray.binaries.images/attachment/%3Cweb.53122820745dbc337a3e03fe0%40news.povray.org%3E/grid.png

I saw some artifacts. Probably, sometime you will correct it


Post a reply to this message


Attachments:
Download 'uv_ss.jpg' (109 KB)

Preview of image 'uv_ss.jpg'
uv_ss.jpg


 

From: Le Forgeron
Subject: Re: UV mapping of spheresweep
Date: 2 Mar 2014 11:50:24
Message: <53136150$1@news.povray.org>
Le 02/03/2014 15:30, LanuHum nous fit lire :
> Le_Forgeron <jgr### [at] freefr> wrote:
> 
>> If you want a version far more close to 3.7 (at least the master
>> branch), you can also see:
>>
>> https://github.com/LeForgeron/povray
>>
>> Current delta from master of 3.7 is:
>> 1. Displaying more details about error on the command line for Unix
>> 2. uv_mapping support for sphere_sweep (with correction of FS#243 to
>> support negative scaling without getting negative radius for spheres)
> 
> Today I could collect the program from this address.
> As image_map I used a simple grid with the alpha channel:
>
http://news.povray.org/povray.binaries.images/attachment/%3Cweb.53122820745dbc337a3e03fe0%40news.povray.org%3E/grid.png
> 
> I saw some artifacts. Probably, sometime you will correct it
> 
If you can provide the source of the scene, it would help to try to look
at the problem.


Post a reply to this message

From: LanuHum
Subject: Re: UV mapping of spheresweep
Date: 2 Mar 2014 14:00:02
Message: <web.53137f3230311f0c7a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

> >
> If you can provide the source of the scene, it would help to try to look
> at the problem.

Yes, please:

global_settings {
    assumed_gamma 1.0
    max_trace_level 3
}
background {rgbt<0.0446, 0.393, 0.0561, 0>}
#declare Material_finish = finish {
    specular 0.5
    roughness 0.01
    diffuse  0.8
    conserve_energy
}

#declare Texture = pigment{ uv_mapping
    image_map {
        "/home/leonid/grid.png"
    map_type 0 interpolate 2 filter all 0 transmit all 0 }
    frequency 2
}
#declare Material_tex =
texture {pigment {Texture} finish{Material_finish}}
#declare NurbsCurve_ob =
sphere_sweep { b_spline 7,
    <-3.249,-2.335,3.579>,0.3,
    <1.725,-0.3244,-3.686>,0.3,
    <0.06965,0.4773,-0.3503>,0.3,
    <0.9734,-1.185,1.429>,0.3,
    <4.175,-0.5368,-1.268>,0.3,
    <1.912,1.562,-1.22>,0.3,
    <-1.916,2.099,-1.6>,0.3
    scale <2.075,2.075,2.075>
    rotate <-2.504e-06,-0,0>
    translate <-2.452184, 1.506530, 1.531251>
}
object {NurbsCurve_ob
    texture{Material_tex}
}
light_source {
    <4.08,5.9,-1.01>
    color rgb<1, 1, 1>
}
camera {
    location  <0, 0, 0>
    look_at  <0, 0, -1>
    right <-1.6077777759896383, 0, 0>
    up <0, 1, 0>
    angle  49.134343
    rotate  <-27.098163, 46.688390, -0.903519>
    translate <7.481132, 5.343666, 6.507640>
}


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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