Esempio n. 1
0
void av::gua::MaterialShaderDescription::on_undistribute(av::gua::NetTransform& netNode)
{
    for(auto& method : VertexMethods.getValue())
    {
        method->on_undistribute(netNode);
        netNode.undistributeFieldContainer(method);
    }
    for(auto& method : FragmentMethods.getValue())
    {
        method->on_undistribute(netNode);
        netNode.undistributeFieldContainer(method);
    }
}
Esempio n. 2
0
        void undistributeFieldContainerHelper(av::gua::NetTransform& self, boost::python::object obj)
        {
          av::Base* av_value = boost::python::extract<av::Base*>(obj);

          av::Link<av::FieldContainer> tmp = dynamic_cast<FieldContainer*>(av_value);
          self.undistributeFieldContainer(tmp);
        }
Esempio n. 3
0
void
av::gua::nurbs::NURBSNode::on_undistribute(av::gua::NetTransform& netNode) 
{
  GeometryNode::on_undistribute(netNode);

  if (m_Material.isValid()) {
    m_Material->on_undistribute(netNode);
  }
  netNode.undistributeFieldContainer(m_Material);
}