 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
The end of object:
texture {
uv_mapping
pigment {
checker
pigment { color srgbft CHSV2RGB(<40,1,1>) }
pigment { color srgbft CHSV2RGB(<20,1,1>) }
scale <1/192,1/12,1>
}
finish { Shiny }
Post a reply to this message
Attachments:
Download 'swuv0.png' (124 KB)
Download 'swuv1.png' (137 KB)
Download 'swuv2.png' (128 KB)
Preview of image 'swuv0.png'

Preview of image 'swuv1.png'

Preview of image 'swuv2.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> wrote:
> Not official, but at least now available in patched version.
Thanks! Thank you!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 16/02/2014 2:27 PM, LanuHum wrote:
> Le_Forgeron <jgr### [at] free fr> wrote:
>> Not official, but at least now available in patched version.
>
> Thanks! Thank you!
>
>
LanuHum, I would like to try your exporter. Would you post a link?
Thanks in advance.
--
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I have ever heared that POV-Ray's sphere sweep has bug, don't know what it is.
And has it been resolved?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 16/02/2014 17:34, And nous fit lire :
> I have ever heared that POV-Ray's sphere sweep has bug, don't know what it is.
> And has it been resolved?
>
There is two/three kind of bug, presently, on sphere sweep in povray 3.7:
1. homogeneous scaling by negative factor also affect the radius of the
spheres (do not do that, or see flyspray entry for a correction)
2. solver might display artefact when the segment is perpendicular to
the ray
3. when using a non linear_spline, the computation of the bounding box
might be so wrong, better manually bound it if you can.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Stephen <mca### [at] aol com> wrote:
>
>
> LanuHum, I would like to try your exporter. Would you post a link?
>
> Thanks in advance.
>
> --
> Regards
> Stephen
Create a subject on this site where we will speak about my exporter. I still
badly think where me to be sheltered.
I will see you in Message Digest
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> wrote:
> Le 16/02/2014 17:34, And nous fit lire :
> > I have ever heared that POV-Ray's sphere sweep has bug, don't know what it is.
> > And has it been resolved?
> >
> There is two/three kind of bug, presently, on sphere sweep in povray 3.7:
>
> 1. homogeneous scaling by negative factor also affect the radius of the
> spheres (do not do that, or see flyspray entry for a correction)
> 2. solver might display artefact when the segment is perpendicular to
> the ray
> 3. when using a non linear_spline, the computation of the bounding box
> might be so wrong, better manually bound it if you can.
Oh, thank you. That sound it is good enough.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> wrote:
> For mercurial addicts:
> https://bitbucket.org/LeForgeron/hgpovray
In your address
Owner
Jérôme Grimbert
Access level
Public
Type
Mercurial
Language
C++
Last updated
7 hours ago
Created
2013-12-05
Size
12.1 MB (download)
Sorry!
But my loading - zip 2.0 MB and unpack folder 7.5 MB
It is correct?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 16/02/2014 5:36 PM, LanuHum wrote:
> Stephen <mca### [at] aol com> wrote:
>>
>>
>> LanuHum, I would like to try your exporter. Would you post a link?
>>
>> Thanks in advance.
>>
>> --
>> Regards
>> Stephen
>
> Create a subject on this site where we will speak about my exporter. I still
> badly think where me to be sheltered.
I an not to sure that I got all of the nuance, there. But I started a
thread called: Unofficial Blender to PovRay exporter, in
povray.tools.general.
> I will see you in Message Digest
>
It is easy to miss things using the web interface. A newsgroup reader
would be a better option.
--
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Stephen <mca### [at] aol com> 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)???
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 16/02/2014 20:27, LanuHum nous fit lire :
> Stephen <mca### [at] aol com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> 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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Robert McGregor" <rob### [at] mcgregorfineart com> wrote:
> Le_Forgeron <jgr### [at] free fr> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> 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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 02/03/2014 15:30, LanuHum nous fit lire :
> Le_Forgeron <jgr### [at] free fr> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 02/03/2014 15:30, LanuHum nous fit lire :
> I saw some artifacts. Probably, sometime you will correct it
>
Well, I now have corrected the rotation of the mapping to keep a
rotating base at each connection of segment.
But the V part remains computed from the normal of the surface,
projected on that segment's base. For other spline's types than linear,
I do not see a way to have a continuity of the V mapping. (even with
linear spline, the continuity is partial: the outer part of the sphere
is a stretch of a constant-U slice, and the inner part of the "shoulder"
has a jump of U.)
Contribution is of course welcome if you have an idea for the continuity
of V along U at the turn.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> wrote:
> Le 02/03/2014 15:30, LanuHum nous fit lire :
> Contribution is of course welcome if you have an idea for the continuity
> of V along U at the turn.
My idea - to draw a curve, using bicubic_patch with UV-mapping instead of
sphere_sweep
Today I tried to begin creation process. I am afraid to break the head about
arithmetics, connecting patches to smoothing
I don't know how it will affect weight of a scene and speed of a render
Post a reply to this message
Attachments:
Download 'bicubic_patch.png' (19 KB)
Preview of image 'bicubic_patch.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 02/03/2014 15:30, LanuHum nous fit lire :
> Le_Forgeron <jgr### [at] free fr> 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
>
You are to be spoiled.
Despite my first impression of impossible, it's now done.
(instead of constant segments with twist at spheres, it's turning along
the segments). It cannot fix the internal shoulder of linear_spline (and
it will stay like that for the years to come), but it fix the other
splines' types .
Code now in repository.
Post a reply to this message
Attachments:
Download 'spl0.png' (298 KB)
Download 'spl1.png' (262 KB)
Download 'spl2.png' (192 KB)
Preview of image 'spl0.png'

Preview of image 'spl1.png'

Preview of image 'spl2.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> wrote:
> Code now in repository.
Excellent work! :)
Download this github.com/LeForgeron/povray ???
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 08/03/2014 17:35, LanuHum nous fit lire :
> Le_Forgeron <jgr### [at] free fr> wrote:
>
>> Code now in repository.
>
>
> Excellent work! :)
> Download this github.com/LeForgeron/povray ???
>
either :
git clone https://github.com/LeForgeron/povray.git
or
hg clone https://bitbucket.org/LeForgeron/hgpovray
(if you are more familiar with git or mercurial).
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 08/03/2014 17:35, LanuHum nous fit lire :
> Le_Forgeron <jgr### [at] free fr> wrote:
>
>> Code now in repository.
>
>
> Excellent work! :)
> Download this github.com/LeForgeron/povray ???
>
either :
git clone https://github.com/LeForgeron/povray.git
( limited evolution of 3.7 )
or (for even more experimental features)
git clone https://github.com/LeForgeron/Hgpovray.git
or
hg clone https://bitbucket.org/LeForgeron/hgpovray
(if you are more familiar with git or mercurial).
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> wrote:
> or (for even more experimental features)
What it is experiments?
It is possible to examine them?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 08/03/2014 18:35, LanuHum nous fit lire :
> Le_Forgeron <jgr### [at] free fr> wrote:
>
>> or (for even more experimental features)
>
> What it is experiments?
> It is possible to examine them?
most are listed in
http://wiki.povray.org/content/User:Le_Forgeron
(but I'm late on the update of the page. missing stereoscopic camera and
planet transformation of mesh, as well as the uv-mapping of sphere_sweep)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le_Forgeron <jgr### [at] free fr> wrote:
>
> most are listed in
>
> http://wiki.povray.org/content/User:Le_Forgeron
>
There is a lot of interesting!
Thanks a lot!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 8-3-2014 19:19, Le_Forgeron wrote:
> Le 08/03/2014 18:35, LanuHum nous fit lire :
>> Le_Forgeron <jgr### [at] free fr> wrote:
>>
>>> or (for even more experimental features)
>>
>> What it is experiments?
>> It is possible to examine them?
>
> most are listed in
>
> http://wiki.povray.org/content/User:Le_Forgeron
>
> (but I'm late on the update of the page. missing stereoscopic camera and
> planet transformation of mesh, as well as the uv-mapping of sphere_sweep)
>
Yum! Proximity patterns!
Thomas
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I will open a new subject where I will ask questions to mister Le Forgeron.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"LanuHum" <Lan### [at] yandex ru> wrote:
> I will open a new subject where I will ask questions to mister Le Forgeron.
Thanks to Lanuhum's work, official Blender exporter now also has textured hair
Both patterns and bitmaps supported,though bitmaps are much slower to export for
now.
Now this UV textured sphere sweep would definitely be a much valuable addition
to the exported hair, is there any chance it makes it in official POV-Ray
version soon?
Post a reply to this message
Attachments:
Download 'texturedhair.png' (252 KB)
Preview of image 'texturedhair.png'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Mr" <nomail@nomail> wrote:
>
> Thanks to Lanuhum's work, official Blender exporter now also has textured hair
> Both patterns and bitmaps supported,though bitmaps are much slower to export for
> now.
>
In what version of a blender the new official version of the exporter is
available?
From where to download? I want to look. :)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Taking an opportunity, communicating with the developer Le Forgeron, I want to
ask you a question not about a subject:
You wouldn't like to borrow a code of drawing of hair at a renderer of Aqsis?
Compiled with Python version 2.6.2.
Checking for installed Python... got it!
Welcome to MOSAIC Beta-0.2!
---------------------------------------------------------------
Export starting at: 03:31:56pm 03/12/2014
Export complete at: 03:32:01pm 03/12/2014
Total export time: 5.02459287643 Seconds
---------------------------------------------------------------
---------------------------------------------------------------
Render starting at: 03:32:01pm 03/12/2014
Render complete at: 03:32:20pm 03/12/2014
Total render time: 24.2738740444 Seconds
---------------------------------------------------------------
Result 50 000 hair:
Post a reply to this message
Attachments:
Download '0001.tif.dat' (376 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Oh! Tiff isn't displayed on the page
Post a reply to this message
Attachments:
Download '0001.jpg' (31 KB)
Preview of image '0001.jpg'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"LanuHum" <Lan### [at] yandex ru> wrote:
> "Mr" <nomail@nomail> wrote:
> >
> > Thanks to Lanuhum's work, official Blender exporter now also has textured hair
> > Both patterns and bitmaps supported,though bitmaps are much slower to export for
> > now.
> >
>
> In what version of a blender the new official version of the exporter is
> available?
> From where to download? I want to look. :)
As you see on the release log here
https://developer.blender.org/diffusion/BA/history/master/render_povray/
The feature was added on Wed, Mar 12 7:51 AM
So you can either take the python files by browsing from the previous page to
replace older ones in your addon folder or download any Blender build more
recent than that from one of these sites:
http://www.graphicall.org/
http://builder.blender.org/download/
Unless of course if you can build blender from source, just do your usual build
and it's there.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 14-03-12 08:24, LanuHum a écrit :
> Oh! Tiff isn't displayed on the page
>
...and the file is over 12 times larger: 375Kb VS. 30.9Kb
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |