def n_create_data(self):
     n_gen_geometry.n_create_blocks(self.n_data)
     n_trishape = self.n_data.roots[0].children[0]
     n_gen_material.n_attach_material_prop(n_trishape)
     n_gen_specular.n_alter_material_specular(
         n_trishape.properties[0])  # set material alpha
     n_gen_specular.n_attach_specular_prop(n_trishape)  # add nialphaprop
     return self.n_data
Example #2
0
 def n_create_data(self):
     n_gen_header.n_create_header_oblivion(self.n_data)
     n_gen_geometry.n_create_blocks(self.n_data)
     n_trishape = self.n_data.roots[0].children[0]
     n_gen_material.n_attach_material_prop(n_trishape)
     n_gen_alpha.n_alter_material_alpha(n_trishape.properties[0])  # set material alpha
     n_gen_alpha.n_attach_alpha_prop(n_trishape)  # add nialphaprop
     return self.n_data
Example #3
0
    def n_create_data(self):
        n_gen_geometry.n_create_blocks(self.n_data)

        n_ninode = self.n_data.roots[0]
        n_gen_collision.n_attach_bsx_flag(n_ninode)

        # generate common collision tree
        n_bhkcolobj = n_gen_collision.n_attach_bhkcollisionobject(n_ninode)
        n_bhkrigidbody = n_gen_collision.n_attach_bhkrigidbody(n_bhkcolobj)

        # generate bhkboxshape specific data
        n_gen_bhkboxshape.n_update_bhkrigidbody(n_bhkrigidbody)
        n_bhktransform = n_gen_bhkboxshape.n_attach_bhkconvextransform(n_bhkrigidbody)
        n_gen_bhkboxshape.n_attach_bhkboxshape(n_bhktransform)

        return self.n_data
Example #4
0
 def n_create_data(self):
     n_gen_header.n_create_header_oblivion(self.n_data)
     n_gen_geometry.n_create_blocks(self.n_data)
     return self.n_data
    def n_create_data(self):
        n_gen_geometry.n_create_blocks(self.n_data)

        n_trishape = self.n_data.roots[0].children[0]
        n_gen_material.n_attach_material_prop(n_trishape)
        n_gen_material.n_alter_emissive(n_trishape.properties[0])
Example #6
0
 def n_create_data(self):
     n_gen_geometry.n_create_blocks(self.n_data)
     n_trishape = self.n_data.roots[0].children[0]
     n_gen_material.n_attach_material_prop(n_trishape)  # add nimaterialprop
 def n_create_data(self):
     n_gen_geometry.n_create_blocks(self.n_data)
     return self.n_data
 def n_create_data(self):
     n_gen_geometry.n_create_blocks(self.n_data)
     n_trishape = self.n_data.roots[0].children[0]
     n_gen_stencil.n_create_stencil_prop(n_trishape)
     return self.n_data
    def n_create_data(self):
        n_gen_geometry.n_create_blocks(self.n_data)

        n_nitrishapedata = self.n_data.roots[0].children[0].data
        self.n_data.roots[0].children[
            0].data = n_gen_vertexcolor.n_add_vertex_colors(n_nitrishapedata)