View Single Post
  #1  
Old 03-28-2016, 05:55 PM
Qiliang He Qiliang He is offline
Member
 
Join Date: Mar 2014
Posts: 24
Occlude Peripheral Visual Field

Hello,

I'm wondering how to occlude the peripheral visual field, as indicated in the attached figure (From a to b)?

https://drive.google.com/open?id=0Bx...nFsLUtQRzRndms

I tried the following codes, but the problem is I don't know how to make the texture transparent at the center but opaque in the peripheral.

HTML Code:
	quad = viz.addTexQuad(parent=viz.HEAD, size=5)
	quad.color(1,0,0)
	quad.setPosition([0,0,0.1])
        quad.alpha(0.5)
Any help is appreciated, thank you!
Reply With Quote