POV-Ray : Newsgroups : povray.general : bitmaps as background Server Time
7 Aug 2024 09:20:14 EDT (-0400)
  bitmaps as background (Message 1 to 2 of 2)  
From: Gordan Sikic
Subject: bitmaps as background
Date: 27 Oct 2001 19:57:05
Message: <3bdb49d1@news.povray.org>
Hello,

I have a file in dxf format, representing horisontal situation of the 
future town block, and a scaned photo taken from the air showing present 
situation. I should construct (very basic) objects representing 
houses,roads,gardens..., and to apply it onto the photo. 

I know how to do it in 3ds, but I would like to use povray for that 
purpose. 

Does anybody have suggestions, pointers?

Thanks in advance,

Gordan Sikic
gor### [at] inethr


Post a reply to this message

From: Bob H 
Subject: Re: bitmaps as background
Date: 28 Oct 2001 11:06:07
Message: <3bdc2cef@news.povray.org>
"Gordan Sikic" <gor### [at] inethr> wrote in message
news:3bdb49d1@news.povray.org...
>
> I have a file in dxf format, representing horisontal situation of the
> future town block, and a scaned photo taken from the air showing present
> situation. I should construct (very basic) objects representing
> houses,roads,gardens..., and to apply it onto the photo.

Apply the photo to a ground plane and use orthographic camera above that
while placing objects into the scene.

plane {y,0
    pigment {
        image_map {sys "YourPhoto.bmp" once} // whatever photo format
    translate -.5 // center
    scale <YourPhotoScaleX,YourPhotoScaleY,1>
    rotate 90*x
                }
}

camera {orthographic
    location -100*z // place farther than largest object extent
    right YourPhotoScaleX
    up YourPhotoScaleY
    look_at 0
 rotate 90*x // comment out to see from front instead of above
}

Maybe that will be of some help to you.  Not sure how your using your DXF
(as a mesh I suppose).

Bob H.


Post a reply to this message

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