POV-Ray : Newsgroups : moray.win : Re: Texture Editor Rendering in Superpatch Server Time
2 Nov 2024 15:26:40 EDT (-0400)
  Re: Texture Editor Rendering in Superpatch (Message 1 to 8 of 8)  
From: Ken
Subject: Re: Texture Editor Rendering in Superpatch
Date: 4 Sep 1999 05:05:15
Message: <37D0E077.7A00B886@pacbell.net>
The fact the it works with UVPov and not with the SuperPatch tells me that
there might be something wrong with the API hooks in the SP and Ron should
look into it anyway.

Tony Vigil wrote:
> 
> Ken,
> 
> Thanks!  That was my next stop - just as soon as I figured out for sure that
> it wasn't Moray or something I was doing wrong.
> 
> Ken wrote:
> 
> > Tony Vigil wrote:
> > >
> > > I can't get Superpatch to render in the texture editor.  All I get is a
> > > black window.  I can do it with the official version of POV as well as
> > > UVPOV.
> > >
> > > Has anybody else found this to be a problem?
> > >
> > > By the way, my povray.ini file has all renderings going to c:\images.
> > > This doesn't seem to be the problem since the official POV and UVPOV
> > > both work correctly - but perhaps it has something to do with it.
> >
> > I have reposted your question in the povray.unofficial patches group and
> > perhaps Ron Parker will offer some insight into this problem for you.
> > He may not have Moray on his system though so don't expect miracles.
> >
> > --
> > Ken Tyler
> >
> > See my 850+ Povray and 3D Rendering and Raytracing Links at:
> > http://home.pacbell.net/tylereng/index.html

-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Ron Parker
Subject: Re: Texture Editor Rendering in Superpatch
Date: 7 Sep 1999 11:06:23
Message: <37d529ef@news.povray.org>
On Sat, 04 Sep 1999 02:03:51 -0700, Ken wrote:
>
>The fact the it works with UVPov and not with the SuperPatch tells me that
>there might be something wrong with the API hooks in the SP and Ron should
>look into it anyway.

Probably.  I really should get a registered copy of Moray someday; I don't
feel right using it for testing after my evaluation period expired.  Well,
okay, I'll do it just this once.


Post a reply to this message

From: Ron Parker
Subject: Re: Texture Editor Rendering in Superpatch
Date: 8 Sep 1999 12:26:22
Message: <37d68e2e@news.povray.org>
On Sat, 04 Sep 1999 02:03:51 -0700, Ken wrote:
>
>The fact the it works with UVPov and not with the SuperPatch tells me that
>there might be something wrong with the API hooks in the SP and Ron should
>look into it anyway.

Well, I just spent a few minutes looking at it and it appears I'm sending
the moray control DLL exactly the same information as the official version,
but it's just not getting to Moray.  Why this should be, I don't know.  I
even tried it with a version built from the new 3.1g windows code and it
didn't make a difference.  I'm somewhat stumped.


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: Texture Editor Rendering in Superpatch
Date: 8 Sep 1999 12:47:53
Message: <37d7934f.8674613@194.174.214.110>
Hi Ron Parker, you recently wrote in moray.win:

> Well, I just spent a few minutes looking at it and it appears I'm sending
> the moray control DLL exactly the same information as the official version,
> but it's just not getting to Moray.  Why this should be, I don't know.  I
> even tried it with a version built from the new 3.1g windows code and it
> didn't make a difference.  I'm somewhat stumped.
Hmmm. Is the complete source code available for download so that I can
debug it? Or where can I get a compiled debug version that fails. I
can take a look at what's failing.

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Ron Parker
Subject: Re: Texture Editor Rendering in Superpatch
Date: 8 Sep 1999 12:52:26
Message: <37d6944a@news.povray.org>
On Wed, 08 Sep 1999 16:49:22 GMT, Lutz Kretzschmar wrote:
>Hi Ron Parker, you recently wrote in moray.win:
>
>> Well, I just spent a few minutes looking at it and it appears I'm sending
>> the moray control DLL exactly the same information as the official version,
>> but it's just not getting to Moray.  Why this should be, I don't know.  I
>> even tried it with a version built from the new 3.1g windows code and it
>> didn't make a difference.  I'm somewhat stumped.
>Hmmm. Is the complete source code available for download so that I can
>debug it? Or where can I get a compiled debug version that fails. I
>can take a look at what's failing.

There's source for the version that's out there on my website at
http://www2.fwi.com/~parkerr/superpatch/ .  You'll also need a copy
of the Windows 3.1a source to build it; I'm not sure if that's still
available or not.  If not, you can probably use the 3.1g source.
I've included a VC6 project file, because that's what I use.


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: Texture Editor Rendering in Superpatch
Date: 8 Sep 1999 16:07:48
Message: <37d7c130.20419261@194.174.214.110>
Hi Ron Parker, you recently wrote in moray.win:

> Well, I just spent a few minutes looking at it and it appears I'm sending
> the moray control DLL exactly the same information as the official version,
> but it's just not getting to Moray.  
Hmmm. I just ran my DLL in the debugger, under SuperPatch control, so
to speak (The Superpatch was the debuggee). The only strange thing I
saw was that when I start a render, POV calls the POVDisplayPlot
functions instead of the POVAssignPixel function. Since POV returned a
GUI Extension version of 101, it should be calling the PixelAssign
function.

Strangely enough, when the GUI Extension starts the render, neither
POVDisplayPlot nor POVAssignPixel is called....

It looks like I'll have to get SuperPatch to compile and see that I
can debug that.

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Lutz Kretzschmar
Subject: Re: Texture Editor Rendering in Superpatch
Date: 10 Sep 1999 07:39:58
Message: <37d8ed3b.16651493@194.174.214.110>
Hi Ron Parker, you recently wrote in moray.win:

> There's source for the version that's out there on my website at
> http://www2.fwi.com/~parkerr/superpatch/ .  You'll also need a copy
> of the Windows 3.1a source to build it; I'm not sure if that's still
> available or not.  If not, you can probably use the 3.1g source.

I compiled it with 3.1g source and found the bug. 

The problem is an out-of-date Render.C in the SuperPatch source.

You need to add the following line at line 1371:

	  POV_ASSIGN_PIXEL (x, y, Current_Line[x])

just after the call:

      plot_pixel(x, y, Current_Line[x]);

I just compared the render.c from 3.1a, 3.1g and SuperPatch and both
official version have the line, but the SuperPatch version is missing
this line. 

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

From: Ron Parker
Subject: Re: Texture Editor Rendering in Superpatch
Date: 10 Sep 1999 09:48:45
Message: <37d90c3d@news.povray.org>
On Fri, 10 Sep 1999 11:41:17 GMT, Lutz Kretzschmar wrote:
>Hi Ron Parker, you recently wrote in moray.win:
>
>> There's source for the version that's out there on my website at
>> http://www2.fwi.com/~parkerr/superpatch/ .  You'll also need a copy
>> of the Windows 3.1a source to build it; I'm not sure if that's still
>> available or not.  If not, you can probably use the 3.1g source.
>
>I compiled it with 3.1g source and found the bug. 
>
>The problem is an out-of-date Render.C in the SuperPatch source.

Thanks, Lutz.  Sounds like another merge bug.  I'll fix it ASAP.


Post a reply to this message

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