POV-Ray : Newsgroups : povray.general : "Access violation at address 01161E12 in module 'povcmax2.dll'..." Server Time
6 Nov 2024 00:27:19 EST (-0500)
  "Access violation at address 01161E12 in module 'povcmax2.dll'..." (Message 1 to 5 of 5)  
From: Uplah
Subject: "Access violation at address 01161E12 in module 'povcmax2.dll'..."
Date: 23 Oct 2004 07:00:01
Message: <web.417a39376bc0293117968a7d0@news.povray.org>
Hello all

I was hoping someone out there could help me! I'm trying to generate nice
pictures of a protein structure, but the output .pov file from VMD cannot
be loaded into POV-ray for some reason. What I get is the the error:

Access violation at address 01161E12 in module 'povcmax2.dll'. Read of
address 00000000.

I press OK and it then says:

Failed to open file: The operation completed successfully.

When I then try to open it again, it says:

Failed top open file: Not enough storage is available to process this
command.

Are these two things related?

I have POV-ray v3.6 installed on a PC running Win2003 and has 1GB RAM. The
program is running from a primary partition of 20GB (with 12GB free), and
my .pov file is on a secondary partition of 65GB (with 4GB free). Also, the
..pov file itself is 246MB...


I have a second smaller question to do with the actual rendering. I get a
lot of comments about denegerate triangles. Is there an easy way of getting
rid of them?

Any help would be much appreciated!

Uplah


Post a reply to this message

From: Christoph Hormann
Subject: Re: "Access violation at address 01161E12 in module 'povcmax2.dll'..."
Date: 23 Oct 2004 07:15:02
Message: <cldef7$39b$1@chho.imagico.de>
Uplah wrote:
> Hello all
> 
> I was hoping someone out there could help me! I'm trying to generate nice
> pictures of a protein structure, but the output .pov file from VMD cannot
> be loaded into POV-ray for some reason. What I get is the the error:
> 
> Access violation at address 01161E12 in module 'povcmax2.dll'. Read of
> address 00000000.
> 

Have you tried rendering it without opening it in the editor?  With 
large files containing very long lines the editor might have troubles 
but POV-Ray should render them without problems.

> 
> I have a second smaller question to do with the actual rendering. I get a
> lot of comments about denegerate triangles. Is there an easy way of getting
> rid of them?

Yes, removing the degenerate triangles. ;-)

Degenerate triangles are either triangles with collinear vertices or 
smooth triangles with ambiguous normal vectors.  Any program generating 
meshes should take care of not generating such triangles.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 23 Sep. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Uplah
Subject: Re: "Access violation at address 01161E12 in module 'povcmax2.dll'..."
Date: 23 Oct 2004 08:05:00
Message: <web.417a489c2785c4e817968a7d0@news.povray.org>
YAY!

Thanks Christoph!

I suddenly realised that the .pov file is just a text file! So I just fired
it up in Wordpad, did what I had to do and did a quick render in POV-ray
without having to load it in the editor - brilliant!

Still get the degenerate triangles though... Seems VMD is not doing an
optimal job (?). Do I need to worry about getting rid of them? Is there a
simple program that can do this?

Many thanks in advance!

Uplah


Christoph Hormann <chr### [at] gmxde> wrote:
> Uplah wrote:
> > Hello all
> >
> > I was hoping someone out there could help me! I'm trying to generate nice
> > pictures of a protein structure, but the output .pov file from VMD cannot
> > be loaded into POV-ray for some reason. What I get is the the error:
> >
> > Access violation at address 01161E12 in module 'povcmax2.dll'. Read of
> > address 00000000.
> >
>
> Have you tried rendering it without opening it in the editor?  With
> large files containing very long lines the editor might have troubles
> but POV-Ray should render them without problems.
>
> >
> > I have a second smaller question to do with the actual rendering. I get a
> > lot of comments about denegerate triangles. Is there an easy way of getting
> > rid of them?
>
> Yes, removing the degenerate triangles. ;-)
>
> Degenerate triangles are either triangles with collinear vertices or
> smooth triangles with ambiguous normal vectors.  Any program generating
> meshes should take care of not generating such triangles.
>
> Christoph
>
> --
> POV-Ray tutorials, include files, Sim-POV,
> HCR-Edit and more: http://www.tu-bs.de/~y0013390/
> Last updated 23 Sep. 2004 _____.//^>_*_<^/.______


Post a reply to this message

From: Alain
Subject: Re: "Access violation at address 01161E12 in module 'povcmax2.dll'..."
Date: 23 Oct 2004 11:07:56
Message: <417a73cc$1@news.povray.org>
Uplah nous apporta ses lumieres ainsi en ce 2004-10-23 08:03... :

>YAY!
>
>Thanks Christoph!
>
>I suddenly realised that the .pov file is just a text file! So I just fired
>it up in Wordpad, did what I had to do and did a quick render in POV-ray
>without having to load it in the editor - brilliant!
>
>Still get the degenerate triangles though... Seems VMD is not doing an
>optimal job (?). Do I need to worry about getting rid of them?
>
Not realy, it just take longer to parse (time to display the warnings) 
and gobble up some memory.

> Is there a
>simple program that can do this?
>  
>
Not that I'm aware of

>Many thanks in advance!
>
>Uplah
>
>  
>
You may try using a croaser mesh, biger steps. The resulting image won't 
be as smooth, you'll get some facing and shadow glitches, but with 
larger triangles, the chances of aving degenerate ones will decrease.

Alain


Post a reply to this message

From: FlyerX
Subject: Re: "Access violation at address 01161E12 in module 'povcmax2.dll'..."
Date: 24 Oct 2004 14:36:16
Message: <417bf620@news.povray.org>
Uplah wrote:

> YAY!
> 
> Thanks Christoph!
> 
> I suddenly realised that the .pov file is just a text file! So I just fired
> it up in Wordpad, did what I had to do and did a quick render in POV-ray
> without having to load it in the editor - brilliant!
> 
> Still get the degenerate triangles though... Seems VMD is not doing an
> optimal job (?). Do I need to worry about getting rid of them? Is there a
> simple program that can do this?
> 
> Many thanks in advance!
> 
> Uplah
> 

If VMD can export to DXF, OBJ, 3DS, LWO or RAW you can use PoseRay 
(http://user.txcyber.com/~sgalls/). PoseRay will delete all collapsed 
faces on load. You can also export at a lower mesh resolution and use 
PoseRay's subdivision feature before rendering the model.

later,

FlyerX


Post a reply to this message

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