POV-Ray : Newsgroups : povray.general : orthographic projection of game tiles.... : Re: orthographic projection of game tiles.... Server Time
12 Aug 2024 09:20:06 EDT (-0400)
  Re: orthographic projection of game tiles....  
From: John M  Dlugosz
Date: 1 Mar 1999 01:45:28
Message: <36da3788.0@news.povray.org>
Forget the "look at" and just use the height/width in your right/up vectors.
If memory serves (I did some ortho reciently), the camer's position is the
lower-left corner, not the center!   Don't rotate the camera and you'll have
nice straight lines.

--John


Stephen Guentert wrote in message <36d8ba99.0@news.povray.org>...
>I'm working on a shareware video game similar to diablo  and I want to use
>POV-RAY to render the tiles.  the tiles need to be 64x64 with two diamonds
>rendered from a checkered floor, one right above the other.  so far I've
got
>the orthographic part right, but I cant get the camera into the right
>position to render it perfectly.  I need the perfect rendering position so
>the individual tiles will match up correctly inside the game.  so right now
>I've got a checkered floor and I'm looking at 0,0,0 from 10,10,10 with the
>floor scaled up by 10.  this doesnt give me the effect I'm looking for.  I
>need the corners to line up to the edges and to the center of the tile....
>
>so can anybody lend some advice?
>
>


Post a reply to this message

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