POV-Ray : Newsgroups : povray.general : Mesh-object problem Server Time
11 Aug 2024 13:14:48 EDT (-0400)
  Mesh-object problem (Message 1 to 6 of 6)  
From: Zeger Knaepen
Subject: Mesh-object problem
Date: 17 Jul 1999 13:05:53
Message: <3790b7f1@news.povray.org>
I'm having problems with the mesh-object in Superpatch 3.1e.  Since I only
have Povray 3.1a, I can't say if it's also in POVRay 3.1e, f or g.
The problem is simply that I cannot make a mesh object.  Superpatch stops
with the message:

error: Attempt to malloc zero size block (File:
C:\incoming\povsrc\super31a\PARSE.C Line 3796).

(and the line causing the error is always the first thing in the mesh that
isn't a triangle, but a transformation, texture, or even a ' }' )
Is this a bug, or am I doing something wrong?

ZK


Post a reply to this message

From: edna dornblazer
Subject: Re: Mesh-object problem
Date: 17 Jul 1999 16:47:39
Message: <3790EB91.75E7@geocities.com>
Zeger Knaepen wrote:
> 
> I'm having problems with the mesh-object in Superpatch 3.1e. 
>  Since I only have Povray 3.1a, I can't say if it's also in 
> POVRay 3.1e, f or g.
> The problem is simply that I cannot make a mesh object.  Superpatch 
> stops with the message:
> 
> error: Attempt to malloc zero size block (File:
> C:\incoming\povsrc\super31a\PARSE.C Line 3796).
> 
> (and the line causing the error is always the first thing in the mesh that
> isn't a triangle, but a transformation, texture, or even a ' }' )
> Is this a bug, or am I doing something wrong?
> 

I think this is a known bug in SuperPatch to 3.1e which was briefly
discussed in povray.unofficial.patches a couple weeks ago. It is 
not a problem in the official 3.1e.
It is sure to be fixed in the next SuperPatch version.

You could apply the fix discussed in that afore mentioned thread to
the SuperPatch sources and compile a new POV-Ray. (If you tell me you 
actually want to do that, I can be more specific about it). another
possiblility is to get use MS-DOS version of the SuperPatch from
http://www.geocities.com/Athens/Academy/8764/spovraydjgpp.html
which is fixed (for that particular bug anyway)

-- 
http://www.geocities.com/Athens/Academy/8764
http://www.interport.net/~dsharp


Post a reply to this message

From: edna dornblazer
Subject: Re: Mesh-object problem
Date: 17 Jul 1999 16:51:00
Message: <3790EC5C.2A48@geocities.com>
I forgot to mention that, assuming it is that same mesh bug,
if you can use smooth_triangles instead of plain triangles
in your mesh, it will work. the malloc problem is only with
plain triangles.
--


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Mesh-object problem
Date: 18 Jul 1999 08:42:20
Message: <3791cbac@news.povray.org>
edna dornblazer heeft geschreven in bericht <379### [at] geocitiescom>...
>I forgot to mention that, assuming it is that same mesh bug,
>if you can use smooth_triangles instead of plain triangles
>in your mesh, it will work. the malloc problem is only with
>plain triangles.

Thanks for your help.  I think I'll just wait for the next Superpatch.  Or
maybe Povray 3.5...

ZK


Post a reply to this message

From: Alan Kong
Subject: Re: Mesh-object problem
Date: 18 Jul 1999 08:51:47
Message: <3792c959.211284099@news.povray.org>
On Sat, 17 Jul 1999 18:58:46 +0200, "Zeger Knaepen"
<zeg### [at] hotmailcom> wrote:

>I'm having problems with the mesh-object in Superpatch 3.1e.  Since I only
>have Povray 3.1a, I can't say if it's also in POVRay 3.1e, f or g.

  Hi, Zeger. Why not grab the latest version, 3.1g for most platforms, if
the download time is not cost-prohibitive for you?

-- 
Alan
--------------------------------------------------------------------
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
news.povray.org - where POV-Ray enthusiasts around the world can get
together to exchange ideas, information, and experiences with others
--------------------------------------------------------------------


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Mesh-object problem
Date: 18 Jul 1999 08:54:40
Message: <3791ce90@news.povray.org>
Alan Kong heeft geschreven in bericht
<3792c959.211284099@news.povray.org>...
>  Hi, Zeger. Why not grab the latest version, 3.1g for most platforms, if
>the download time is not cost-prohibitive for you?


Because I want to use Superpatch-features.

ZK


Post a reply to this message

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