|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I modified screen.inc so that it works with orthographic cameras as
well. Simply add "yes" or "no" as a new parameter when calling the
"Set_Camera" macro.
There are some glitches, however. In the demo scene, setting the
"scaling" parameter to low values (i.e. below 1) causes artifacts when
orthographic mode is turned on. Also, while the crosshairs are visible,
the pigment/texture looks a lot different than when using a
non-orthographic camera.
Anyone have any idea how to fix these?
Thanks.
Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 11/12/2009 10:07 PM, SharkD wrote:
> I modified screen.inc so that it works with orthographic cameras as
> well. Simply add "yes" or "no" as a new parameter when calling the
> "Set_Camera" macro.
>
> There are some glitches, however. In the demo scene, setting the
> "scaling" parameter to low values (i.e. below 1) causes artifacts when
> orthographic mode is turned on. Also, while the crosshairs are visible,
> the pigment/texture looks a lot different than when using a
> non-orthographic camera.
>
> Anyone have any idea how to fix these?
>
> Thanks.
>
> Mike
Forgot to attach the file.
Mike
Post a reply to this message
Attachments:
Download 'screen.inc.txt' (6 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 11/12/2009 10:08 PM, SharkD wrote:
> Forgot to attach the file.
>
> Mike
Slightly tweaked version. Also, the demo scene which I forgot to add
earlier.
Mike
Post a reply to this message
Attachments:
Download 'screen.inc.txt' (6 KB)
Download 'screen.pov.txt' (6 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Update:
Includes the changes I made in my last post to enable the script to work
with orthographic cameras. Also includes a new macro called
"Get_Screen_XY" to return the 2D screen location of a set of 3D coordinates.
The lighting/material issues WRT the crosshairs and orthographic cameras
remains unresolved.
Mike
Post a reply to this message
Attachments:
Download 'screen.pov.txt' (7 KB)
Download 'screen.inc.txt' (6 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"SharkD" <mik### [at] gmailcom> wrote in message
news:4b00c2b6$1@news.povray.org...
> Update:
>
> Includes the changes I made in my last post to enable the script to work
> with orthographic cameras. Also includes a new macro called
> "Get_Screen_XY" to return the 2D screen location of a set of 3D
> coordinates.
>
> The lighting/material issues WRT the crosshairs and orthographic cameras
> remains unresolved.
>
> Mike
Very cool, indeed... looking forward to trying it out. :D Thanks for the
work.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 11/16/2009 9:13 AM, Captain Jack wrote:
> Very cool, indeed... looking forward to trying it out. :D Thanks for the
> work.
I know of one bug already. I've already fixed it and will upload it
soon. Let me know if you notice any others.
Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"SharkD" <mik### [at] gmailcom> wrote in message
news:4b01c27b$1@news.povray.org...
> On 11/16/2009 9:13 AM, Captain Jack wrote:
>> Very cool, indeed... looking forward to trying it out. :D Thanks for the
>> work.
>
> I know of one bug already. I've already fixed it and will upload it soon.
> Let me know if you notice any others.
>
> Mike
I'm setting up an animation now... my goal is to create a text file that
lists, for each frame, the pixel position of an object I'm tracking in the
scene. I'll try to get it tested by tomorrow.
--
Jack
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
OK, here's the latest version. I added support for specifying the camera
direction, right and up vectors directly. Use the macro "Set_Camera_Alt"
instead of "Set_Camera" if you want this. Please report any bugs you may
encounter. I tested versus a series of scenes including ones with
perspective projection, orthographic projection and even oblique
projection. I also tested different aspect ratios and output sizes. I
may have missed something however.
Mike
Post a reply to this message
Attachments:
Download 'screen.inc.txt' (8 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 11/17/2009 7:53 AM, SharkD wrote:
> OK, here's the latest version. I added support for specifying the camera
> direction, right and up vectors directly. Use the macro "Set_Camera_Alt"
> instead of "Set_Camera" if you want this. Please report any bugs you may
> encounter. I tested versus a series of scenes including ones with
> perspective projection, orthographic projection and even oblique
> projection. I also tested different aspect ratios and output sizes. I
> may have missed something however.
>
> Mike
Ooops. had some values reversed.
Mike
Post a reply to this message
Attachments:
Download 'screen.inc.txt' (8 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"SharkD" <mik### [at] gmailcom> wrote in message
news:4b02a514$1@news.povray.org...
> On 11/17/2009 7:53 AM, SharkD wrote:
>> OK, here's the latest version. I added support for specifying the camera
>> direction, right and up vectors directly. Use the macro "Set_Camera_Alt"
>
> Mike
>
I'm rendering an animation now where I'm tracking part of the object using
the Get_Screen_XY function to build a file of screen coordinates. Once I get
that run, I'll try importing the data into another program and comping the
results. So far, it seems to be working fine and I haven't gotten any
errors; looks great, Mike.
--
Jack
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |