[osg-users] Keyboard Events

2010-01-09 Thread George Forest
Hi, I am executing a frame loop such as while (!viewer.done()) { //get pressed key viewer.frame(); } Within this code I want to get pressed arrow keys but I could not find any comprehensible example or source. Thank you! Cheers, George -- Read this topic online here:

[osg-users] 3D texture

2010-02-10 Thread George Forest
Hi, I have a 3DS model. How can I add tihs model as done in 2D images with Geode and Geometry. This code adds 2D objects. What modifications should I make on it? ref_ptrGeode geode(new Geode()); ref_ptrGeometry geometry(new Geometry());