POV-Ray : Newsgroups : povray.binaries.scene-files : New version screen.inc : Re: New version screen.inc Server Time
18 May 2024 18:54:47 EDT (-0400)
  Re: New version screen.inc  
From: Kenneth
Date: 5 Nov 2017 14:35:01
Message: <web.59ff66e1b4b0059689df8d30@news.povray.org>
from SharkD originally...
> > Update:

> > ...Also includes a new macro called
> > "Get_Screen_XY" to return the 2D screen location of a set of 3D coordinates.

Captain Jack replied in 2009...
> Cool... I hadn't read through the Get_Screen_XY macro yet, but I did write a
> scene to test it, which I've attached. The macro worked exactly as expected,
> with no errors. The animation itself is of a group of three balls connected
> by springs that float around the screen. I had the program create a text
> file giving the screen coordinates for the center of one of the spheres in a
> format that can be read by Particle Illusion. I Rendered the scene in POV,
> then I imported the text file into PI, then composited the whole thing over
> a background picture, and everything lined up exactly right with no error
> message generated at any point.

That Particle Illusion animation looks VERY good (I haven't gotten around to
trying  out that particular Rune(?) code yet, though.) It makes me wonder if
SharkD's original Get_Screen_XY macro (or any of its subsequent updates or
fixes) can successfully track an object with the camera actually moving around--
or maybe with just pan and tilt. (The animation example is with a fixed camera;
and SharkD didn't specifically mention camera motion.)  I haven't yet tried out
the macro or looked at his various code updates-- which apparently still have
some problems, it seems-- but *if* it could, it would make a really nice
camera-tracking package. Well, at least for tracking an animated moving-camera
POV-Ray rendered scene.


Post a reply to this message

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