G3D, wide area with hills, mountains

2 views
Skip to first unread message

Loki

unread,
Nov 3, 2009, 9:39:47 PM11/3/09
to G3D Users
Good afternoon for everyone! Can somebody tell me what class should I
use to create wide area with objects like hills and mountains? I tried
ArticulatedModelRef and then load big model from file but it seems to
me it's not right way.

___________
Thanx

Morgan McGuire

unread,
Nov 3, 2009, 10:31:31 PM11/3/09
to g3d-...@googlegroups.com
ArticulatedModel will work fine for this.  If the object is broken into smaller pieces in the file ArticulatedModel will even correctly not render the parts that are off screen.

-m

Loki

unread,
Nov 3, 2009, 11:06:40 PM11/3/09
to G3D Users
> If the object is broken into
> smaller pieces in the file ArticulatedModel will even correctly not render
> the parts that are off screen.

WOW! That's cool.

Morgan, I've got a question personally to you... I use G3D very
recently and as I tried to find documentation to resolve my problems I
faced with huge lack documentation of G3D in russian. What do you
think if I start to write (or translate) documentation in russian
(here or other site). Primarily it would be helpful for me (as it said
in Russia - two rabbits with one shot:-) ):
- I would know G3D better while translating
- This could help other people who don't know English well (like me)

Or such resources already exist?

P.S. one more question :) I've seen in demos/starter such string:
return App(settings).run(); But there's only definition of class App,
there's no declaring object based on App class and App::run() is not
static. Could you explain in two words how it works? :)

corey taylor

unread,
Nov 3, 2009, 11:19:19 PM11/3/09
to g3d-...@googlegroups.com
On Tue, Nov 3, 2009 at 11:06 PM, Loki <lok...@gmail.com> wrote:

P.S. one more question :)  I've seen in demos/starter such string:
return App(settings).run(); But there's only definition of class App,
there's no declaring object based on App class and App::run() is not
static. Could you explain in two words how it works? :)
 
App(settings) creates a temporary object for the return statement.  You can chain function calls together if the function returns an object that has other functions.
 
function1().function2().function3().
 
The run() function does not return until the program exits.  Essentially, your program loops inside that run() function.
 
corey

Loki

unread,
Nov 3, 2009, 11:24:56 PM11/3/09
to G3D Users


On Nov 4, 9:19 am, corey taylor <corey.tay...@gmail.com> wrote:
Thanks, now I see )) I just haven't recognized this trick in such
way... Thanks a lot, now it's clear :)

Morgan McGuire

unread,
Nov 3, 2009, 11:44:08 PM11/3/09
to g3d-...@googlegroups.com

Morgan, I've got a question personally to you... I use G3D very
recently and as I tried to find documentation to resolve my problems I
faced with huge lack documentation of G3D in russian. What do you
think if I start to write (or translate) documentation in russian
(here or other site). Primarily it would be helpful for me (as it said
in Russia - two rabbits with one shot:-) ):
- I would know G3D better while translating
- This could help other people who don't know English well (like me)

Or such resources already exist?

I don't know of any translations of G3D.

We update the documentation frequently.  You may want to write a Russian wiki page for G3D at http://sourceforge.net/apps/mediawiki/g3d-cpp/index.php?title=Main_Page.

-m

 
Reply all
Reply to author
Forward
0 new messages