POV-Ray : Newsgroups : povray.unofficial.patches : Hgpovray38, current state Server Time
21 Dec 2024 20:35:40 EST (-0500)
  Hgpovray38, current state (Message 29 to 38 of 48)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Mr
Subject: Re: Hgpovray38, current state
Date: 4 Oct 2020 10:50:00
Message: <web.5f79e00ab933d8376adeaecb0@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:

> My upfront guess is the windows libraries directory is out of date for
> the environment in which you are compiling. Give -std=c++11 a try. If
> you're lucky, let us know.
>
> Bill P.

Indeed, instead of what was in my last message, I just replaced the content of
boost immediate sub-directories with what was in the similarly named directories
of a fresh boost download... That got rid of this error! (I wonder if my two
previous modifications (posix ssize_t specific import and typedef, and cam
tokenizer pointer are still needed. I will assume they were and go on after
switching back to iso c++14 language version) I am left with another error line
506 in pvengine.cpp,
at the end of SCROLLKEYS key2scroll []:

constant expression evaluates to -1 which cannot be narrowed to type 'WORD' (aka
'unsigned short') [-Wc++11-narrowing] GUI
C:\HG-povray\povray-hgpovray38\windows\pvengine.cpp 506

I also have the exact same error for what appears (to my Python-only eye) to be
a negative index, line 223 in pvmisc.cpp


I don't know by what to replace them ?


Post a reply to this message

From: Mr
Subject: Re: Hgpovray38, current state
Date: 23 Oct 2020 10:15:01
Message: <web.5f92e466b933d8376adeaecb0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> For the people who do not want to bother with git, Hgpovray is now
> available as sources
>
>
> https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
>
> >
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
>
> More works on the agenda :
>
> http://wiki.povray.org/content/User:Le_Forgeron/HgPovray38

Hello, ...With the set of default scenes, the advanced/abyss.pov shows a black
background behind submarine instead of blue with current 3.8 plain pov master.


Post a reply to this message

From: Le Forgeron
Subject: Re: Hgpovray38, current state
Date: 24 Oct 2020 11:59:23
Message: <5f944f5b$1@news.povray.org>
Le 23/10/2020 à 16:10, Mr a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> For the people who do not want to bother with git, Hgpovray is now
>> available as sources
>>
>>
>>
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
>>
>>>
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
>>
>> More works on the agenda :
>>
>> http://wiki.povray.org/content/User:Le_Forgeron/HgPovray38
> 
> Hello, ...With the set of default scenes, the advanced/abyss.pov shows a black
> background behind submarine instead of blue with current 3.8 plain pov master.
> 
> 

Can you identify the version of hgpovray38 ?


Post a reply to this message

From: Le Forgeron
Subject: Re: Hgpovray38, current state
Date: 24 Oct 2020 12:11:10
Message: <5f94521e$1@news.povray.org>
Le 24/10/2020 à 17:59, Le_Forgeron a écrit :
> Le 23/10/2020 à 16:10, Mr a écrit :
>> Le_Forgeron <jgr### [at] freefr> wrote:
>>> For the people who do not want to bother with git, Hgpovray is now
>>> available as sources
>>>
>>>
>>>
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
>>>
>>>>
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
>>>
>>> More works on the agenda :
>>>
>>> http://wiki.povray.org/content/User:Le_Forgeron/HgPovray38
>>
>> Hello, ...With the set of default scenes, the advanced/abyss.pov shows a black
>> background behind submarine instead of blue with current 3.8 plain pov master.
>>
>>
> 
> Can you identify the version of hgpovray38 ?
> 
Oups, my bad. 226 Thermidor is 2 years old.

I will check with the latest head.


Post a reply to this message

From: Le Forgeron
Subject: Re: Hgpovray38, current state
Date: 24 Oct 2020 12:26:56
Message: <5f9455d0$1@news.povray.org>
Le 24/10/2020 à 18:11, Le_Forgeron a écrit :
> Le 24/10/2020 à 17:59, Le_Forgeron a écrit :
>> Le 23/10/2020 à 16:10, Mr a écrit :
>>> Le_Forgeron <jgr### [at] freefr> wrote:
>>>> For the people who do not want to bother with git, Hgpovray is now
>>>> available as sources
>>>>
>>>>
>>>>
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
>>>>
>>>>>
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
>>>>
>>>> More works on the agenda :
>>>>
>>>> http://wiki.povray.org/content/User:Le_Forgeron/HgPovray38
>>>
>>> Hello, ...With the set of default scenes, the advanced/abyss.pov shows a black
>>> background behind submarine instead of blue with current 3.8 plain pov master.
>>>
>>>
>>
>> Can you identify the version of hgpovray38 ?
>>
> Oups, my bad. 226 Thermidor is 2 years old.
> 
> I will check with the latest head.
> 

Ok, happens also with latest head. I will have to search when it
started, not fun as I did not play with media.


Post a reply to this message

From: Mr
Subject: Re: Hgpovray38, current state
Date: 24 Oct 2020 18:00:00
Message: <web.5f94a2aab933d8376adeaecb0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Le 24/10/2020 à 18:11, Le_Forgeron a écrit :
> > Le 24/10/2020 à 17:59, Le_Forgeron a écrit :
> >> Le 23/10/2020 à 16:10, Mr a écrit :
> >>> Le_Forgeron <jgr### [at] freefr> wrote:
> >>>> For the people who do not want to bother with git, Hgpovray is now
> >>>> available as sources
> >>>>
> >>>>
> >>>>
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
> >>>>
> >>>>>
https://github.com/LeForgeron/povray/releases/tag/v3.8.0.alpha%2BHg.226-Thermidor-30
> >>>>
> >>>> More works on the agenda :
> >>>>
> >>>> http://wiki.povray.org/content/User:Le_Forgeron/HgPovray38
> >>>
> >>> Hello, ...With the set of default scenes, the advanced/abyss.pov shows a black
> >>> background behind submarine instead of blue with current 3.8 plain pov master.
> >>>
> >>>
> >>
> >> Can you identify the version of hgpovray38 ?
> >>
> > Oups, my bad. 226 Thermidor is 2 years old.
> >
> > I will check with the latest head.
> >
>
> Ok, happens also with latest head. I will have to search when it
> started, not fun as I did not play with media.
maybe color models are to be suspected as so many  relatively recent changes
happened ?
(rgb > srgb rgbf rgbt RAL...)


Post a reply to this message

From: Bald Eagle
Subject: Re: Hgpovray38, current state
Date: 24 Oct 2020 21:40:01
Message: <web.5f94d666b933d8371f9dae300@news.povray.org>
"Mr" <nomail@nomail> wrote:

> > Ok, happens also with latest head. I will have to search when it
> > started, not fun as I did not play with media.

> maybe color models are to be suspected as so many  relatively recent changes
> happened ?
> (rgb > srgb rgbf rgbt RAL...)

Works ok in (qtpovray)3.8, using #version 3.6 and #version 3.8

Line 786 has a negative light source, so maybe scroll down to that section and
start commenting out some lights and see what happens.

after that is // submarine and media

light in lines Line 73 & 74 has media_interaction off

Other than that - no idea.


Post a reply to this message

From: Le Forgeron
Subject: Re: Hgpovray38, current state
Date: 25 Oct 2020 05:33:26
Message: <5f954666$1@news.povray.org>
Le 25/10/2020 à 02:35, Bald Eagle a écrit :
> 
> "Mr" <nomail@nomail> wrote:
> 
>>> Ok, happens also with latest head. I will have to search when it
>>> started, not fun as I did not play with media.
> 
>> maybe color models are to be suspected as so many  relatively recent changes
>> happened ?
>> (rgb > srgb rgbf rgbt RAL...)
> 
> Works ok in (qtpovray)3.8, using #version 3.6 and #version 3.8
> 
> Line 786 has a negative light source, so maybe scroll down to that section and
> start commenting out some lights and see what happens.
> 

Negative light are honored, not the problem.

> after that is // submarine and media
> 
> light in lines Line 73 & 74 has media_interaction off
> 
> Other than that - no idea.
> 
> 

Commenting the media in the last union, get the same bad result as
hgpovray38 with povray master 3.8;


Post a reply to this message

From: Le Forgeron
Subject: Re: Hgpovray38, current state
Date: 25 Oct 2020 05:57:40
Message: <5f954c14$1@news.povray.org>
Le 25/10/2020 à 10:33, Le_Forgeron a écrit :
> Le 25/10/2020 à 02:35, Bald Eagle a écrit :
>>
>> "Mr" <nomail@nomail> wrote:
>>
>>>> Ok, happens also with latest head. I will have to search when it
>>>> started, not fun as I did not play with media.
>>
>>> maybe color models are to be suspected as so many  relatively recent changes
>>> happened ?
>>> (rgb > srgb rgbf rgbt RAL...)
>>
>> Works ok in (qtpovray)3.8, using #version 3.6 and #version 3.8
>>
>> Line 786 has a negative light source, so maybe scroll down to that section and
>> start commenting out some lights and see what happens.
>>
> 
> Negative light are honored, not the problem.
> 
>> after that is // submarine and media
>>
>> light in lines Line 73 & 74 has media_interaction off
>>
>> Other than that - no idea.
>>
>>
> 
> Commenting the media in the last union, get the same bad result as
> hgpovray38 with povray master 3.8;
> 

Ok, I can fix it... but I do not understand yet why it happened and how
it works.

diff --git a/source/core/render/tracepixel.cpp
b/source/core/render/tracepixel.cpp
index 6d661b07..50d420a1 100644
--- a/source/core/render/tracepixel.cpp
+++ b/source/core/render/tracepixel.cpp
@@ -235,7 +235,7 @@ void TracePixelCameraData::SetupCamera(const Camera&
cam)
     bool normalise = false;
     camera = cam;
     useFocalBlur = false;
-    //precomputeContainingInteriors = true;
+    precomputeContainingInteriors = true;
     cameraDirection = camera.Direction;
     cameraRight = camera.Right;
     cameraUp =  camera.Up;


Post a reply to this message

From: William F Pokorny
Subject: Re: Hgpovray38, current state
Date: 25 Oct 2020 08:04:34
Message: <5f9569d2$1@news.povray.org>
On 10/25/20 5:57 AM, Le_Forgeron wrote:
> Le 25/10/2020 à 10:33, Le_Forgeron a écrit :
>> Le 25/10/2020 à 02:35, Bald Eagle a écrit :
...
>>
>> Commenting the media in the last union, get the same bad result as
>> hgpovray38 with povray master 3.8;
>>

I'd not have looked if not for the claim of the same bad results in 
povray master 3.8, but I branched off the last commit to master and I do 
not see that line in tracepixel.cpp commented. (I've not run the test case)

If any help, I went on to look at the state of tracepixel.cpp for every 
commit since the move the github. I see twelve up to v3.8 master head 
and none have the precompute... line commented.

> 
> Ok, I can fix it... but I do not understand yet why it happened and how
> it works.
> 
> diff --git a/source/core/render/tracepixel.cpp
> b/source/core/render/tracepixel.cpp
> index 6d661b07..50d420a1 100644
> --- a/source/core/render/tracepixel.cpp
> +++ b/source/core/render/tracepixel.cpp
> @@ -235,7 +235,7 @@ void TracePixelCameraData::SetupCamera(const Camera&
> cam)
>       bool normalise = false;
>       camera = cam;
>       useFocalBlur = false;
> -    //precomputeContainingInteriors = true;
> +    precomputeContainingInteriors = true;
>       cameraDirection = camera.Direction;
>       cameraRight = camera.Right;
>       cameraUp =  camera.Up;
>


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.