To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 15863
15862  |  15864
Subject: 
Re: POV Coordinate Question
Newsgroups: 
lugnet.cad
Date: 
Wed, 17 Dec 2008 21:41:35 GMT
Viewed: 
6636 times
  
Eric Albrecht wrote:
While doing renderings, I've noticed something odd.  POV-Ray mirrors
all the models across the XY axis.

What is your camera definition? In BlockCAD I use L3P to create the POV
file, and then I do some post-processing of that file (I don't actually
remmeber right now what I'm changing), and those renders are not mirrored.
The camera definition in such a POV file looks like:

camera {

#declare STEREO = 0; // Normal view
//#declare STEREO =  degrees(atan2(1,12))/2; // Left view
//#declare STEREO = -degrees(atan2(1,12))/2; // Right view
    location <-469.846308231354,-342.020153999329,-813.797662999143>
sky      -y
right    -4/3*x
    look_at <0, -8, 0>
    angle 25
rotate   <0,1e-5,0> // Prevent gap between adjecent quads
//orthographic
}

It's the
sky -y
right -4/3*x
which sets up the coordinate system. Removing the minus sign creates a
mirror image.

--
Anders Isaksson, Sweden
BlockCAD:  http://web.telia.com/~u16122508/proglego.htm
Gallery:   http://web.telia.com/~u16122508/gallery/index.htm



Message has 1 Reply:
  Re: POV Coordinate Question
 
(...) I usually use L3P to create the file, but then I replace the camera with a definition from LDView. If I can just change the sign, that will be easy. Eric (16 years ago, 17-Dec-08, to lugnet.cad)

Message is in Reply To:
  POV Coordinate Question
 
While doing renderings, I've noticed something odd. POV-Ray mirrors all the models across the XY axis. For instance, look at this image of (URL) 853>. It appears to be right hand drive, but the model I made it from is left hand drive. This isn't (...) (16 years ago, 17-Dec-08, to lugnet.cad, FTX)

7 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR