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_TOKENtoCASE_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
optsstruct.
- included
parse.h:addedCACHE_THRESHOLD_TOKENtoken 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
countanderror_bound. - added parsing code for radiosity
methodandcache_threshold.
- included
function.cpp: addedParse_Float_Or_Function()implementation.statspov.cpp: extended radiosity statistics for adaptive count.povray.cpp: added initializations for new fields ofoptsstruct toinit_vars().tokenize.cpp: addedCACHE_THRESHOLD_TOKENtoken toReversed_Words.radiosit.cpp- included
function.handfnpovfpu.h. - added
error_boundfunction stuff toCompute_Ambient(). - added
countfunction stuff tora_gather(). - added switch block for
methodinra_average_near(). - added
cache_thresholdcode tora_gather(). - added
long ra_gather_lowcountcounter. - added
DBL max_disttora_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'.
