[Tutorials] NxOgre Tutorials
betajaen
09-06-2010 20:47:08
This is an unofficial thread, that I've posted the first
19 tutorials on the GitHub page, they mirror the PhysX tutorials but in a NxOgre format. They work with Detritus and Critter, and use the Ogre SampleBrowser framework to run under. Once the NxOgre Detritus RC1 SDK is released, I'll give some more formal announcements and support.
Otherwise, enjoy!
http://github.com/betajaen/nxogretutorials
TechnoBulldog
17-10-2010 21:27:02
Awesome, took me a bit to figure out how to run them, but they seem to work pretty nicely. These are a big help!
fruki
11-11-2010 22:52:14
So... how do we run them?
TechnoBulldog
11-11-2010 23:04:37
So... how do we run them?
If I remember right, I think you need to compile them then copy the DLLs (or library files, don't remember) to the OGRE bin directory (debug or release, depending on which one you built) and add the path to the NxOgre media folder to the resources file, just add it to zips. Then run the sample browser (you'll want to compile the OGRE samples if you haven't already, because its uses the Ogre Sample Browser). They should appear automatically in the browser, I believe. Someone else correct me if I'm wrong.
I think the DLLs automatically copy themselves if you have the OGRE_HOME environment variable registered, but I don't remember too well.
fruki
11-11-2010 23:32:53
Ok, I compiled and they didn't copy themselves, although I have the OGRE_HOME variable set up. (NXOGRE_DIR is up too)
I run the Sample_Browser and can't see them. I copy the dlls into the bin directory and the libs in the lib directory, not working.
I have added the 'Zip=../../media/packs/NxOgre.zip' line to the resources.cfg.
I have copied the zip into the media.
I just don't know what to do next.
TechnoBulldog
11-11-2010 23:40:10
You don't need to copy the library files to the lib directory. Did you compile both Debug and Release? If you compile the Debug tutorials and run the Release sample browser it won't work. I would recommend compiling both configurations. Then check in your bin folder for DLLs titled like "NxOgre101.dll". Make sure you added the zip file in the resources.cfg INSIDE your debug or release directory. If that doesn't help, I would say recompile the SampleBrowser, see if that fixes it.
FYI: There are instructions on how to install it in the file named "INSTALLATION.markdown". You may need to right click and choose "Open with..."
fruki
12-11-2010 00:18:48
I followed all instructions 2 and 3 times checking everything.
The dlls are copied to
C:\GAMEDEV\ogre_src_v1-7-1\VCBuild\sdk\bin\
and my samplebrowser is in
C:\GAMEDEV\ogre_src_v1-7-1\VCBuild\bin\
I recompile the samplebrowser but it gets in the same folder (it is OGRE_HOME independent)
And the .bat from the NXTutorials copies the files to $(OGRE_HOME)/bin.
My OGRE_HOME = C:\GAMEDEV\ogre_src_v1-7-1\VCBuild\sdk
I have been able to work with Ogre with that OGRE_HOME these last months, this is the first time I'm having problems.
[EDIT]
I made some changes to the bat, so the files copied to the right folder, and it worked, but now the SampleBrowser crashes at:
SampleBrowser.h
// go through every sample in the plugin...
SampleSet newSamples = sp->getSamples();
Any ideas?
TechnoBulldog
12-11-2010 00:35:38
Do you have bin/debug and bin/release folders? If so, I recommend putting them all there
If you have it set up to run in your bin folder, try the following.
Try adding these to the samples.cfg and samples_d.cfg, it might help.
Release
SamplePlugin=NxOgre1001
SamplePlugin=NxOgre103
SamplePlugin=NxOgre114
SamplePlugin=NxOgre102
SamplePlugin=NxOgre113
SamplePlugin=Sandbox
SamplePlugin=NxOgre101
SamplePlugin=NxOgre111
SamplePlugin=NxOgre109
SamplePlugin=NxOgre110
SamplePlugin=NxOgre107
SamplePlugin=NxOgre108
SamplePlugin=NxOgre106
SamplePlugin=NxOgre117
SamplePlugin=NxOgre1004
SamplePlugin=NxOgre105
SamplePlugin=NxOgre1003
SamplePlugin=NxOgre104
SamplePlugin=NxOgre1002
Debug:
SamplePlugin=NxOgre1001Debug
SamplePlugin=NxOgre103Debug
SamplePlugin=NxOgre114Debug
SamplePlugin=NxOgre102Debug
SamplePlugin=NxOgre113Debug
SamplePlugin=SandboxDebug
SamplePlugin=NxOgre101Debug
SamplePlugin=NxOgre111Debug
SamplePlugin=NxOgre109Debug
SamplePlugin=NxOgre110Debug
SamplePlugin=NxOgre108Debug
SamplePlugin=NxOgre107Debug
SamplePlugin=NxOgre106Debug
SamplePlugin=NxOgre117Debug
SamplePlugin=NxOgre1004Debug
SamplePlugin=NxOgre105Debug
SamplePlugin=NxOgre1003Debug
SamplePlugin=NxOgre104Debug
SamplePlugin=NxOgre1002Debug
Does that help?
fruki
12-11-2010 00:55:33
I did that, well the bat did. And it crashes.
Inside every bin folder there is a debug and release. Inside each one the corresponding dlls are copied and the samples.cfg are updated.
I mean, _right_now_, everything is needed is copied in the folder with the Sample Browser, but when I run it, it crashes.
I dont know what else to do.
Oh well, thanks anyway.
betajaen
12-11-2010 09:22:51
Try copying the PhysX*.dlls from the PhysX/Bin/win32/ directory into the same folder as the OgreSamples application. Also double check to see if the NxOgre.zip (from the tutorials media folder) is copied into the Ogre's media/zip folder, and it's added to the Zip section in the resources cfg file.
minggoddess
07-12-2010 11:49:48
Hello betajaen
my tutorial cant run on opengl rendersystem .the application crashed at RenderSystem_GL_d.dll .some conflict .but everything is right on Direct3d rendersystem...I am confused
Thank you
minggoddess
07-12-2010 15:58:12
Hello betajaen
my tutorial cant run on opengl rendersystem .the application crashed at RenderSystem_GL_d.dll .some conflict .but everything is right on Direct3d rendersystem...I am confused
Thank you
it's about the clothing in OgreGLHardWareIndexBuffer.cpp.others like collion are well.I don't know why
betajaen
25-01-2011 19:52:48
BuggySwires/Tutorials
Changes:
- Merged all projects into one.
- Added BuildBot
Nixit28
14-04-2011 11:31:15
Hello sir,
I new to NxOgre and i having problem in running the sample tutorials
I had done almost all the steps from readme file of the tutorial....
after providing path to SampleBorwser_d.exe i got an error which gives me internal exception 7
betajaen
14-04-2011 12:00:34
Are you clicking on the executable? Did you compile the rest of Ogre, i.e. DirectX Rendersystem?
Nixit28
14-04-2011 12:16:42
Are you clicking on the executable? Did you compile the rest of Ogre, i.e. DirectX Rendersystem?
Yes before giving "executable filename for debug" in NxOgreTutorial SampleBorwser run good but after that it shows me exception
//thanks//
Nixit28
14-04-2011 12:24:30
And when i run sample browser from ogre-sample it runs but when i select ->Physics->NxOgre101->application "hang"
What i should do? give some suggestion .........
betajaen
14-04-2011 12:51:17
Do the PhysX samples work? And you copied the PhysX dlls and NxOgre dll into the samples directory?
Nixit28
14-04-2011 13:10:50
Do the PhysX samples work? And you copied the PhysX dlls and NxOgre dll into the samples directory?
Yes Physx Samples works correctly and i copied Physx*.dll and NxOgreDebug.dll ...to OgreSDK\Samples\Browser\SampleBrowser.dir\debug directory
is this the write place?
what else i should do?
I found one more error..,
Nixit28
15-04-2011 08:17:17
Everything is set...I was an idiot
thanks for support
Dboy85
08-10-2011 18:27:30
I getting the same error as above. Any idea what the problem is?
Dboy85
09-10-2011 12:42:39
Nevermind. I had 2 entries in the reasources config file somehow.