NxOgre tutorial (old and new)?

giantjupiter

23-10-2007 18:07:10

betajaen,

I have installed the latest NxOgre and PhysX, but the NxOgre document or tutorial aren't available. The link to NxOgre RC3 is also broken.

If the tutorials for the lastest aren't ready, could you activate the download of the old tutorial, which, at least, can give me some info and let me move forward.

Thanks.

Elspin

25-10-2007 04:55:30

I'm kind of wondering this myself. Right now all I know how to do is to spawn a mesh with physics, the only real resource you have is cake, unless I'm missing something here. And reading from a barely documented program is a terrible way to learn. I understand there used to be a wiki, but it was replaced by the website that's not complete yet. :(

betajaen

25-10-2007 09:19:04

The old tutorials don't apply to the new ones. The interface has changed and in most cases it works differently, so they will confuse you even further.

As for the old website/wiki. That to was documentation for the old NxOgre, totally wrong and confusing for new people.

You can read the guide which I've been slowly writing though http://www.nxogre.org/guide/

Megaton

25-10-2007 10:57:23

I'm in the same boat, trying desperately to find documentation.

At the moment I'm using the PhysX API reference as documentation, then I try to find the corresponding NxOgre implementation by looking at the NxOgre source code, and if that fails, I guess :).

betajaen

25-10-2007 11:09:41

That's usually how it's done anyway. Most of the stuff in PhysX is more or less the same in NxOgre, without the Nx prefix of course. Anything special you can usually search for it in here.

If anyone has been reading the guide, they may want to refresh the page. I wrote half a chapter on Actors now.

Megaton

25-10-2007 13:07:36

Thanks betajaen.

I wasn't complaining about the documentation.. was just mentioning how I was doing it :). I think you're doing a great job with nxogre.

betajaen

25-10-2007 15:36:37

I've been working on the guide this morning and the afternoon so far, it's a rewrite of the guide both content and the design.

So far it's the first chapter, but what do you guys think?

http://www.nxogre.org/shortguide/

Megaton

25-10-2007 16:43:14

I love the graphics, especially the one about creating a world instance :)

betajaen

25-10-2007 17:18:54

I love the graphics, especially the one about creating a world instance :)

Those are from the NxOgre book I wrote a year back. I'll be adding some more funny ones in as well.

TMT

25-10-2007 19:32:15

Love that Amiga Kickstart reference.

betajaen

25-10-2007 19:44:18

I tried almost for an hour finding an Amiga requester asking for a floppy disk. But that's just as good.

There is second chapter added, with another hand-drawn image. I think you guys will laugh.

BloodyFanatic

25-10-2007 21:48:07

Yep, nice guide and very nice pictures so far.

But there are some minor mistakes,
"The World is like our universe, it's infinite in size and there is only can be one of then."
for example :wink:

betajaen

25-10-2007 21:54:29

I noticed, and rewrote it, the entire chapter actually. But Windows really needs a global spellchecker like OSX.

[Edit]

New changes are up if anyone wants to spot them, and I accidentally overwrote the previous guide with the new version. I still do have a copy but only the text, the rest of the mark up, images, etc. are now gone.

betajaen

26-10-2007 17:18:05

The new guide is getting quite brilliant now. I'm chuckling to myself every time I see those images, who knew black and white cartoons could be so funny?

http://www.nxogre.org/shortguide/

There are two new cartoons for Scene and Actors.

Elspin

27-10-2007 21:32:36

Looking great betajaen, looking forward to more progress on the tutorial :)

As I'm sure you know I'm knew, so looking forward to more :wink:

betajaen

28-10-2007 20:03:58

And there is more...New design, logo, about the author and spelling fixes.

http://www.nxogre.org/shortguide/

alienskull

29-10-2007 03:50:44

keep it up... this is by far the most entertaining tutorial I have ever laid my eyes on.. the pictures are great!!!

I should be getting my Ageia account tomorrow, so I can't wait to get started.

I've decided to move my project from OgreNewt to NxOgre.

I hope you don't mind, but I'm using your "And god said..." pic as my desktop background. :D :D

betajaen

29-10-2007 10:16:51

Thankyou, and not at all. Perhaps I may make a bigger version of that in the future.

Anyway, the Scene chapter has been finished. Onwards to Actors.

Lykaios

29-10-2007 18:26:19

I can't wait for this to be done, I guess I'll sate myself by poring through physX and Ogre tutorials.

Please take this in the extremely grateful way it's meant: hurry up!!! :D

BTW are you going to continue sole development of this project, or are you looking for anyone for documentation/programming?

keep it up!

~Lykaios

betajaen

29-10-2007 18:47:47

Oh I'm trying. The Short Guide is one of the requirements for NxOgre 1.0

I'm the sole developer, but I don't mind patches appearing here and there, but any features are always done by me, or at least rewritten by me.

Lykaios

29-10-2007 20:15:38

Well, I'm a writing tutor (not that any of your guides seem to need grammar or concept help or whatever), and would love to write some tutorials, if you'd like. That is, once I actually get a grip on nxOgre

~lykaios

betajaen

29-10-2007 23:03:20

Your more than welcome to write tutorials for NxOgre. Either post them in here or find some webspace. ;)

And for alienskull and Lykaios some more bits on Actors have been written.

betajaen

31-10-2007 21:04:12

Okay more is added. Actors and implementing your own.

http://www.nxogre.org/shortguide/

Lykaios

31-10-2007 22:18:42

Just a quick question beta:

I made a method to construct a new scene, made a frameListener and all that, however, do I need to attach my cube actors to scene nodes? I'm having trouble figuring out how to tell OGRE to render them. That's kind of the link I'm missing here.

I'm sure this is a dense question, but I'm rather confused at the moment.

Thanks,

~Lykaios

betajaen

31-10-2007 22:27:56

I haven't wrote that far yet.

No you don't. The "Body" class which inherits Actor deals all of that for you.

Body* mBody = mScene->createBody("myActorName; myMeshName.mesh", ...);

Anything you can do with Actor, you can do with Body.

Lykaios

01-11-2007 00:56:47

Okay, I'll go read body.h and cpp.

I'm so used to the tree node structure of OGRE that I'm having trouble reconciling that chain with the nxOGRE chain.

So I'm assuming the next additions to the guide will be bodies and rendering? That would be ever so sexy.

It bears repeating that nxOGRE is a very well-done project. Oh, and is v1 coming out tomorrow?

Thanks beta

betajaen

01-11-2007 08:33:02

Sadly not. I didn't finish all of the features I wanted in time.

betajaen

01-11-2007 11:57:32

Okay. More bits on Actors and I've introduced containers. There are some spelling and grammar mistakes and I haven't added any colour to the code examples yet.

Chebastian

01-11-2007 17:20:38

I was reading the guide and i must say its brilliant!

But i found a little misstake that kept me wondering for a while:

Scene* mScene = mScene->createScene("myFirstScene", mSceneMgr, "gravity: yes, floor: yes");

its supposed to be like this if im not mistaken:

Scene* mScene = mWorld->createScene(...);

the world creates the scene, the scene does not create it self.

betajaen

01-11-2007 17:45:03

Yes. Your right. Nothing can create itself.

Lykaios

01-11-2007 18:08:08

except for god. god can do anything! :?

but, can god:

microwave a burrito SO hot that he cannot eat it?

Answer me that, answer man!

Hey beta, if you want I can run through the whole guide and pm you a list of your typos or whatever. Didn't do it before because I thought it would come across as presumptuous, but anything I can do to keep this guide moving forward I would be very happy to do.

thanks again
~Lykaios

betajaen

01-11-2007 18:39:27

I would appreciate it.

You could edit the html document for me and just post your changes here if you like; or just tell me where the typos are and grammar is wrong.

[Edit]

Could God fart, a fart strong enough that even God couldn't take the smell? Tell me that, and I'll answer your burrito.

Lykaios

01-11-2007 20:55:46

No, no he couldn't. To quote Fat Bastard, "Everyone loves their own brand."

I'll grab the html and get it back to you within the next 4 or so hours.

betajaen

01-11-2007 21:57:01

You probably want to wait a little bit. I've done some massive changes to it.

He would stink out the universe though.


[Edit]

There you go, it's now up.

Lykaios

02-11-2007 01:49:48

Done. Took a while because I was at work, and also grabbed the copy before the update so I had to paste some changes over. I have to say I really like the guide, very accessible.

-- Cut by Betajaen.

hope it tickles your fancy. Tickles it but good.

betajaen

02-11-2007 09:07:30

Thankyou. I took it out of your post because of the database and search thingy.

Lykaios

03-11-2007 01:03:32

No worries, just hope it helps.

Waiting with baited breath for the shapes and rendering sections.

~Lykaios