Re: [osg-users] Rubber-band control for resizing an object

2013-12-09 Thread Mots G
Thanks a tonne Robert! *osgManipulator::Scale2DDragger* seems to suffice my need! Best regards, Mots On Mon, Dec 9, 2013 at 4:01 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Mots, Have a look at the osgmanipulator example. Robert. On 9 December 2013 04:40, Mots G maverickm

[osg-users] Rubber-band control for resizing an object

2013-12-08 Thread Mots G
Hi all, I was wondering if there is a control available to scale an object by dragging/stretching along its corners. I wish to allow the user to resize door and window objects by stretching it across its borders. I wish to give a 'rubber - banding' visual cue (as in spreadsheets). Or would it be

Re: [osg-users] Collision detection using osgBullets

2013-11-18 Thread Mots G
the correct way to generate a 'btGImpactConvexDecompositionShape' shape for an osg-geode. I hope I'm on the right track :) Regards, Mots On Mon, Nov 18, 2013 at 5:41 AM, Jan Ciger jan.ci...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On 11/17/2013 06:42 PM, Mots G

Re: [osg-users] Collision detection using osgBullets

2013-11-17 Thread Mots G
, Mots G maverickm...@gmail.com wrote: Hi all, I'm trying to use osgBullets in my application for collision detection. The library comes with a sample example for detection between two box-geodes. I've modified it to use a cessna and a cow model and obtained a 'btCollisionObject' by calling

[osg-users] Collision detection using osgBullets

2013-11-14 Thread Mots G
Hi all, I'm trying to use osgBullets in my application for collision detection. The library comes with a sample example for detection between two box-geodes. I've modified it to use a cessna and a cow model and obtained a 'btCollisionObject' by calling:

[osg-users] Delay in reading .obj models

2013-10-14 Thread Mots G
Hi, I'm loading .obj models in my project and I noticed it takes enormous time to do so. I converted the model from .obj to .osgt and saw the .osgt model loaded within milli-seconds. I found this post (here)http://forum.openscenegraph.org/viewtopic.php?t=8694where a user experienced similar

Re: [osg-users] Camera representing node

2013-10-08 Thread Mots G
be the easiest way forward. Robert. On 8 October 2013 03:29, Mots G maverickm...@gmail.com wrote: Hi, I'm trying to add cameras to the scene (dropping models across the scene) and the user could drag them or rotate them and change its parameters. All works good for the first time, however, I

[osg-users] Camera representing node

2013-10-07 Thread Mots G
Hi, I'm trying to add cameras to the scene (dropping models across the scene) and the user could drag them or rotate them and change its parameters. All works good for the first time, however, I lose track if the user rotates the camera representing object. I'm banging my head with simple math but

[osg-users] Saving scene-graph data with references to models

2013-08-23 Thread Mots G
Hello all, I'm trying to save the scene-graph to pass it across to a server. The scene-graph may contain plenty models/materials/textures which were initially fetched from the server. Is there a way I can save the scene-graph with only the relevant information and not add to it the entire node

Re: [osg-users] Saving scene-graph data with references to models

2013-08-23 Thread Mots G
so will just store the file paths to the original files. So just do: osgDB::writeNodeFile(*mymodel, myfile.osgt); Robert. On 23 August 2013 06:13, Mots G maverickm...@gmail.com wrote: Hello all, I'm trying to save the scene-graph to pass it across to a server. The scene-graph may

Re: [osg-users] Saving scene-graph data with references to models

2013-08-23 Thread Mots G
. Robert. On 23 August 2013 07:38, Mots G maverickm...@gmail.com wrote: Hi Robert, Thanks for the prompt reply! I noticed it does not add the imagery data so textures get added as file paths :) However, I want to avoid the model files (.3ds, .obj, .osgt) data getting exported