[SOLVED] Compass Effect in action

I use compass effect in these lines of code below:

import direct.directbase.DirectStart
from panda3d.core import *

def setPos(sun, pos):
    pos.normalize()
    sun.setPos(pos)
    sun.lookAt(base.cam)
    
sun = loader.loadModel('Models/sphere')
sun.setCompass()
sun.reparentTo(base.cam)
sun.setTwoSided(True)
sun.setScale(0.08)
setPos(sun, VBase3(0, 1, 0))
run()

The result of sphere at corner of panda window:

and at center of panda window:

How to make sphere bigger or normal at the corner of panda window ?

The image links are broken, so your issue isn’t quite clear.

I change image links to mediafire.com.

I found the answer:

  • Set base.camLens 's properties to appropriate value.