POV-Ray : Newsgroups : povray.binaries.images : MATCHMOVING in POV-ray Server Time
29 May 2024 05:41:21 EDT (-0400)
  MATCHMOVING in POV-ray (Message 6 to 15 of 35)  
<<< Previous 5 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Kenneth
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 11:55:01
Message: <web.52fe4936d1c8d4afc2d977c20@news.povray.org>
"jhu" <nomail@nomail> wrote:
> Wow! That's awesome!

Thank you!


Post a reply to this message

From: Kenneth
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 12:05:01
Message: <web.52fe4c1cd1c8d4afc2d977c20@news.povray.org>
"Nekar Xenos" <nek### [at] gmailcom> wrote:
> On Fri, 14 Feb 2014 00:37:11 +0200, Kenneth <kdw### [at] gmailcom> wrote:
>
> This is awesome!

Thanks!
>
> I wonder how the mobile app FXGuru does the tracking with camera movement.

Hmm, that's new to me; I'll have to look it up. Sounds interesting.
>
> BTW on this scene - how about using the background photo as a sky_sphere
> so the reflections match the scenery a bit more?

I gave that some thought; but the video image background has such a limited
field of view that I thought it might look strange as a 'spherical' reflection
(i.e., mapped to a sphere.) The problem with using a sky_sphere is that my
police car renders need a transparent background (for compositing later); I
don't *think* a sky_sphere can be made no_image (?). But I could be wrong about
that.

The reflections do need better imagery, though. I also thought of going out in
my driveway and making some stitched-together photos of the surroundings, from
the 'location' of the police car. But my original background movie was made last
Spring, when all the trees etc. were in bloom; now it's winter and the trees are
bare! :-/


Post a reply to this message

From: Kenneth
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 12:10:01
Message: <web.52fe4ce8d1c8d4afc2d977c20@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> That is looking great indeed. So, not only early retirement (congrats!)
> but you now own a first generation new concept car! Some guys have it
> all... :-)
>
> I second Nekar's suggestion.
>

Thanks, Thomas. Yeah, with all the snow that has been falling here in Virginia
this winter, it would be NICE to have a flying car to escape it all!


Post a reply to this message

From: Kenneth
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 12:15:01
Message: <web.52fe4e4fd1c8d4afc2d977c20@news.povray.org>
"Mr" <nomail@nomail> wrote:
> "jhu" <nomail@nomail> wrote:
> > Wow! That's awesome!
>
> Yes,
>
> Were you aware that Blender had matchmoving features?
>
> Maybe some pieces of the code might be of some help to your project?

I did read that somewhere. What a nice feature! I wonder how expert it is in
determining *spatial* movement of the video camera?

There's another (dedicated) matchmoving program called MOCHA that I would love
to have. But then, it would remove the fun of trying to code my own version in
POV-Ray! ;-)


Post a reply to this message

From: Stephen
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 13:20:31
Message: <52fe5e6f$1@news.povray.org>
On 14/02/2014 5:02 PM, Kenneth wrote:
> I
> don't*think*  a sky_sphere can be made no_image (?). But I could be wrong about
> that.

You could always use a large sphere with a spherical projection and the 
no image flag.


-- 
Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 13:21:34
Message: <52fe5eae$1@news.povray.org>
On 14/02/2014 6:20 PM, Stephen wrote:
> On 14/02/2014 5:02 PM, Kenneth wrote:
>> I
>> don't*think*  a sky_sphere can be made no_image (?). But I could be
>> wrong about
>> that.
>
> You could always use a large sphere with a spherical projection and the
> no image flag.
>
>

Oh! Very nice work. I forgot to say.

-- 
Regards
     Stephen


Post a reply to this message

From: Cousin Ricky
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 13:25:00
Message: <web.52fe5e9cd1c8d4af192ae5f10@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
>  The problem with using a sky_sphere is that my
> police car renders need a transparent background (for compositing later); I
> don't *think* a sky_sphere can be made no_image (?). But I could be wrong about
> that.

No, you are not wrong.  Luckily, POV-Ray has a built-in sphere primitive.  :-)
__________________________________________________

//+ua
#version 3.7;

global_settings { assumed_gamma 1 }

#include "colors.inc"
#include "skies.inc"

sphere
{ 0, 1
 //Substitute your image map
  texture
  { pigment
    { gradient y color_map
      { [0 rgb <0.4, 0.6, 1.0>]
        [1 rgb <0.10, 0.15, 0.30>]
      }
    }
    finish { ambient 0 diffuse 0 emission 1 }
  }
  texture { T_Cloud1 scale 0.1 }
 //
  scale 10000
  hollow
  no_image
}

light_source
{ <-1, 1, -1> * 5000, rgb <1.4716, 1.0775, 0.6379>
  parallel point_at 0
}

camera
{ location <0, 0.75, -5>
  look_at <0, 1, 0>
  angle 40
}

plane { y, 0 pigment { checker rgb 0.05 rgb 1 } }

sphere
{ y, 1
  pigment { rgb <0.61, 0.61, 0.64> }
  finish
  { reflection { 1 metallic }
    ambient 0 diffuse 0
    specular albedo 1 metallic roughness 0.0001
  }
}


Post a reply to this message


Attachments:
Download 'kenneth-alpha_sky.png' (53 KB)

Preview of image 'kenneth-alpha_sky.png'
kenneth-alpha_sky.png


 

From: Kenneth
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 15:15:00
Message: <web.52fe7811d1c8d4afc2d977c20@news.povray.org>
Stephen <mca### [at] aolcom> wrote:

> >
> > You could always use a large sphere with a spherical projection and the
> > no image flag.

Yeah, that's what I'm doing now.

What I *really* need to do-- for this project and others-- is to buy a shiny
sphere, for making a 'light probe' (a non-HDRI version, as my little Canon video
camera doesn't shoot HDRI/'raw' images, unfortunately.) Then I could photograph
the surrounding 'environment' in just a single image (or two? I'm still not sure
of how light probes are made) and map that to the large no_image sphere. In the
past, I've simply stitched lots of 'normal' photos together, to get a
quasi-360-degree image for reflections. What a pain.

> Oh! Very nice work. I forgot to say.

Many thanks!


Post a reply to this message

From: Kenneth
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 15:30:00
Message: <web.52fe7bc4d1c8d4afc2d977c20@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

>
> What I *really* need to do-- for this project and others-- is to buy a shiny
> sphere, for making a 'light probe' (a non-HDRI version, as my little Canon video
> camera doesn't shoot HDRI/'raw' images, unfortunately.)

Of course, there's the alternate trick of making, say, five bracketed exposures
of the mirrored sphere with my 'regular' camera, and then combining those in
specialized software to make an HDRI image. But I haven't gotten into the HDRI
world yet, sad to say. "So little time, so MUCH to learn." ;-)


Post a reply to this message

From: Robert McGregor
Subject: Re: MATCHMOVING in POV-ray
Date: 14 Feb 2014 17:35:01
Message: <web.52fe99e2d1c8d4af91114470@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> "Kenneth" <kdw### [at] gmailcom> wrote:
>
> >
> > What I *really* need to do-- for this project and others-- is to buy a shiny
> > sphere, for making a 'light probe' (a non-HDRI version, as my little Canon video
> > camera doesn't shoot HDRI/'raw' images, unfortunately.)
>
> Of course, there's the alternate trick of making, say, five bracketed exposures
> of the mirrored sphere with my 'regular' camera, and then combining those in
> specialized software to make an HDRI image. But I haven't gotten into the HDRI
> world yet, sad to say. "So little time, so MUCH to learn." ;-)

This is pretty cool!

I have a 5 inch chrome sphere that I use for that very purpose (plus it looks
cool on my desk when not in use). Mount your camera on a tripod and take a set
of bracketed shots, then rotate the tripod ~90 degrees around the sphere and
take another set of bracketed shots. After you've combined the two bracketed
imagesets into 2 HDRs you can merge these offset images to eliminate the
camera/tripod completely from the final shot. Of course, Ive's IC is very useful
here:

http://www.lilysoft.org/IC/ic_index.htm

-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message

<<< Previous 5 Messages Goto Latest 10 Messages Next 10 Messages >>>

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