POV-Ray : Newsgroups : povray.newusers : using BMP as background for galaxies : Re: using BMP as background for galaxies Server Time
5 Nov 2024 13:23:41 EST (-0500)
  Re: using BMP as background for galaxies  
From: Ken
Date: 25 Aug 1999 16:39:58
Message: <37C45468.3CECC416@pacbell.net>
Chuck Roberts wrote:
> 
> The BMP was in the same directory as the POV file. It rendered the plane
> image fine, but after POV rendered the last line, I got the Invalid
> Operation error in pvengine.exe.

Instead of clipping a plane you might try simply applying your image to
a flat box instead. For the sake of learning how to use image maps let
me give you my standard format example:

box {-0.5, 0.5 // a unit sized box
 pigment {
  image_map { sys "image.bmp interpolate 2 }
   translate -0.5 // center the image to the box
 } 
   scale <1,1,0.1> // scale box and image together to your size needed
  translate <somewhere>
}

I always start with a unit sized object like the one shown and then the
object and the image can be scaled and translated together.

-- 
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

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