View Single Post
  #3  
Old 02-04-2016, 04:20 AM
JRodrigoF JRodrigoF is offline
Member
 
Join Date: Feb 2016
Posts: 3
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
Attached Thumbnails
Click image for larger version

Name:	Picture1.jpg
Views:	698
Size:	130.2 KB
ID:	756   Click image for larger version

Name:	Picture2.jpg
Views:	689
Size:	102.0 KB
ID:	757  
Reply With Quote