POV-Ray : Newsgroups : povray.newusers : POV 3.02 and win 98 crashes Server Time
14 Nov 2024 00:18:01 EST (-0500)
  POV 3.02 and win 98 crashes (Message 1 to 6 of 6)  
From: Chuck Roberts
Subject: POV 3.02 and win 98 crashes
Date: 26 Aug 1999 12:56:05
Message: <37C571E9.D9BA67B0@accn.org>
I have POV 3.02 and win 98. My PC has an ATI video card and 256MB of
ram. When I render a certain scene POV crashes most of the time with an
Invalid Page Fault in PVENGINE.EXE at 017f:something. Is this a bug? 

How can I fix this? Here is the scene I'm doing. 
#version 3
#include "colors.inc"
global_settings
{assumed_gamma 1.0
}
#default {texture {pigment { color Red } } };
// ----------------------------------------
camera
{ location  <0.0, 1.5, -6.0>
  direction 1.5*z
  right     4/3*x
  look_at   <0.0, 1.5,  6.0>
}

/*sky_sphere
{ pigment
  { gradient y
    color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
  }
}
*/

light_source
{ 0*x // light's position (translated below)
  color red 1.0  green 1.0  blue 1.0  // light's color
  translate <-10, 20, 20>
}

// ----------------------------------------

#declare earth_z = 60; //earth pos on z axis
#declare ast_z = -30;
#declare moon_z = -1;

box {-0.5, 0.5 // a unit sized box used for background image
 texture
   { pigment
     { image_map { sys "galaxy.bmp"
         //interpolate 2
         }
       translate -0.5 // center the image to the box
     }
    }
  scale <50,50,50> //make it bigger
  translate <5,0,earth_z+10>
}

//Earth
sphere
{<0,0,0> 1
  texture  { pigment
    { image_map
      { sys "earthmap.bmp" // supports gif, tga, png, sys (bmp)
        map_type 1    // 1=spherical mapping
        //interpolate 2 // smooth it
      }
        rotate<0,0,180>      //rotate on Y axis over n frames
    } //pigment
    finish {ambient 0.3}
  } //texture
  translate <0,0,earth_z>
}

//moon
sphere
{<0,0,0> .5
  texture  { pigment
    { image_map
      { sys "moonmap.bmp" // supports gif, tga, png, sys (bmp, use OS2
subformat)
        map_type 1    // 1=spherical mapping
        interpolate 2 // smooth it
      }
      // transform it to unit-size (-1 to +1)
        rotate <0,180,180>
    }
    finish {ambient 0.3}
  }
  translate <2,0,moon_z> // center on the origin
}

// create a smooth blobby shape
#declare StrengthVal = 1.0 // (+ or -) strength of component's radiating
density
#declare RadiusVal   = 1.0 // (0 < RadiusVal) outer sphere of influence
on other components
blob
{
  // threshold (0.0 < threshold <= StrengthVal) surface falloff
threshold #
  threshold 0.6
  sphere { < 0.20,   0,    0>, StrengthVal, RadiusVal }
  sphere { <-0.375,  0.25, 0>, StrengthVal, RadiusVal }
  // [sturm]
  scale 2
  texture { pigment { DarkBrown }
// texture pigment/normal pattern
   normal { crackle 0.8 turbulence 0.8 }
    }
  translate <1,-2,0>
  scale .5
}

/*#include "c:\chuck\zip\pov\rock.inc"
  texture {pigment {color DarkBrown }
     normal { crackle 0.8 turbulence 0.8 }
  }
  translate <3.50,0,10>
  }*/
#include "c:\chuck\zip\pov\rock2.inc" //a large mesh
  texture {pigment {color DarkBrown }
     normal { crackle 0.8 turbulence 0.8 }
  }
  translate <6.50,0,10>
  }
#include "c:\chuck\zip\pov\rock3.inc" // a mesh with lots of triangles
  texture {pigment {color DarkBrown }}
  translate <3.50,-4.5,10>
  }


Post a reply to this message

From: Ken
Subject: Re: POV 3.02 and win 98 crashes
Date: 26 Aug 1999 13:05:26
Message: <37C573A1.3BF54583@pacbell.net>
Chuck Roberts wrote:
> 
> I have POV 3.02 and win 98. My PC has an ATI video card and 256MB of
> ram. When I render a certain scene POV crashes most of the time with an
> Invalid Page Fault in PVENGINE.EXE at 017f:something. Is this a bug?
> 
> How can I fix this? Here is the scene I'm doing.

  You have so many file elements in your scene that are external,
image maps and include files, that it would be nearly impossible to
debug this for you. What I suggest you do is play detective a little
bit and start commenting things out of the scene until the crash stops
occurring. Once you find out which part of the scene is causing the
problem get back to us and we will see if we can offer a solution.

  One thing you should be aware of is if it is a bug in pov v3.02 the
pov team will not care. You really should upgrade to Pov v3.1g since
pov v3.1 was introduced for the most part to address many bug related
issues and you could very well be experiencing one of those now.

-- 
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: Chuck Roberts
Subject: Re: POV 3.02 and win 98 crashes
Date: 26 Aug 1999 14:46:23
Message: <37C58BC3.EB31560B@accn.org>
First, I wanted POV 3.02 to be compatible with so many other scenes out
there. Pov 3.1 doesn't support 'halo' and uses 'material' for textures.

Second, when I comment out the box, it works fine and I don't get an
IPF. 

Thank you Ken.


Post a reply to this message

From: Ken
Subject: Re: POV 3.02 and win 98 crashes
Date: 26 Aug 1999 15:33:54
Message: <37C5966C.587F5676@pacbell.net>
Chuck Roberts wrote:
> 
> First, I wanted POV 3.02 to be compatible with so many other scenes out
> there. Pov 3.1 doesn't support 'halo' and uses 'material' for textures.
> 
> Second, when I comment out the box, it works fine and I don't get an
> IPF.
> 
> Thank you Ken.

Try changing your .bmp file to a .tga and use the code below. I tried to get
any .bmp file to work with my install of Pov v3.01r1 and could not get it to
accept it. Once I changed to .tga I had no problems. By the way if you are
concerned with backward compatibility you can install the newer version of
Pov into a different directory and run both versions. I have about 6 different
Pov versions and patches all running somewhat harmoniously together on my
system. There are some registry issues to contend with but they are not
insurmountable.

#declare earth_z = 60; //earth pos on z axis
#declare ast_z = -30;
#declare moon_z = -1;

box {-0.5, 0.5 // a unit sized box used for background image
 texture
   { pigment
     { image_map { tga "galaxy.tga"
         //interpolate 2
         }
       translate -0.5 // center the image to the box
     }
    }
  scale <50,50,50> //make it bigger
  translate <5,0,earth_z+10>
}


-- 
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: Nieminen Juha
Subject: Re: POV 3.02 and win 98 crashes
Date: 27 Aug 1999 02:43:59
Message: <37c633af@news.povray.org>
Chuck Roberts <rob### [at] accnorg> wrote:
: First, I wanted POV 3.02 to be compatible with so many other scenes out
: there. Pov 3.1 doesn't support 'halo' and uses 'material' for textures.

  You speak like the keyword 'texture' in pov 3.0 has been replaced with
the keyword 'material' in 3.1. This isn't true, of course.
  Moving all the ior-statement into the interior-block is not that tedious.
  With pov 3.1 you get lots of advantages, like macros, faster lathes and
sors, etc.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Chuck Roberts
Subject: Re: POV 3.02 and win 98 crashes
Date: 27 Aug 1999 10:44:17
Message: <37C6A485.D4DDE168@accn.org>
Using TGA instead of BMP files worked. No more errors! Thanks Ken!


Ken wrote:
> >
> Try changing your .bmp file to a .tga and use the code below. I tried to get
> any .bmp file to work with my install of Pov v3.01r1 and could not get it to
> accept it. Once I changed to .tga I had no problems. By the way if you are
> concerned with backward compatibility you can install the newer version of
> Pov into a different directory and run both versions. I have about 6 different
> Pov versions and patches all running somewhat harmoniously together on my
> system. There are some registry issues to contend with but they are not
> insurmountable.
>


Post a reply to this message

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