POV-Ray : Newsgroups : povray.general : POV-Ray w/ subdivision Server Time
26 Dec 2024 15:20:17 EST (-0500)
  POV-Ray w/ subdivision (Message 1 to 10 of 19)  
Goto Latest 10 Messages Next 9 Messages >>>
From: SharkD
Subject: POV-Ray w/ subdivision
Date: 9 Jun 2007 23:25:02
Message: <web.466b6e6eaf2a25577c17c8220@news.povray.org>
I have a couple questions regarding the POV-Ray with Subdivision project
(http://www.cise.ufl.edu/~xwu/Pov-Sub/).

1) Is this program made obsolete by any recent beta versions of POV-Ray 3.7?

2) Is there a way I can add conditional checks to my pov file to check
whether I am running the modified executable?


Post a reply to this message

From: Tim Attwood
Subject: Re: POV-Ray w/ subdivision
Date: 10 Jun 2007 01:00:23
Message: <466b8567$1@news.povray.org>
>I have a couple questions regarding the POV-Ray with Subdivision project
> (http://www.cise.ufl.edu/~xwu/Pov-Sub/).
>
> 1) Is this program made obsolete by any recent beta versions of POV-Ray 
> 3.7?

No. That is, it should still execute fine.
However, it's a modified version, the improvements in the 3.7 betas
are not in that code... I'm unsure if the authors will update POV-sub
when 3.7 comes out of beta. Note: the standard POV mesh code
is highly optimized, so IMHO it's unlikely that such extended syntax
will be adopted as standard.

> 2) Is there a way I can add conditional checks to my pov file to check
> whether I am running the modified executable?

Well, I guess it depends. You could write a batch file to swap the
standard executable with the modified one, and have it swap
an include file at the same time, then #include it and test the
variable you declare there.

-- file subdivision.inc
#declare SUBDIVISION = on;

-- file subdivision.bak
#declare SUBDIVISION = off;

-- file somefile.pov
#include "subdivision.inc"
#if (SUBDIVISION = on)
   // non-standard code
#else
  // standard code
#end

-- file swap_pov.bat (for DOS)
cd **povdirectory**
ren pvengine.exe pvengine.tmp
ren pvengine.bak pvengine.exe
ren pvengine.tmp pvengine.bak
ren subdivision.inc subdivision.tmp
ren subdivision.bak subdivision.inc
ren subdivision.tmp subdivision.bak


Post a reply to this message

From: Samuel Benge
Subject: Re: POV-Ray w/ subdivision
Date: 10 Jun 2007 02:07:16
Message: <466b9514@news.povray.org>
Tim Attwood wrote, regarding POV-Sub:
> However, it's a modified version, the improvements in the 3.7 betas
> are not in that code... I'm unsure if the authors will update POV-sub
> when 3.7 comes out of beta. 

Man, I hope they do. The subdivision patch is extremely useful!

> Note: the standard POV mesh code
> is highly optimized, so IMHO it's unlikely that such extended syntax
> will be adopted as standard.

Meaning the subdivision patch? I hope that isn't true :( I want to see
it become part of the official version. It would make POV-Ray more 
useful as a modeler >> hint hint :)

~Sam


Post a reply to this message

From: SharkD
Subject: Re: POV-Ray w/ subdivision
Date: 10 Jun 2007 15:15:01
Message: <web.466c4d96e762f0f371901820@news.povray.org>
I just tested the patch with the beta version. Unfortunately, the
combination is buggy. I'm unable to open files, though I am able to render
whatever file the program loads automatically.


Post a reply to this message

From: Warp
Subject: Re: POV-Ray w/ subdivision
Date: 10 Jun 2007 15:39:50
Message: <466c5386@news.povray.org>
SharkD <nomail@nomail> wrote:
> I just tested the patch with the beta version.

  Beta version of what?

-- 
                                                          - Warp


Post a reply to this message

From: SharkD
Subject: Re: POV-Ray w/ subdivision
Date: 10 Jun 2007 17:05:02
Message: <web.466c66b8e762f0fc458253c0@news.povray.org>
The beta version of POV-Ray.

Warp <war### [at] tagpovrayorg> wrote:
> SharkD <nomail@nomail> wrote:
> > I just tested the patch with the beta version.
>
>   Beta version of what?
>
> --
>                                                           - Warp


Post a reply to this message

From: Warp
Subject: Re: POV-Ray w/ subdivision
Date: 10 Jun 2007 17:57:17
Message: <466c73bd@news.povray.org>
SharkD <nomail@nomail> wrote:
> The beta version of POV-Ray.

  I don't understand how you can apply a patch to a verion of POV-Ray with
no source code.

-- 
                                                          - Warp


Post a reply to this message

From: SharkD
Subject: Re: POV-Ray w/ subdivision
Date: 11 Jun 2007 03:40:01
Message: <web.466cfbece762f0fad6a290a0@news.povray.org>
It's a sekrit.


Post a reply to this message

From: Tim Attwood
Subject: Re: POV-Ray w/ subdivision
Date: 11 Jun 2007 04:32:37
Message: <466d08a5$1@news.povray.org>
I think most of this patch resides in it's own
executable... but a modified pvengine (3.6) is
modified to link it, I think.  Don't get those files
with the same names too confused =P

MD5 of version 3.6.1c.icl8.win32
57ABA6087FB8F96289026F4E6F403469 *pvengine.exe


Post a reply to this message

From: Warp
Subject: Re: POV-Ray w/ subdivision
Date: 11 Jun 2007 06:09:05
Message: <466d1f41@news.povray.org>
SharkD <nomail@nomail> wrote:
> It's a sekrit.

  What does that mean?

-- 
                                                          - Warp


Post a reply to this message

Goto Latest 10 Messages Next 9 Messages >>>

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