Jump to content

coding the client I am looking for a function


Recommended Posts

you have introcreate and introselect.py

 

you need to look at 

class CharacterRenderer(ui.Window):

 and there you have

            grp.SetViewport(0.5, 0.0, 0.5, 1.0)
            
            app.SetCenterPosition(0.0, 0.0, 0.0)
            app.SetCamera(1550.0, 15.0, 180.0, 95.0)
            grp.SetPerspective(10.0, (float(wndMgr.GetScreenWidth()) / 2.0 / float(wndMgr.GetScreenHeight())), 1000.0, 3000.0)
 

mainly you need to play with app.SetCamera

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.