[Bf-committers] From Farsthary Sim_Physics

echelon at infomail.upr.edu.cu echelon at infomail.upr.edu.cu
Fri Nov 28 22:52:45 CET 2008

Hi all!

 I have a good news:
  I have implemented for sim_physics, dataset volumetrics as a new texture
type: voxel data, implementing it as a texture like pointdensity is a
lot more flexible and powerfull than my implementation for my thesis
build :)
 I have it 80% functional, I just have few issues regarding the memory
allocation within blender framework.
 I could use the C standard functions malloc,calloc and so...
 But I have saw that blender have a better memory management system
implemented and also the straigth implementation will not be blender safe

 I have tried to follow Matt implementation in pointdensity since it is
very similar but I get messages from the console saying that the
VoxelData struct are not in memlist... and that Im freeing invalid
pointers when I use the allocation functions blender have, Im trying to
figure out where are the missing code but I just can't find it :(

               I wpreciate any help regarding the blender memory
management functions

                             Thanks in advance , Farsthary

More information about the Bf-committers mailing list