Page MenuHome

Cycles standalone xml does not support translation, rotation and scale for mapping node
Closed, ArchivedPublic

Description

Code to support at least translation, rotation and scale:

snode = new MappingNode();
TextureMapping* textureMapping = &(((MappingNode*)snode)->tex_mapping);
textureMapping->type = TextureMapping::VECTOR;
textureMapping->projection = TextureMapping::FLAT;
xml_read_float3(&textureMapping->translation, node, "translation");
xml_read_float3(&textureMapping->rotation, node, "rotation");
xml_read_float3(&textureMapping->scale, node, "scale");

Event Timeline

Tautvydas Andrikys (esminis) raised the priority of this task from to 90.
Tautvydas Andrikys (esminis) updated the task description. (Show Details)
Tautvydas Andrikys (esminis) edited a custom field.
Lukas Stockner (lukasstockner97) changed the task status from Unknown Status to Archived.May 19 2016, 11:40 AM

This isn't bug, but essentially a feature request - a reasonable one, though.
I just created a diff for this at D2009, should be through review soon since it's pretty small.

Yes, it is feature - did not find how to change to feature from bug