Re: [osg-users] Object oriented coding

2009-04-02 Thread Tomas Lundberg
Thank you. I will check it out. Can you please edit the replies and remove my name and email? I have chosen the settings not to publish name and email, but they still appear just before quoted text it seems. -- Read this topic online here:

Re: [osg-users] Object oriented coding

2009-04-02 Thread Roland Smeenk
Hello Tomas, I moderated the forum posts to hide your real name and e-mail address. However it is appreciated if you make your real name visible or at least sign your post with your name. Note that all forum posts also end up on the osg-users mailing list and therefore in the mailing list

Re: [osg-users] Object oriented coding

2009-04-02 Thread Paul Speed
Note that the e-mail address was only viewable by forum members. I'm not a member and couldn't see it. May be small consolation, I guess. -Paul Tomas Lundberg wrote: Thank you. I will check it out. Can you please edit the replies and remove my name and email? I have chosen the settings

[osg-users] Object oriented coding

2009-04-01 Thread Tomas Lundberg
Hi, I have done some small test projects for fun in OSG, without really learning it correctly. Now I have a very general question: How do I structure my code to make it more object oriented together with OSG? Let's say I want to visualise an airport with planes coming and leaving. I would

Re: [osg-users] Object oriented coding

2009-04-01 Thread Donald Cipperly
Hi Tomas, This is a software design question, not really an OpenSceneGraph one. I'd recommend reading articles/books on game/object oriented design. The design of your classes will depend on your application requirements, taking into account money/time/etc. constraints. I'd recommend that your

Re: [osg-users] Object oriented coding

2009-04-01 Thread Tomas Lundberg
Thanks for the reply. That's an interesting article. It does make sense when thinking about it, although the object oriented stucture is deeply rooted in many programmers' heads (mine included) :) Anyway, I think my question applies to objects and components alike... How does adding data to

Re: [osg-users] Object oriented coding

2009-04-01 Thread Donald Cipperly
Tomas, Check out the osgcatch example. It's a simple example with a few classes to encapsulate game objects that may get you going in the right direction. - Donny On Wed, Apr 1, 2009 at 9:51 AM, Tomas Lundberg tomas...@gmail.com wrote: Thanks for the reply. That's an interesting article.