Jump to content
Wikipedia The Free Encyclopedia

User:Poor Coco/MegaPOV

From Wikipedia, the free encyclopedia
MegaPOV
Developer(s) The MegaPOV Team
Stable release
1.2.1 / August 24, 2005 (2005年08月24日)[1]
Operating system Cross-platform
Type Ray tracer
License POV-Ray License
Websitemegapov.inetart.net

MegaPOV is an unofficial extended version of the POV-Ray ray tracing software for Unix and Linux, Windows and Mac OS X. It includes the full feature set of POV-Ray along with a number of extensions to the POV-Ray Scene Description Language (SDL) and an improved code-editing interface.

Rendering Engine Extensions

[edit ]

Advanced modeling effects like media-based fur extend the range of subject matter that can be described in the SDL. Other improvements are glow objects which render quickly and are useful for making light sources themselves (and not just their effects) visible; and simulated motion blur[2] .

Post-processing of the rendered image allows visual effects characteristic of 2D image editors like Adobe Photoshop or The GIMP to be applied to the rendered frames[3] [4] .

High-dyanamic-range (HDR) image support allows nuanced portrayal of scenes with both brightly lit and deeply shadowed areas[5] . A tutorial is available.

Film exposure simulation allows the emulation of chemistry variations in traditional film-based photography[6] .

Improved radiosity support[7] .

Mechanical simulation (mechsim) allows for complex, automatic interaction between objects and allows simple finite-element analysis to be performed. Mechsim includes point masses and elastic connections (useable for either truss or solid-object modeling); patch objects, which are two-dimensional analogues and are useful for cloth modeling; and line objects, which behave like ropes or chains.[8] .

Scene Description Language Refinements

[edit ]

Additional keywords[9] and functions[10] have been added to the language to accommodate more sophisticated animation programming.

Several type checking functions[11] allow more generic programming by allowing scene code to perform different actions based on the type of a given object.

The #set directive behaves like the standard variable declaration directives #define and #local, except it only updates a value in the most recently declared variable of the given name, and cannot declare a new variable; this can help to avoid subtle errors caused by typos in variable names.

For example, the typo in the LoopCount incrementing declaration causes an infinite loop:

#declare LoopCount = 0;
#while (LoopCount < 10)
sphere{0,1,translate<2,1,0>*LoopCount}
#declare LoopCoount = LoopCount + 1 ; // typo!
#end

This version using #set instead will trigger a parser error, unambiguously locating the line containing the typo:

#declare LoopCount = 0;
#while (LoopCount < 10)
sphere{0,1,translate<2,1,0>*LoopCount}
#set LoopCoount = LoopCount + 1 ; // typo!
#end

Text objects may have horizontal and vertical centering and alignment specified.

Improved spline support[12] .

Cloth objects are rectangular cloth-like objects that interact with gravity, scene objects, wind, and so on[13] .

Light Sources of type area_light may include a max_trace_level parameter to allow soft shadows on nearby objects without massively increasing computation in distant areas where the light source has little effect.

Textures and patterns have enhancements for exotic materials[14] .

References

[edit ]
  1. ^ http://megapov.inetart.net/
  2. ^ http://megapov.inetart.net/manual-1.2.1/effects.html
  3. ^ http://megapov.inetart.net/manual-1.2.1/global_settings.html#post_processing
  4. ^ http://megapov.inetart.net/manual-1.2.1/inc_pprocess.inc.html
  5. ^ http://megapov.inetart.net/manual-1.2.1/patterns.html#hdr
  6. ^ http://megapov.inetart.net/manual-1.2.1/global_settings.html#film_exposure
  7. ^ http://megapov.inetart.net/manual-1.2.1/global_settings.html#radiosity
  8. ^ http://megapov.inetart.net/manual-1.2.1/global_settings.html#mechsim
  9. ^ http://megapov.inetart.net/manual-1.2.1/expressions.html#tokens
  10. ^ http://megapov.inetart.net/manual-1.2.1/expressions.html#functions
  11. ^ http://megapov.inetart.net/manual-1.2.1/mp_types.inc.html
  12. ^ http://megapov.inetart.net/manual-1.2.1/expressions.html#splines
  13. ^ http://megapov.inetart.net/manual-1.2.1/objects.html#cloth
  14. ^ http://megapov.inetart.net/manual-1.2.1/patterns.html
[edit ]



AltStyle によって変換されたページ (->オリジナル) /