 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Stephen <mca### [at] aol com> wrote:
> On 28/12/2017 09:19, clipka wrote:
> >
> > "new WinXP"???
> >
> > Ouch.
> >
>
> Some people keep things that work.
> Going from Leroy's site. It was new in 2006
>
I wish I still had mine. :-( It was ... STABLE. And a workhorse. But the stupid
crummy power supply eventually fried the motherboard. (an Emachines computer,
BTW.)
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Jörg 'Yadgar' Bleimann
Subject: Re: Procedural realistic mountain ranges?
Date: 29 Dec 2017 20:21:30
Message: <5a46ea1a@news.povray.org>
|
|
 |
|  |
|  |
|
 |
Hi(gh)!
Am 29.12.2017 um 16:42 schrieb clipka:
>
> Absolutely. Everything you can use in a pigment, eval_pigment() will
> handle correctly - for technically feasible definitions of "correctly".
Obviously not, at least not with POV-Ray for Windows... I used a 16-bit
PNG generated with Wilbur to be parsed to a spherical mesh2 with this
script:
// beginning of code
#include "functions.inc"
#declare xx=1024;
#declare yy=512;
#declare minrad=22;
#declare maxrad=38;
#declare AsteroidRelief =
pigment
{
image_map { tga "asteroid1.tga" }
}
#declare vertices=2+xx*(yy-2);
#fopen asteroid_mesh_inc "asteroid_mesh.inc" write
#write (asteroid_mesh_inc,
"#declare asteroid_mesh =\n
mesh2\n
{\n
vertex_vectors\n
{\n",
vertices,"\n",
<0, -35.678431, 0>," // south pole \n") // number of
vertices: 2+b*(a-2) [2+xx*(yy-2)]
#declare a=1;
#while (a<yy-1)
#declare b=0;
// #declare rdcum = 0;
#while (b<xx)
#declare redval=eval_pigment(AsteroidRelief, <(0.5+b)*(1/xx),
(0.5+a)*(1/yy), 0>).red * (maxrad-minrad);
#declare greenval=eval_pigment(AsteroidRelief, <(0.5+b)*(1/xx),
(0.5+a)*(1/yy), 0>).green * ((maxrad-minrad)/255);
#declare rd=minrad+redval+greenval;
/* #if (a=1 | a=yy-2)
#declare rdcum=rdcum+rd;
#end */
#write (asteroid_mesh_inc,
(rd*<sin(radians(b*(360/xx)))*cos(radians(-90+a*(180/(yy-2)))),
sin(radians(-90+a*(180/(yy-2)))),
cos(radians(b*(360/xx)))*cos(radians(-90+a*(180/(yy-2))))>)," // ",rd,"\n")
#declare b=b+1;
#end
#declare a=a+1;
#end
#write (asteroid_mesh_inc, <0, 35.741176, 0>,"// north pole\n
}\n
face_indices\n
{\n",
xx*2+xx*2*(yy-3),"\n") // number of faces:
b*2+b*2*(a-3) [xx*2+xx*2*(yy-3)]
#declare a=0;
#while (a<yy-1)
#declare b=0;
#while (b<xx)
#switch (a)
#case (0)
#if (b < xx-1)
#write (asteroid_mesh_inc, <0, a+1+b, a+1+mod(b+1,xx)>, "\n")
// b faces, all sharing first vertex (#0)
#else
#write (asteroid_mesh_inc, <0, a+1+b, 1>, "\n" // last
triangle connecting to first one
#end
#break
#range (1, yy-3)
#if (b < xx-1)
#write (asteroid_mesh_inc, <1+(a-1)*xx+b,
1+(a-1)*xx+mod(b+1,xx), 1+a*xx+b>,",",<1+a*xx+b, 1+a*xx+mod(b+1,xx),
1+(a-1)*xx+mod(b+1,xx)>, "\n") // b*2*(a-3) faces
#else
#write (asteroid_mesh_inc, <1+(a-1)*xx+b, 1+(a-1)*xx,
1+a*xx+b>,",",<1+a*xx+b, 1+(a-1)*xx, 1+a*xx>, "\n") // last pair of
triangles in row connecting to first pair
#end
#break
#case (yy-2)
#if (b < xx-1)
#write (asteroid_mesh_inc, <1+(a-1)*xx+b,
1+(a-1)*xx+mod(b+1,xx), vertices-1>) // b faces, all sharing last vertex
#else
#write (asteroid_mesh_inc, <1+(a-1)*xx+b, 1+(a-1)*xx,
vertices-1> // last triangle connecting to first one
#end
#break
#end
#declare b=b+1;
#end
#declare a=a+1;
#end
#write (asteroid_mesh_inc, " }\n}")
#fclose asteroid_mesh_inc
// end of code
It seemed to parse correctly - but POV-Ray crashed immediately
afterwards, regardless how big or small values I used for xx and yy. I
didn't try yet whether it still produced a valid mesh2 - but I don't
think so.
See you in Khyberspace!
Yadgar
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Am 30.12.2017 um 02:21 schrieb Jörg 'Yadgar' Bleimann:
>> Absolutely. Everything you can use in a pigment, eval_pigment() will
>> handle correctly - for technically feasible definitions of "correctly".
>
> Obviously not, at least not with POV-Ray for Windows... I used a 16-bit
> PNG generated with Wilbur to be parsed to a spherical mesh2 with this
> script:
https://youtu.be/tc2tDFPlyWY?t=1h51m5s
/Some/ day I'll teach you folks to specify the version number when
reporting an issue ;)
> It seemed to parse correctly - but POV-Ray crashed immediately
> afterwards, regardless how big or small values I used for xx and yy. I
> didn't try yet whether it still produced a valid mesh2 - but I don't
> think so.
If the scene parses, it's not an issue with `eval_pigment()`, as that's
called during parsing. Rather, the /scene/ created must have some
problematic properties.
Also, that's a TGA file you're using there, not PNG ;)
To further diagnose the issue, I'd probably need a copy of the image.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 30/12/2017 12:35, clipka wrote:
> https://youtu.be/tc2tDFPlyWY?t=1h51m5s
>
> /Some/ day I'll teach you folks to specify the version number when
> reporting an issue;)
That's a bit subtle, for us.
Just say what you mean before we grow beards. ;)
--
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Le 17-12-30 à 11:00, Stephen a écrit :
> On 30/12/2017 12:35, clipka wrote:
>> https://youtu.be/tc2tDFPlyWY?t=1h51m5s
>>
>> /Some/ day I'll teach you folks to specify the version number when
>> reporting an issue;)
>
>
> That's a bit subtle, for us.
> Just say what you mean before we grow beards. ;)
>
If you don't provide the version number, there is no way to know if the
issue is an old one, maybe already fixed in later version, or a new one
accidentally introduced.
Where you using version 3.5, 3.6, 3.7, the latest test build...?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Am 30.12.2017 um 17:00 schrieb Stephen:
> On 30/12/2017 12:35, clipka wrote:
>> https://youtu.be/tc2tDFPlyWY?t=1h51m5s
>>
>> /Some/ day I'll teach you folks to specify the version number when
>> reporting an issue;)
>
>
> That's a bit subtle, for us.
"Ich verlange ordentliche Meldungen, verdammt nochmal!" is the quote of
the day for Yadgar.
As for you Tommies, ask the folks at Bletchley Park to deciper it :P
https://youtu.be/a5T7LPYVo0Q?t=2h7m34s
> Just say what you mean before we grow beards. ;)
https://youtu.be/7pzKyeIex2Y?t=1m5s
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 31/12/2017 02:16, clipka wrote:
> Am 30.12.2017 um 17:00 schrieb Stephen:
>> On 30/12/2017 12:35, clipka wrote:
>>> https://youtu.be/tc2tDFPlyWY?t=1h51m5s
>>>
>>> /Some/ day I'll teach you folks to specify the version number when
>>> reporting an issue;)
>>
>>
>> That's a bit subtle, for us.
>
> "Ich verlange ordentliche Meldungen, verdammt nochmal!" is the quote of
> the day for Yadgar.
>
> As for you Tommies, ask the folks at Bletchley Park to deciper it :P
>
Oh! dear. A year ago we could have asked Dr John. :(
> https://youtu.be/a5T7LPYVo0Q?t=2h7m34s
>
>> Just say what you mean before we grow beards. ;)
>
> https://youtu.be/7pzKyeIex2Y?t=1m5s
>
See! I was paying attention.
--
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Am 31.12.2017 um 10:29 schrieb Stephen:
> On 31/12/2017 02:16, clipka wrote:
>> Am 30.12.2017 um 17:00 schrieb Stephen:
>>> On 30/12/2017 12:35, clipka wrote:
>>>> https://youtu.be/tc2tDFPlyWY?t=1h51m5s
>>>>
>>>> /Some/ day I'll teach you folks to specify the version number when
>>>> reporting an issue;)
>>>
>>>
>>> That's a bit subtle, for us.
>>
>> "Ich verlange ordentliche Meldungen, verdammt nochmal!" is the quote of
>> the day for Yadgar.
>>
>> As for you Tommies, ask the folks at Bletchley Park to deciper it :P
>>
>
> Oh! dear. A year ago we could have asked Dr John. :(
"I demand proper [damage] reports, dammit!"
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 31/12/2017 12:50, clipka wrote:
> Am 31.12.2017 um 10:29 schrieb Stephen:
>> On 31/12/2017 02:16, clipka wrote:
>>> Am 30.12.2017 um 17:00 schrieb Stephen:
>>>> On 30/12/2017 12:35, clipka wrote:
>>>>> https://youtu.be/tc2tDFPlyWY?t=1h51m5s
>>>>>
>>>>> /Some/ day I'll teach you folks to specify the version number when
>>>>> reporting an issue;)
>>>>
>>>>
>>>> That's a bit subtle, for us.
>>>
>>> "Ich verlange ordentliche Meldungen, verdammt nochmal!" is the quote of
>>> the day for Yadgar.
>>>
>>> As for you Tommies, ask the folks at Bletchley Park to deciper it :P
>>>
>>
>> Oh! dear. A year ago we could have asked Dr John. :(
>
> "I demand proper [damage] reports, dammit!"
>
So you have said. But you missed that little word that every good boy
uses. "Please!"
Now is that so hard? :P
--
Regards
Stephen
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Am 31.12.2017 um 20:05 schrieb Stephen:
>> "I demand proper [damage] reports, dammit!"
>>
>
> So you have said. But you missed that little word that every good boy
> uses. "Please!"
> Now is that so hard? :P
"I demand you do as I please me, dammit!"
That better? ;)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |