I'd like to do something like this:
- Code: Select all
# Create Canvas
var myCanvas = canvas.new({
"name": "Test",
"view": [width, height],
"mipmapping": 0
});
# Later on change the mipmapping
myCanvas.mipmapping = 1;
# Create Canvas
var myCanvas = canvas.new({
"name": "Test",
"view": [width, height],
"mipmapping": 0
});
# Later on change the mipmapping
myCanvas.mipmapping = 1;
Canvas.cxx:396: _node->getBoolValue("mipmapping"),
Canvas.cxx:688: else if( name == "mipmapping"
ODGauge.cxx:11:// 2012 Supports now multisampling/mipmapping, usage of the stencil buffer and
ODGauge.cxx:179: void ODGauge::setSampling( bool mipmapping,
ODGauge.cxx:183: if( !updateFlag(USE_MIPMAPPING, mipmapping)
ODGauge.cxx:255: // otherwise OSG won't construct all the mipmaps for the texture
ODGauge.cxx:256: // and dynamic mipmap generation doesn't work.
Users browsing this forum: No registered users and 4 guests