POV-Ray : Newsgroups : povray.advanced-users : Reverse engineering scene settings from rendered images : Re: Reverse engineering scene settings from rendered images Server Time
5 May 2024 11:17:00 EDT (-0400)
  Re: Reverse engineering scene settings from rendered images  
From: Alain
Date: 10 Jul 2008 17:48:03
Message: <48768393$1@news.povray.org>
SharkD nous illumina en ce 2008-07-07 21:21 -->
> Can anyone suggest any methods of reverse engineering basic scene settings
> (light color/intensity, texture diffuse/ambient, etc.) from existing, rendered
> images?
> 
> The source code to a commercial video game (Jagged Alliance 2) was released
> several years ago, and as part of the overhaul of the game, some members of the
> community would like to add new sprites. However, the company that made the game
> didn't release any of the assets used to create the artwork. I am wondering if
> there are ways of determining basic scene information from the existing images?
> 
> For some things, such as the physical proportions of objects, camera and
> lighting angles, this is trivial as the information can be calculated
> geometrically. However, the more subtle aspects prove to be a more difficult
> challenge.
> 
> I'd like to mention that there are certain characteristics of the game sprites
> (images) that should make this task easier. Namely, the base sprites are made
> up of primary colors only. E.g., they are made up only of varying shades of
> red, green, cyan, magenta, etc. Any other colors besides these primaries are
> substituted later by the game's own rendering engine. I have a hunch (but have
> no idea how to test it) that some of the missing information can be determined
> by comparing the range of light to dark shades of these primaries. Something
> along the lines of analyzing the image's histogram and determining where the
> maximum and minimum shades of each color occur, I think.
> 
> That's about as far as my hunch has taken me. Can anyone think of any strategies
> that are more complete?
> 
> Thanks very much!
> 
> -Mike
> 
> 
It may be much easier to recreate the scenes from scratch to match the 
original(s) as much as possible.
Recreate the objects, props, walls, terrains and characters on ther own. Adjust 
the scales so that they match. Assemble the various elements to remake the 
desired image.

-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when you're starting to find these 
quotes more unsettling than funny.
     -- Alex McLeod a.k.a. Giant Robot Messiah


Post a reply to this message

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