POV-Ray : Newsgroups : povray.beta-test : Source code status Server Time
29 Jul 2024 00:37:51 EDT (-0400)
  Source code status (Message 8 to 17 of 27)  
<<< Previous 7 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Chris Cason
Subject: Re: Source code status
Date: 9 Feb 2008 10:36:51
Message: <47adc893$1@news.povray.org>
I decided that prior to releasing the windows source I would do more work
on the migration settings, rather than release more or less what beta 25
had. As a recap, betas up to beta 24 read their settings from pvengine.ini,
as per previous versions, and additionally shared the same pvengine.ini as
the installed version of POVWIN 3.6. (The editor does not use pvengine.ini;
it uses the registry, but also shared the 3.6 editor's settings).

Beta 25 made no change to the editor settings but moved the settings that
used to be in pvengine.ini into the registry, but still was under the 3.6
registry branch.

Additionally, betas 25 and lower used the same window class name as 3.6
(this is relevant in that it is used to identify if another copy of POVWIN
is running).

The new code (labeled beta 25a mainly to differentiate it from earlier
versions - it is not a formal release at this point) has the following
changes to the above:

  1. The registry location for both the editor and pvengine has been moved
     to a 3.7-specific branch. [For those wanting to poke around with
     regedit, check out HKCU\software\POV-Ray\v3.7].

  2. The window class handle has been changed to a 3.7-specific value.
     This means that 25a will no longer count pre-25a betas or v3.6 as
     being a 'running instance'. This really only matters if you have the
     'keep single instance' option set, and/or you are passing parameters
     to an already-running instance of POVWIN.

  3. Migration code has been added that will attempt to clone the version
     3.6 settings as much as possible. For pvengine settings for which it
     makes sense (e.g. the secondary render INI file), if the old path
     refers to a location within the old home dir, and the same file/dir
     exists in the new home dir, the path will be changed to suit. Other
     paths (open edit files, last rendered file, etc) are copied but
     otherwise left alone.

  4. The code now expects a help file named povwin37.chm (which doesn't
     yet exist, unless you want to do a copy/rename of the old one).

Additionally, I have updated to the latest version of the boost libraries
(this will make it much easier for folks to build the source since POVWIN
previously used a slightly customized version).

Note that one possible downside to the above boost change is that I can
no longer set the stack size on a per-thread basis. This can make a
difference to render threads since of course POV-Ray can be heavily
recursive. To compensate I have set a new default stack size and changed
some other threads (e.g. the editor syntax threads) to manually request a
smaller stack. However, it needs testing to ensure that the new stack size
is sufficient

Prior to releasing the source for testing I'd appreciate a sanity check of
the new code. If anyone wants to check it, it's available (for a short
time) via http://www.povray.org/temp/povwin-beta25a-test.zip.

If you want to put it into your 3.6 install dir, make a new subdirectory
(e.g. called POV-Ray for Windows v3.6\bin37) and put the exe and DLL's
there. [The location does matter since the code that infers the home dir
for installing the new registry settings looks at the path and if it
doesn't find some of the standard dirs present it will complain].

If you want to create a new 3.7 structure (recommended), you should at the
least clone the include, renderer, insert menu, sounds, and tiles dirs.

As per version 3.6, if you wish to make the inferred home path setting
permanent, you can run pvengine with the /INSTALL switch.

Please let me know of any issues. Source will be released on Sunday barring
any major problems.

-- Chris


Post a reply to this message

From: Chris Cason
Subject: Re: Source code status
Date: 10 Feb 2008 20:18:57
Message: <47afa281$1@news.povray.org>
I presume no-one had problems with this EXE?

-- Chris


Post a reply to this message

From: nemesis
Subject: Re: Source code status
Date: 10 Feb 2008 20:25:01
Message: <web.47afa361ce3b77caa8d805710@news.povray.org>
Chris Cason <del### [at] deletethistoopovrayorg> wrote:
> I presume no-one had problems with this EXE?

I'd be glad to be of any help, but I'm running Linux.


Post a reply to this message

From: Chris Cason
Subject: Re: Source code status
Date: 10 Feb 2008 21:14:11
Message: <47afaf73$1@news.povray.org>
nemesis wrote:
> Chris Cason <del### [at] deletethistoopovrayorg> wrote:
>> I presume no-one had problems with this EXE?
> 
> I'd be glad to be of any help, but I'm running Linux.

no problem, there have been a few folks who did download it, and I guess no
news is good news :/

-- Chris


Post a reply to this message

From: omniverse
Subject: Re: Source code status
Date: 10 Feb 2008 23:45:00
Message: <web.47afd257ce3b77caaaacc8f30@news.povray.org>
Chris Cason <del### [at] deletethistoopovrayorg> wrote:
> I presume no-one had problems with this EXE?

I'm probably too late but I just found the Tools menu empty and couldn't get
"reloaded" until I moved the pvtools.ini to the location being asked for.
Here's what the messages said, before and after:

Loaded 0 tools from C:\Users\Bob\AppData\Roaming\POV-Ray for Windows\pvtools.ini
into Tool Menu.
Loaded 8 tools from C:\Users\Bob\AppData\Roaming\POV-Ray for Windows\pvtools.ini
into Tool Menu.

So I'm not sure if this was a problem or something unfinished or...?

I did the pvengine /install from a command line and that seemed to do what was
intended. Have the 3.7 registry entries. What I had done was to create a
duplicate folder renamed POV-Ray for Windows v3.7, containing everything from
the v3.6 folder.

Also renamed the help file as suggested and it works, too.


Post a reply to this message

From: omniverse
Subject: Re: Source code status
Date: 11 Feb 2008 00:05:01
Message: <web.47afd728ce3b77caaaacc8f30@news.povray.org>
Sorry, I neglected to give system info:

Vista Home Premium
AMD Turion 64 X2

And just now realized the SSE2 does crash when drag'n'drop is done. Error is
access violation exception generated at address 0x0060b9d4
Regular pvengine.exe doesn't crash.


Post a reply to this message

From: omniverse
Subject: Re: Source code status
Date: 11 Feb 2008 04:40:01
Message: <web.47b01728ce3b77caaaacc8f30@news.povray.org>
sorry again, not thinking!
That SSE2 wasn't part of this beta 25a, so of course you already knew that. I
wasn't paying attention to what all I copied over to the new v3.7 folder I
made.


Post a reply to this message

From: Fredrik Eriksson
Subject: Re: Source code status
Date: 11 Feb 2008 13:12:50
Message: <op.t6dgvnwt7bxctx@e6600.bredbandsbolaget.se>
On Mon, 11 Feb 2008 02:18:57 +0100, Chris Cason  
<del### [at] deletethistoopovrayorg> wrote:
> I presume no-one had problems with this EXE?

I did a fresh install of 3.6.1c, verified that it works, and then tried  
the beta exe:

When launched from a subdirectory of \POV-Ray\bin, I get "ERROR: Cannot  
find Home entry in registry (and cannot infer it)."

When launched from the \POV-Ray\bin directory, I get an access violation  
exception.

The machine in question is running a Core2Duo E6600 (2.4 GHz) with 2 GB  
RAM on WinXP Pro.


-- 
FE


Post a reply to this message

From: Chris Cason
Subject: Re: Source code status
Date: 12 Feb 2008 05:25:52
Message: <47b17430@news.povray.org>
Fredrik Eriksson wrote:
> When launched from the \POV-Ray\bin directory, I get an access violation  
> exception.

yes, I just found this myself, which is why I put off the source release a
day or so. thanks for the report.

-- Chris


Post a reply to this message

From: Chris Cason
Subject: Re: Source code status
Date: 13 Feb 2008 04:06:09
Message: <47b2b301$1@news.povray.org>
Frederik, Kyle, Tom - you should have received email from me by now with a
link to the source code preview. If not, please check your spam filter.

-- Chris


Post a reply to this message

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

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