Thanks.
I've tried enabling alpha-to-coverage for the the room, the head and the body once the head is swapped. Separately for each and also enabling alpha-to-coverage in all objects at the same time. Unfortunately none of these options has worked. The code I use is like this:
import viz
viz.setMultiSample(4)
viz.go()
model = viz.addChild('gallery.osgb')
#model.enable(viz.SAMPLE_ALPHA_TO_COVERAGE)
#model.disable(viz.BLEND)
Body = viz.add('vcc_female.cfg')
Head = viz.addFace('avatars\pictures\p_09\FG\p09H.vzf')
Head.enable(viz.SAMPLE_ALPHA_TO_COVERAGE)
Head.disable(viz.BLEND)
Body.setFace(Head, 'Bip01 Head', 'Bip01 Neck')
#Body.enable(viz.SAMPLE_ALPHA_TO_COVERAGE)
#Body.disable(viz.BLEND)
Indeed if I only place the head it looks OK. But once I replace it in the avatar body it doesn't. Pictures attached. Any further feedback sorry?
Best,
Rodrigo
|