[Bf-cycles] point density doesn't appear correctly

Mohamed Sakr 3dsakr at gmail.com
Fri Mar 18 13:18:06 CET 2016


Hi,

I'm creating a custom exporter, I fill a 3d image, passing data
to PointDensityTextureNode

PointDensityTextureNode *pd = new PointDensityTextureNode();
pd->filename = anyString;
pd->builtin_data = myData;
pd->space = "Object";
pd->interpolation = InterpolationType::INTERPOLATION_LINEAR;
scene->image_manager->tag_reload_image(
pd->filename,
pd->builtin_data,
pd->interpolation,
EXTENSION_CLIP);

it appears on object as wrong transform.
consider object bounding box from (-1, -1, -1) to (1, 1, 1)
texture appears exactly from (0, 0, 0) to (0.5, 0.5, 0.5)
what may cause this?

cheers,
Mohamed Sakr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20160318/3e8408e3/attachment.htm 


More information about the Bf-cycles mailing list