diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-22 02:46:00 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-01-22 02:46:00 +0300 |
commit | a9cd5b808cea7c906146a2ebafc3d0be00076ebd (patch) | |
tree | b8145604bff8a7f79e4d47f7ecb96eff4b362f77 /source/blender/include/multires.h | |
parent | e64afa6c177c20ced38abe609ea5b0b21a02b8e6 (diff) |
= Multires =
Fixed bug #5756, Rendering artifacts when MRM is not set to maximum
Several changes were made:
* Added function multires_level_n to get the nth level from a multires mesh
* Removed the changes I made some time ago to init_render_mesh for multires meshes. Previously it was making a full copy of the mesh object in order to be able to apply deformations to the Pin level and propagate them to the Render level.
* Added two functions to DerivedMesh.c, multires_render_pin and multires_render_final. These two functions work together in the mesh_create_derived_*_render functions to apply all modifiers to the Pin level, then create the DerivedMesh from the Render level, and lastly restore the mesh to its original (undeformed) state.
* Added a check in multires_del_lower and multires_del_higher to ensure that level indices are properly clipped to the actual range of available levels.
Diffstat (limited to 'source/blender/include/multires.h')
-rw-r--r-- | source/blender/include/multires.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/include/multires.h b/source/blender/include/multires.h index cf96ea58869..48a5b4554a9 100644 --- a/source/blender/include/multires.h +++ b/source/blender/include/multires.h @@ -42,6 +42,8 @@ struct uiBlock; int multires_test(); int multires_level1_test(); +struct MultiresLevel *multires_level_n(struct Multires *mr, int n); + void multires_draw_interface(struct uiBlock *block, unsigned short cx, unsigned short cy); void multires_disp_map(void *, void*); |