POV-Ray : Newsgroups : povray.general : POV-Ray Installation thread Server Time
25 Apr 2024 21:04:41 EDT (-0400)
  POV-Ray Installation thread (Message 21 to 30 of 61)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: jr
Subject: Re: POV-Ray Installation thread
Date: 13 May 2021 15:50:00
Message: <web.609d82d32344a9a179819d986cde94f1@news.povray.org>
hi,

William F Pokorny <ano### [at] anonymousorg> wrote:
> ...
> // This a povr branch only example!
> ...
> #declare Nrml00 = normal {
>      average
>      normal_map {
>          [0 bevy type 1 bump_size 0.5] // unbiased wrinkles alt

the line above (28) gives me trouble.


>          [1 bevy type 4 bump_size 0.5] // Lean already wrinkled at +y
>      }
> }

==== [Parsing...] ==========================================================
File '/home/jr/POVr/share/povray-3.8/include/shapes.inc' line 324:
Parse Warning:
Bounding object ignored due Remove_Bounds=on/+UR default or setting.
File '/home/jr/POVr/share/povray-3.8/include/shapes.inc' line 324:
Parse Warning:
Bounding object ignored due Remove_Bounds=on/+UR default or setting.
File '/home/jr/POVr/share/povray-3.8/include/shapes.inc' line 324:
Parse Warning:
Bounding object ignored due Remove_Bounds=on/+UR default or setting.
File 'bevr.pov' line 28:
Parse Error:
No normal pattern type specified. For example, bumps.
Fatal error in parser: Cannot parse input.
Render failed


regards, jr.


Post a reply to this message

From: William F Pokorny
Subject: Re: POV-Ray Installation thread
Date: 13 May 2021 15:59:26
Message: <609d851e$1@news.povray.org>
On 5/13/21 3:49 PM, jr wrote:
> hi,
> 
> William F Pokorny <ano### [at] anonymousorg> wrote:
>> ...
>> // This a povr branch only example!
>> ...
>> #declare Nrml00 = normal {
>>       average
>>       normal_map {
>>           [0 bevy type 1 bump_size 0.5] // unbiased wrinkles alt
...
> File 'bevr.pov' line 28:
> Parse Error:
> No normal pattern type specified. For example, bumps.
> Fatal error in parser: Cannot parse input.
> Render failed
> 

The bevy keyword (as normal pattern collection, pattern) is new. I've 
not yet released code that supports it. I should've added a note. And I 
should tweak that error message as 'type' has become misleading.

Bill P.


Post a reply to this message

From: jr
Subject: Re: POV-Ray Installation thread
Date: 14 May 2021 05:40:00
Message: <web.609e45162344a9a179819d986cde94f1@news.povray.org>
hi,

William F Pokorny <ano### [at] anonymousorg> wrote:
> On 5/13/21 3:49 PM, jr wrote:
> > William F Pokorny <ano### [at] anonymousorg> wrote:
> >> ...
> The bevy keyword (as normal pattern collection, pattern) is new. I've
> not yet released code that supports it. ...

ah, ok.  can you clue me/us in wrt planned update/release?  (roughly)


regards, jr.


Post a reply to this message

From: William F Pokorny
Subject: Re: POV-Ray Installation thread
Date: 14 May 2021 06:30:22
Message: <609e513e$1@news.povray.org>
On 5/14/21 5:38 AM, jr wrote:
> hi,
> 
...
>> The bevy keyword (as normal pattern collection, pattern) is new. I've
>> not yet released code that supports it. ...
> 
> ah, ok.  can you clue me/us in wrt planned update/release?  (roughly)
> 

I'm working on some commits today, so I might be able to put something 
out fairly soon.

I know the internals of the bevy collection itself is a work in 
progress, but probably I can throw a construction tarp over what is not 
done. I'm not done with all the include self testing either, but quite 
lot fixed... We'll see.

Bill P.


Post a reply to this message

From: Alain Martel
Subject: Re: POV-Ray Installation thread
Date: 14 May 2021 10:20:44
Message: <609e873c$1@news.povray.org>

> hi,
> 
> William F Pokorny <ano### [at] anonymousorg> wrote:
>> ...
>> // This a povr branch only example!
>> ...
>> #declare Nrml00 = normal {
>>       average
>>       normal_map {
>>           [0 bevy type 1 bump_size 0.5] // unbiased wrinkles alt
> 
> the line above (28) gives me trouble.
> 
> 
>>           [1 bevy type 4 bump_size 0.5] // Lean already wrinkled at +y
>>       }
>> }
> 

In an average, the control values determine the weight of that part. So, 
that [0 bevy type 1 bump_size 0.5] mean zero weight, zero contribution. 
This mean that it could be removed without affecting the final result.
That zero weight may be the cause of your problem.

Try changing it to :
// effectively the same as the above code
#declare Nrm100 = normal{bevy type 4 bump_size 0.5}

or
// Equal weight
#declare Nrm100 = normal{
	average
	normal_map{
		[1 bevy type 1 bump_size 0.5]
		[1 bevy type 4 bump_size 0.5]
	}
}

or
//very little contribution for type 1
#declare Nrm100 = normal{
	average
	normal_map{
		[0.0001 bevy type 1 bump_size 0.5]
		[1 bevy type 4 bump_size 0.5]
	}
}


Post a reply to this message

From: Bald Eagle
Subject: Re: POV-Ray Installation thread
Date: 14 May 2021 16:00:00
Message: <web.609ed6bb2344a9a11f9dae3025979125@news.povray.org>
Just went through povr installation with jr.
Got the biscuit render, so looked good.

Went into qtpovray38 distribution directory to test a .pov file.

bald@Alienware ~/povray38/scenes/objects $ povr blob.pov
/home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: 5:
/home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: Cannot fork

bald@Alienware ~/povray38/scenes/objects $ povr chess.pov
/home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: 5:
/home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: Cannot fork


Any ideas?


Post a reply to this message

From: William F Pokorny
Subject: Re: POV-Ray Installation thread
Date: 14 May 2021 17:09:10
Message: <609ee6f6$1@news.povray.org>
On 5/14/21 10:20 AM, Alain Martel wrote:

>> hi,
>>
>> William F Pokorny <ano### [at] anonymousorg> wrote:
>>> ...
>>> // This a povr branch only example!
>>> ...
>>> #declare Nrml00 = normal {



>>
>> the line above (28) gives me trouble.
>>
>>


>>> }
>>
> 
> In an average, the control values determine the weight of that part. So, 
> that [0 bevy type 1 bump_size 0.5] mean zero weight, zero contribution. 
> This mean that it could be removed without affecting the final result.
> That zero weight may be the cause of your problem.
> 

With povr the zero weight is part of the trick to pass the results of 
this map entries normal perturbation to bevy type 4 so what you get is a 
chain of perturbations ending in one result and not some average on 
perturbation results.

That said, your suggestion should still work, but will result in a 
normal both averaged and chained... Not something I've actually tried. 
I'd guess it would come in as a mix of the lower two images.

All of the bevy stuff is still sitting only on my machine. I haven't 
released it.

Bill P.


Post a reply to this message

From: William F Pokorny
Subject: Re: POV-Ray Installation thread
Date: 14 May 2021 17:27:48
Message: <609eeb54$1@news.povray.org>
On 5/14/21 3:59 PM, Bald Eagle wrote:
> 
> Just went through povr installation with jr.
> Got the biscuit render, so looked good.
> 
> Went into qtpovray38 distribution directory to test a .pov file.
> 
> bald@Alienware ~/povray38/scenes/objects $ povr blob.pov
> /home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: 5:
> /home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: Cannot fork
> 
> bald@Alienware ~/povray38/scenes/objects $ povr chess.pov
> /home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: 5:
> /home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: Cannot fork
> 
> Any ideas?
> 
Just guesses.

The 'cannot fork' stuff usually happens when a unix/linux system has run 
out of resources to start another process. Lack of memory/swap space, 
/tmp, /var - maybe. There are sometimes limits on the number of 
processes in place, but this in my experience is not all that common.

For starters you could try running the 'df' command and look at disk 
usage. The command 'free -m' can be useful too.

Somewhere you posted about your machine... Let me try and find that and 
I'll post back here if I see anything obvious.

---
Note! I expect quite a few existing scenes will NOT render correctly 
with the povr branch without modification.

Let me try quickly to run a v3.8 blob scene here with my povr wrapper 
script. It runs OK for me, but my povr is a little different.

I don't see a chess.pov, but chess2.pov doesn't run because it tries to 
include color.inc and that file is not in povr's core set of includes. 
In any case I'm not getting 'cannot fork' errors...

Bill P.


Post a reply to this message

From: William F Pokorny
Subject: Re: POV-Ray Installation thread
Date: 14 May 2021 17:59:39
Message: <609ef2cb$1@news.povray.org>
On 5/14/21 5:27 PM, William F Pokorny wrote:
> On 5/14/21 3:59 PM, Bald Eagle wrote:
>>
>> Just went through povr installation with jr.
>> Got the biscuit render, so looked good.
>>
>> Went into qtpovray38 distribution directory to test a .pov file.
>>
>> bald@Alienware ~/povray38/scenes/objects $ povr blob.pov
>> /home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: 5:
>> /home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: Cannot fork
>>
>> bald@Alienware ~/povray38/scenes/objects $ povr chess.pov
>> /home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: 5:
>> /home/povray/povray-3.8.0-x.povr_b0bcf6c0/bin/povr: Cannot fork
>>
>> Any ideas?
>>
> Just guesses.
> 
> The 'cannot fork' stuff usually happens when a unix/linux system has run 
> out of resources to start another process. Lack of memory/swap space, 
> /tmp, /var - maybe. There are sometimes limits on the number of 
> processes in place, but this in my experience is not all that common.
> 
> For starters you could try running the 'df' command and look at disk 
> usage. The command 'free -m' can be useful too.
> 
> Somewhere you posted about your machine... Let me try and find that and 
> I'll post back here if I see anything obvious.
> 

Machine stats you posted look good.

---
Had a few other thoughts meanwhile.

- What was your entire command line with flags & ini ?

- If just say the blob scene you can probably point to a normal povray 
v3.7/v3.8 install and see if you get the same problem.

- You could run the povray command directly. One executable would be in 
the unix directory below where you issued make:

<theMakeDir>/unix/povray blob.pov

- You could copy the blob.pov scene to where you ran the biscuit scene 
and try and run it there.

- You could try (a) to cut the resources required by using the '+wt1' 
and '-d' flags. I guess in that vein you could just run 'povr --help'
while in the 'problem' directory.

- You could try and start another process than some form of POV-Ray - 
say gimp - from within the povr script when you are seeing the error.

- While in the directory with blob.pov, if you run 'ls -l blob.pov' does
it show the read bits set on the left. Something with 'r's like:
'-rw-rw-r--'

... Yeah, guessing. It's been many years since I've seen that error.

Bill P.


Post a reply to this message

From: Bald Eagle
Subject: Re: POV-Ray Installation thread
Date: 14 May 2021 18:35:00
Message: <web.609efa342344a9a11f9dae3025979125@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:

> > The 'cannot fork' stuff usually happens when a unix/linux system has run
> > out of resources to start another process. Lack of memory/swap space,
> > /tmp, /var - maybe. There are sometimes limits on the number of
> > processes in place, but this in my experience is not all that common.
> >
> > For starters you could try running the 'df' command and look at disk
> > usage. The command 'free -m' can be useful too.




> - What was your entire command line with flags & ini ?

Er, for what?


bald@Alienware ~/povray38/scenes/objects $ povray bezier.pov
povray: cannot open the user configuration file
/home/bald/.povray/3.8/povray.conf: No such file or directory
Persistence of Vision(tm) Ray Tracer Version 3.8.0-alpha.10064268.unofficial
 (g++ -std=gnu++11 5.4.0 @ x86_64-pc-linux-gnu)
This is an unofficial version compiled by:
 BaldEagle <cre### [at] netscapenet>
 The POV-Ray Team is not responsible for supporting this version.
<snip....>
----------------------------------------------------------------------------
Parser Time
  Parse Time:       0 hours  0 minutes  0 seconds (0.087 seconds)
              using 1 thread(s) with 0.012 CPU-seconds total
  Bounding Time:    0 hours  0 minutes  0 seconds (0.000 seconds)
              using 1 thread(s) with 0.000 CPU-seconds total
Cannot create render state output file.
Cannot create render state output file.
Render failed



> - You could copy the blob.pov scene to where you ran the biscuit scene
> and try and run it there.

The biscuit scene automatically rendered as part of the install process.

> - You could try (a) to cut the resources required by using the '+wt1'

> - While in the directory with blob.pov, if you run 'ls -l blob.pov' does
> it show the read bits set on the left. Something with 'r's like:
> '-rw-rw-r--'

bald@Alienware ~/povray38/scenes/objects $ ls -a -l
total 288
drwxr-xr-x  4 root root   4096 Jun 21  2020 .
drwxr-xr-x 20 root root   4096 Jun 21  2020 ..
-rw-r--r--  1 root root   1463 Jun 21  2020 bezier.pov
-rw-r--r--  1 root root    955 Jun 21  2020 blob1a.pov
-rw-r--r--  1 root root   1246 Jun 21  2020 blob1b.pov
-rw-r--r--  1 root root   1077 Jun 21  2020 blob1c.pov
-rw-r--r--  1 root root   1023 Jun 21  2020 blob.pov
-rw-r--r--  1 root root   1105 Jun 21  2020 chesmsh.pov
-rw-r--r--  1 root root 115136 Jun 21  2020 chess.inc
drwxr-xr-x  2 root root   4096 Jun 21  2020 csg
-rw-r--r--  1 root root   1522 Jun 21  2020 fractal1.pov
-rw-r--r--  1 root root   2349 Jun 21  2020 fractal2.pov
-rw-r--r--  1 root root   1405 Jun 21  2020 fractal3.pov
-rw-r--r--  1 root root   1277 Jun 21  2020 fractal4.pov
-rw-r--r--  1 root root   5082 Jun 21  2020 isosurfaces.pov
-rw-r--r--  1 root root   1499 Jun 21  2020 lathe1a.pov
-rw-r--r--  1 root root   1518 Jun 21  2020 lathe1b.pov
-rw-r--r--  1 root root   1555 Jun 21  2020 lathe1c.pov
-rw-r--r--  1 root root   3198 Jun 21  2020 lathe2.pov
-rw-r--r--  1 root root   5357 Jun 21  2020 mesh2.pov
-rw-r--r--  1 root root   1257 Jun 21  2020 polygon.pov
-rw-r--r--  1 root root   4104 Jun 21  2020 primitiv.pov
-rw-r--r--  1 root root   5344 Jun 21  2020 prism1.pov
-rw-r--r--  1 root root   5388 Jun 21  2020 prism2.pov
-rw-r--r--  1 root root   1354 Jun 21  2020 prism3a.pov
-rw-r--r--  1 root root   1810 Jun 21  2020 prism3b.pov
-rw-r--r--  1 root root   1597 Jun 21  2020 prism3c.pov
-rw-r--r--  1 root root    571 Jun 21  2020 prism3.inc
drwxr-xr-x  2 root root   4096 Jun 21  2020 quartic
-rw-r--r--  1 root root   3561 Jun 21  2020 sor1.pov
-rw-r--r--  1 root root   2617 Jun 21  2020 superel1.pov
-rw-r--r--  1 root root   2629 Jun 21  2020 superel2.pov
-rw-r--r--  1 root root   4247 Jun 21  2020 superel3.pov
-rw-r--r--  1 root root   4963 Jun 21  2020 torus1.pov
-rw-r--r--  1 root root   1759 Jun 21  2020 torus2.pov
-rw-r--r--  1 root root   1342 Jun 21  2020 ttf1.pov
-rw-r--r--  1 root root   1821 Jun 21  2020 wtorus.pov

I have qtpovray running on this machine, and it works just fine - rendering a
scene file.  But not THOSE scene files.   Couldn't make the state file.

Just did chown -R bald:bald povray38 on that whole parent directory, and
qtpovray renders those, but povr now gives me --- no output whatsoever.

bald@Alienware ~/povray38/scenes/objects $ povr blob.pov
bald@Alienware ~/povray38/scenes/objects $

no new image file in that directory after silent command


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.