Release v0.1.0 alpha 10
natevm
released this
22 Oct 07:45
·
223 commits
to master
since this release
Changes include:
Lighting has changed significantly.
- Several bugs have been fixed which caused light intensity to grow darker as the number of emissive meshes increased.
- A bug which effected direct light visibility has been fixed. Previously, objects behind light sources would occasionally cast shadows
- light intensity is now normalized by default, and surface area only influences light intensity if enabled GI light.use_surface_area
- lights have an “exposure” which multiplies intensity by 2^exposure. This parameter can be used in combination with intensity to more effectively control light source power
- dome lights are now explicitly sampled at each path vertex
Changes to mesh components
- mesh.create_from_obj has been replaced with create_from_file, which includes a much larger variety of file formats
Changes to material components
- alpha transparency is now enabled, and can be used for alpha cutouts, making transmission more clear, scivis applications, etc
Changes to camera components
- create_perspective_from_fov has been renamed to create_from_fov
- new simple create function which matches create_from_fov with some default parameters set
Changes to texture components
- lots of new creation functions that can add and multiply two textures together
- new create function to edit HSV of an existing texture
- texture.create_from_image is renamed to create_from_file to match mesh component naming
Changes to global ViSII package
- new register_pre_render_callback function for registering a python function that is called before the next frame
- initialize_headless and initialize_interactive now merged into single initialize function
- initialize can now be used to control the number of allocated components of each type
- new enable/disable_updates functions to pause / resume asynchronous component uploads to the GPU. Useful for improving performance of bulk component creation
- can now render texture_coordinates using render_data function
General changes
- largely improved rendering performance
- some changes to report more useful device side crash messages
- deinitialize called automatically at exit if not done so already