Update for Ogre v1.2 final

rastaman

10-05-2006 06:51:03

I haven't updated cvs yet, but here is the lattest stuff

Update for Ogre v1.2 final
Source
Dlls VS 2003
Dlls VS 2005

Gangsta dlls VS 2003
Gangsta dlls VS 2005

GangstaWrapper_cvs_2006-02-27.zip
Gangsta_Ogre_cvs_2006-02-27.zip you will need the Media directory in here


Its too late to go into detail, I need sleep. :wink:

edit: changed URLs

the_cX

11-05-2006 06:00:38

thank you rastaman! :D

zaneiel

12-05-2006 05:16:06

i'm wanting to mess with ogre.net to see how it compares to the c++ version as c# is a bit faster to make apps.

I downloaded the vs.net 2003 files you have linked here and copied the ogre sdk 1.2.0 RC2 dagon dll's (both release and source) to the respective folders.

when i try to run the demos i get errors like ...

The procedure entry point ?_getBindingPoseInverseScale@boneOgre@@QBEABVVector3@2@XZ could not be located in the dynamic link library OgreMain_d.dll

do i have mixed version files?
Please advise

rastaman

12-05-2006 06:19:55

Hi zaneiel
you need Ogre v1.2 Dagon (final). Not RC2

zaneiel

12-05-2006 07:08:36

ok thanks! i assume thats after rc2? :) i'll look for it.

I tried compiling the source but the cvs i have is so not working:P

i got most of it compiled accept for the main ogre part .. compiler complains that the there's more than 65535 lines in the file or somehting /shrug *off to look for final release*

zaneiel

12-05-2006 07:24:09

WOOT found the release on sourceforge .. the one on the main site is still RC2 i believe :(

anyway thanks for the help Rastaman, much appreciated!

rastaman

12-05-2006 13:52:31

WOOT found the release on sourceforge .. the one on the main site is still RC2 i believe :(

anyway thanks for the help Rastaman, much appreciated!

Huh? The main site http://www.ogre3d.org/ has had 1.2 final release since monday.

zaneiel

12-05-2006 16:49:36

Hrmm, sorry for the confusion... my download manager was complaining that the file allready exsisted when i tried to download off the main site so i figured it was the same version as i allready had.

Anyhow, played wwith the wraped OGRE a little last nite , man this thing is fun :P

i haven't gotten into it very far but it looks like we still use the exampleApplication some how... is this part of the wraper built in? or is it still referencing ExampleApplication.h somehow? Anyway prob Premature for me to ask this as i haven't dove into it very far as of yet (have to work and program boring database apps :( ) .. thanks again for all the help .. i look forward to developing more with ogre!

rastaman

12-05-2006 17:10:31

There is a class ExampleApplication (c#) in OgreDotNet that the demos derive from. It is based on the C++ one in Ogre, ExampleApplication and ExampleFrameListener. Just as in c++ Ogre you don't have to use it. Make your own or just copy it to a new file and change it however you want :wink:

DigitalCyborg

12-05-2006 21:21:18

or go through the tutorials.. the "basic" tutorials are just C# ports of the cpp versions, but the intermediate tutorials have been cleaned up and they should be helpful..

I've got a couple more things that I want to make into tutorials, but I keep getting sidetracked.

.............

If there is anything that anyone reading this want's a tutorial of post to my new thread.. "tutorials wanted"

zaneiel

13-05-2006 00:49:01

I've got a couple more things that I want to make into tutorials, but I keep getting sidetracked.


I hear that, story of my life allways geting side tracked to something else.

My question now is ....

I have my project ogretest1 and i have the dll's in the bin/debug directory of my project and all seems to work prety good, just a few changes left in the .cfg files but nothing major..

the thing is .. i don't have a ExampleApplication.cs anywhere on my hard drive ... and i can still inherit it .. so this leads me to believe that its compiled into the dotnet dll's?

so if i want to change it ... i should change it there?

having a little trouble looking through the sources with all the swig script stuff but its geting easier .. i hadn't used custom build options before with c++.

anyhow let me know if this thinking is correct about the ExampleApplication and ExampleFrameListener classes ..

and do i have to change the c++ sources or can i just inherit and override them or do i need them at all and can make my own stuff without the ExampleApplication crutch ? :) :oops:

DigitalCyborg

13-05-2006 02:34:07


I have my project ogretest1 and i have the dll's in the bin/debug directory of my project and all seems to work prety good, just a few changes left in the .cfg files but nothing major..

I find that for now, it's better for me to just keep adding projects to the same solution so that I only have to keep one copy of the dlls around.

the thing is .. i don't have a ExampleApplication.cs anywhere on my hard drive ... and i can still inherit it .. so this leads me to believe that its compiled into the dotnet dll's?

ExampleApplication.cs lives in ogreaddons\ogredotnet\OgreNet\Custom so if you want your own copy you'll have to pull the cvs source (unless Rastaman already packaged it somewhere else).. so, yes it is compiled into the dlls

so if i want to change it ... i should change it there?
I wouldn't bother changing it and recompiling all of ogredotnet. It's easier just to take the contents of ExampleApplication.cs and taylor them to suit your needs instead of inheriting it.

having a little trouble looking through the sources with all the swig script stuff but its geting easier .. i hadn't used custom build options before with c++.
welcome to the club :)

anyhow let me know if this thinking is correct about the ExampleApplication and ExampleFrameListener classes ..
there is not an ExampleFrameListener. ODN has the ALL the *Listener* classes packaged into one nice tidy class: OgreDotNet.EventHandler

So far, it's functionality has served me really well. basically you can use your own delegate for every event that you want to handle.. This should be covered in one or more of the tutorials. Im not sure that its 100% clear though, so please let us know if you find that material unclear or confusing.


and do i have to change the c++ sources or can i just inherit and override them or do i need them at all and can make my own stuff without the ExampleApplication crutch ? :) :oops:


In general, you shouldn't have to touch the c++ source. I've run into a couple things that required updating the swig stuff, but Rastaman is excellent about updating the .i wrappers if you find something that needs changed.

Both of the "Hello World" apps get rid of ExampleApplication.cs , and I think that ExampleApplication was really only intended to serve as a common base for tutorials, so go ahead make your own stuff! it'll probably suit your needs better.

Cheers.
DC

zaneiel

13-05-2006 03:00:47

Wow thanks DC,

one thing i love about the OGRE community ... allways so very helpfull.

rastaman

13-05-2006 16:09:49

I got CVS up-to-date now, dev cvs was out for a while. Now accessing cvs has changed after sf.net upgraded their servers. See thread in main forum for details. Basicly the address will be different for each sf.net project so to get Ogre stuff its ogre.cvs.sourceforge.net :?.

For anonymouse cvs access to ogredotnet use this:
cvs -z3 -d:pserver:anonymous@ogre.cvs.sourceforge.net:/cvsroot/ogre co ogreaddons/ogredotnet


some things about the update:
New Visual Studios 8 project files (express version so cs/c++ seperated .sln files)
Compositor stuff now working and new DemoCompositor.
there are 3 modules to Swig in OgreNet now. OgreBindings, OgreBindings_Compositor, OgreBindings_DotSceneOctreeHelper. that means 3 .cxx files.
fixed some of the demos

zaneiel

14-05-2006 05:12:13

is there a difference between the vs 2003 and 2005 pre compiled dll's?
Because i loaded up my 2003 dll project into 2005 and it works there to :)

rastaman

14-05-2006 05:36:09

is there a difference between the vs 2003 and 2005 pre compiled dll's?
Because i loaded up my 2003 dll project into 2005 and it works there to :)

No same code just different compiler