WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Occlude Peripheral Visual Field (https://forum.worldviz.com/showthread.php?t=5670)

Qiliang He 03-28-2016 05:55 PM

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!

Qiliang He 03-29-2016 04:18 AM

I know how to do it, thanks.


All times are GMT -7. The time now is 09:08 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC