POV-Ray : Newsgroups : povray.binaries.images : tracking simulation Server Time
9 Aug 2024 17:17:34 EDT (-0400)
  tracking simulation (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Colin
Subject: Re: tracking simulation
Date: 16 Feb 2005 13:42:15
Message: <42139407@news.povray.org>
Thx for all the suggestions on my problem.

It is really about the aspect problem. For now, my findings is about the 
texture mapping rather than the image resolution.

I've try to use the the suggestion about resize the image with the width 
of 352 pixel rather than the 384. But it turns out that the marker 
pattern is still distorted (taller and thinner). Therefore, I use the 
original 384x288 resolution and compare again. I've use the ruler to 
measure all objects in the povray generated image and in the camera 
captured image (there is a pixel ruler under linux, really convenient~). 
I've found that those objects (the A4 paper) I defined is actually 
having the same projected dimension with the real one. But for the 
marker's patter, it become taller and thinner.

Therefore, is my texture mapping code actually wrong?

Here is my texture mapping source code:

#this is simulating a marker printed on an A4 size paper
    box
    {
       <0, 0, 0>, <21, 29.7, 0.01>
       pigment
       {
          image_map{png "marker1.png" once interpolate 2 map_type 0}
          scale <21, 29.7, 0.01>
       }
    }



regards
Colin


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: tracking simulation
Date: 16 Feb 2005 14:57:01
Message: <4213a58d@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	What are the pixel dimensions of your marker1.png? Are you sure that
it fits exactly on the A4 paper, or is there some kind of
printing/scanning margin?

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCE6WMqIYJdJhyixIRAqu3AJ9fadRDoBrdb2rLpcUVaAfbnmANfQCdHXkx
2GzDfY40an5q6BM9a4mZHBE=
=i8hs
-----END PGP SIGNATURE-----


Post a reply to this message

From: Colin
Subject: Re: tracking simulation
Date: 16 Feb 2005 15:33:42
Message: <4213ae26$1@news.povray.org>
It's really a good question... This is another problem I'm looking at 
now. It is because the tracking software is not developed and and the 
markers are printed by me.

So I just want to make clear to myself that is my code actually correct?

Colin


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>     What are the pixel dimensions of your marker1.png? Are you sure that
> it fits exactly on the A4 paper, or is there some kind of
> printing/scanning margin?
> 
>         Jerome
> - --
> ******************************
> *      Jerome M. Berger      *
> * mailto:jbe### [at] ifrancecom *
> *  http://jeberger.free.fr/  *
> ******************************
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFCE6WMqIYJdJhyixIRAqu3AJ9fadRDoBrdb2rLpcUVaAfbnmANfQCdHXkx
> 2GzDfY40an5q6BM9a4mZHBE=
> =i8hs
> -----END PGP SIGNATURE-----


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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