POV-Ray : Newsgroups : povray.unofficial.patches : Glow patch code location? Server Time
28 Mar 2024 17:24:55 EDT (-0400)
  Glow patch code location? (Message 1 to 5 of 5)  
From: [GDS|Entropy]
Subject: Glow patch code location?
Date: 19 Oct 2011 18:25:01
Message: <web.4e9f4d82d61f5b2877e50e540@news.povray.org>
Does anyone have a copy of the glow patch source?

I'd like to have a go at modifying my copy of 3.7.

I want my glows back. ;)

Thanks,
Ian


Post a reply to this message

From: Yvo Smellenbergh
Subject: Re: Glow patch code location?
Date: 20 Oct 2011 13:28:08
Message: <1k9gb9f.bjvaut11erj1eN%yvo.s@cancel_This_gmx.net>
"[GDS|Entropy]" <nomail@nomail> wrote:

> Does anyone have a copy of the glow patch source?
Grab the MegaPOV sources, both glow.cpp and glow.h are in the archive.
Search for '#ifdef GLOW_PATCH' in the rest of the sources to see what
changes are required.

Yvo


-- 
-----------------------------------
MegaPOV at:  http://megapov.inetart.net
MacMegaPOV at:  http://users.skynet.be/smellenbergh
E-mail: yvo(DOT)s(AT)gmx.net


Post a reply to this message

From: [GDS|Entropy]
Subject: Re: Glow patch code location?
Date: 21 Oct 2011 06:40:01
Message: <web.4ea14b962c82d1d477e50e540@news.povray.org>
yvo### [at] cancel_This_gmxnet (Yvo Smellenbergh) wrote:
> Does anyone have a copy of the glow patch source?
> Grab the MegaPOV sources, both glow.cpp and glow.h are in the archive.
> Search for '#ifdef GLOW_PATCH' in the rest of the sources to see what
> changes are required.
>
> Yvo

Thank you! I will track down the sources for MP.

Can/should pov be compiled using MS VS 2010, or is there another preferred
compiler for windows? I know the stack size for .NET is 5mb if I recall, but I'm
not sure if this applies to VC++ or apps compiled in VS globally. Obviously I
want as big of a stack as I can get.

I think I recall someone using mingw to compile pov.

Ian


Post a reply to this message

From: clipka
Subject: Re: Glow patch code location?
Date: 21 Oct 2011 12:07:30
Message: <4ea198c2$1@news.povray.org>
Am 21.10.2011 12:38, schrieb [GDS|Entropy]:

> Can/should pov be compiled using MS VS 2010, or is there another preferred
> compiler for windows? I know the stack size for .NET is 5mb if I recall, but I'm
> not sure if this applies to VC++ or apps compiled in VS globally. Obviously I
> want as big of a stack as I can get.
>
> I think I recall someone using mingw to compile pov.

If you're referring to POV-Ray 3.7, preferred build environments for 
Windows is Microsoft Visual Studio 2005, 2008 or 2010 aka VS8, VS9 and 
VS10 (the 3.7 source code comes with projects for these three versions).

Using mingw might work somehow, but there's no support whatsoever for 
that approach.

As for stack size, the VS 2005 projects for POV-Ray 3.7 are explicitly 
configured for a stack size of 8 MB (32 bit) and 64 MB (64 bit) 
respectively. If necessary, you can increase this by modifying the 
"Linker/System" properties page "Stack Reserve Size" setting of the 
"GUI" project (which builds the actual executable).


Post a reply to this message

From: [GDS|Entropy]
Subject: Re: Glow patch code location?
Date: 31 Oct 2011 07:25:00
Message: <web.4eae84fd2c82d1d477e50e540@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> If you're referring to POV-Ray 3.7, preferred build environments for
> Windows is Microsoft Visual Studio 2005, 2008 or 2010 aka VS8, VS9 and
> VS10 (the 3.7 source code comes with projects for these three versions).
>
> Using mingw might work somehow, but there's no support whatsoever for
> that approach.
>
> As for stack size, the VS 2005 projects for POV-Ray 3.7 are explicitly
> configured for a stack size of 8 MB (32 bit) and 64 MB (64 bit)
> respectively. If necessary, you can increase this by modifying the
> "Linker/System" properties page "Stack Reserve Size" setting of the
> "GUI" project (which builds the actual executable).

Ah, buggar...the architecture of pov, at first glance at least, seems *quite*
different...the glow patch needs to hook into places I'm not even sure 3.7 has,
in ways that are apparently deprecated.

I am not familar enough with the codebase to update the glowpatch,
unfortunately, and while the will to get familar is very present, the time in
which to do so is not.

So, I decided to give a media replacement for Glow a shot.

I was actually suprised at just how small the glow patch really was. If I knew
more about the pov code base, and how the things that patch is looking for
changed, and into what, I think it might be pretty trivial to integrate it (this
is not to say it would work 100% without some effort, because, well..who knows
if it would?).

Maybe someday I'll have enough time to really sit down and check out the source
for pov, if that day comes, I'm converting and adding the glow patch.

I miss glows...they are so useful.

Thanks everyone!
Ian


Post a reply to this message

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