Source code modifications
This is a list of postings on the POV-Ray source files that are modified. Modifications are listed separately for the individual patches.
Sim-POV mechanics simulation patch
Introduces a system for simulating movement of mass-spring-systems.
Author:
Christoph Hormann
preprocessor switches:
MechSimPatch
Modifications:
- Added new source code module
mechsim.cpp / mechsim.h
. vector.h
: helper macros for the triangle distance function (by ABX).function.h
: addedParse_ParameterFunction()
declaration.povray.h
: added new entries toenum STATS
.parse.h
:- added
MECHSIM_TOKEN
toCASE_FLOAT
. - added various new tokens to
enum TOKEN_IDS
.
- added
povmsgid.h
: added new entries to message attributes.parse.cpp
:- included
mechsim.h
. - included
function.h
. - added
extern MECHSIM_OPTIONS MechsimOptions
. - added declaration and implementation of function
Parse_Mech_Sim_Mass()
. - added declaration and implementation of function
Parse_Mech_Sim_Connection()
. - added declaration and implementation of function
Parse_Mech_Sim_Face()
. - added declaration and implementation of function
Parse_Mech_Sim()
. - added mechsim parsing to
Parse_Global_Settings()
.
- included
function.cpp
: addedParse_ParameterFunction()
implementation.statspov.cpp
: added simulation statistics printing.povray.cpp
:- included
mechsim.h
. - added
extern MECHSIM_OPTIONS MechsimOptions
. - added call to
Initialize_MechSim()
toFrameRender()
. - added call to
Deinitialize_MechSim()
toFrameRender()
.
- included
express.cpp
:- included
mechsim.h
. - added functions for accessing the simulation data to
Parse_Num_Factor()
- included
tokenize.cpp
: added various tokens toReversed_Words
.povmsend.cpp
: added several new statistics toBuildRenderStats()
.
Radiosity improvements
Adds various improvements to the POV-Ray radiosity function.
Author:
Christoph Hormann
preprocessor switches:
RadFunctionPatch RadAdaptiveCountPatch RadCacheThresholdPatch RadMethodPatch
Modifications:
function.h
: addedParse_Float_Or_Function()
declaration.povray.h
:- included
function.h
. - added new fields to
opts
struct.
- included
parse.h
:addedCACHE_THRESHOLD_TOKEN
token toenum TOKEN_IDS
.radiosit.h
:- added radiosity method constants.
- added
extern long ra_gather_lowcount
.
parse.cpp
- included
fnpovfpu.h
. - strongly modified parsing of radiosity parameters
count
anderror_bound
. - added parsing code for radiosity
method
andcache_threshold
.
- included
function.cpp
: addedParse_Float_Or_Function()
implementation.statspov.cpp
: extended radiosity statistics for adaptive count.povray.cpp
: added initializations for new fields ofopts
struct toinit_vars()
.tokenize.cpp
: addedCACHE_THRESHOLD_TOKEN
token toReversed_Words
.radiosit.cpp
- included
function.h
andfnpovfpu.h
. - added
error_bound
function stuff toCompute_Ambient()
. - added
count
function stuff tora_gather()
. - added switch block for
method
inra_average_near()
. - added
cache_threshold
code tora_gather()
. - added
long ra_gather_lowcount
counter. - added
DBL max_dist
tora_gather()
. - added adaptive count code to
ra_gather()
.
- included
Triangle function
introduces a new internal function 'f_triangle'.
Author:
Wlodzimierz 'ABX' Skiba
preprocessor switches:
F_TrianglePatch
Modifications:
fnintern.cpp
- added several helper macros at the beginning of the file.
- f_triangle() function declaration and implementation.
- added entry to 'POVFPU_TrapTable'.
- changed 'POVFPU_TrapTableSize'.