A Little Help?

99jonathan

30-07-2007 03:04:45

Is there any sort of hello world for nxogre for .9? I have absolutely no idea what to do to get started, etc. I looked at the Cake thing but it is much to complicated for a first time app.

Someone help?

ANdys

30-07-2007 05:07:20

I think the "Cake" just like "hello world"~

Did you get the new 0.9 from SVN and install PhysX 2.7.x SDK and PhysX System?
If You done.
Going here and reading here http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=4350
I think it can help you. :wink:

betajaen

30-07-2007 09:25:25

Cake is three files, with a solution. It is easiest thing that there is for NxOgre. Just follow the instructions for setting it up and you'll be fine; assuming you got NxOgre to compile that is.

99jonathan

30-07-2007 16:05:12

yep, i managed to follow the outdated instructions on nxogre.org. Everything is built, and should work. I can build cake and get it to run as well. I suppose i'm off to do dissect cake more!!

99jonathan

30-07-2007 16:06:14

http://www.ogre3d.org/phpBB2addons/viewforum.php?f=6
I think it can help you. :wink:


uh reading what there?

99jonathan

30-07-2007 16:15:45

lol sorry for the triple post but...

does the physics in cakebox demonstrate how fast nxogre will run in other applications? It runs very slow with only 2 entities on my computer. The physX examples run quite fast, however, even with 100s of entities.

betajaen

30-07-2007 16:27:12

How slow? I get ~1000 FPS with Cakebox.

99jonathan

30-07-2007 16:44:04

it doesn't say the fps but it takes about 2 secs for the box to drop at the beginning..... and when i'm moving the box around and such it is very jumpy

and its not just that my computer was bogged down with other crap or something.

betajaen

30-07-2007 17:00:42

You can get the average FPS at the bottom of the Ogre.log, it varies drastically between Debug and Release.

99jonathan

30-07-2007 18:06:22

lol, ok i figured out the problem. :oops:

11:33:57: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/NumBatches not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)

there was about 3000 of those in the log file.

oh and the fps was 250 or so.

betajaen

30-07-2007 18:11:48

Never heard of it and Cakebox never uses. You may find it in OgreCore.zip in the Ogre media folder.

99jonathan

30-07-2007 18:15:20

greaaaat.....

i fix that problem (i had installed cakebox over the 0.4 tutorials) but now the fps drops to:

12:14:13: Render Target 'Powered by NxOgre' Average FPS: 25.7571 Best FPS: 38.8446 Worst FPS: 0.710606

i'm in release too...

99jonathan

30-07-2007 18:19:13

how would i go about editing the video settings of cakebox? No usual Ogre box thing pops up.

betajaen

30-07-2007 18:31:07

Edit the yaml file in notepad

99jonathan

30-07-2007 18:37:55

hmm it gets a little better when i downgrade the settings a bit but still not much.

12:32:26: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9c9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)

i'm getting a bunch of SandBoxGUI errors in the log though.

betajaen

30-07-2007 19:07:28

I've never had any of those errors. What Ogre version are you using?

99jonathan

30-07-2007 19:11:25

the latest (1.4.3?) built from source.

Loockas

30-07-2007 19:27:39

I'm encountering the same errors, see here.

betajaen

30-07-2007 19:54:41

I got them as well. A BetaGUI bug most likely. There not happening every frame, just at the beginning.

I'll sort something out.

ANdys

30-07-2007 20:47:30

http://www.ogre3d.org/phpBB2addons/viewforum.php?f=6
I think it can help you. :wink:


uh reading what there?


Sorry!!
I copy the wrong URL :oops:

I mean there http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=4350