Panda in PyQt

Return to Code Snippets

Postby rdb » Fri Dec 24, 2010 4:02 am

The point of base.camera is that if you want to have multiple cameras (besides base.cam) you can simply attach them to base.camera, too.
rdb
 
Posts: 8565
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby detectedstealth » Fri Dec 24, 2010 4:06 am

Yeah not really sure, I noticed using base.cam also wasn't changing my camera location in my scene. Whereas base.camera does.

For my example code with picking working (I need to figureout how to update a Qt textbox with panda3d data :S). Check here: https://github.com/warplydesigned/warply3D it is under custom_widgets/pandawidget.py
Warply Designed - A new level of game development.
http://www.warplydesigned.com
detectedstealth
 
Posts: 9
Joined: Thu Nov 25, 2010 7:38 pm

Postby Anon » Fri Dec 24, 2010 4:57 am

rdb wrote:The point of base.camera is that if you want to have multiple cameras (besides base.cam) you can simply attach them to base.camera, too.

whats the difference in attaching them to base.cam?
Anon
 
Posts: 1556
Joined: Thu Oct 29, 2009 3:07 am

Previous

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest