[Cake] Cake 4.0T1 Released! For Shoggoth and NxOgre 1.0.22Tx

betajaen

17-10-2008 13:05:04



Description
This is the latest Cake that I've been working with, and developing NxOgre with for the last few months. It is quite different from the previous Cakes you have been working with.

Download and Install
You can download Cake from here, and place it inside your NxOgre directory. You should be able open the solution and compile it straight away. Remember to copy your Ogre DLL's into the Cake directory once compiled.

Controls and Keys
WASD - Move the Camera around
QZ - Move the Camera up and down.
Escape - Quit
F11 - Create a single cube in the center of the world.
F12 - Take a screenshot


Future
Cake can now switch between "scenes". Currently we have two Sandbox and Space but I've disabled it for now.

Since we have lots of fun new meshes to play with, I'll post a couple of functions soon that create them properly.

mtx123

20-10-2008 17:47:01

1- I've downloaded NxOgre then extracted over the file NxOgre.1.0.22T5.zip
Is this correct?

2- I've compiled Cake 4.0T1, in release mode cake.exe is 128kb.
Is this correct?

3- I've copied nxogre and ogre dll in cake.exe folder, but when I run, it load something in memory that increase every second over 300mb. So I've terminated it.
What wrong?

4- Can you tell me exactly what dll and cfg files must be with cake.exe?

Thank you

Cronos

21-10-2008 05:07:00

1- I've downloaded NxOgre then extracted over the file NxOgre.1.0.22T5.zip
Is this correct?


Yes


2- I've compiled Cake 4.0T1, in release mode cake.exe is 128kb.
Is this correct?


Yes


3- I've copied nxogre and ogre dll in cake.exe folder, but when I run, it load something in memory that increase every second over 300mb. So I've terminated it.
What wrong?


Are you running in release mode? The debug mode is with memory leak on the version 1.0.22T5 of NxOgre.


4- Can you tell me exactly what dll and cfg files must be with cake.exe?


I guess all dll from OgreSDK/bin/debug (or/and release), I think there's no need for the cfg files.


Waiting for new version of cake :)

andersoon-c

21-10-2008 12:02:16

What is your version of OGRE?

I have a trouble,I can't pass the compiler:
"Listener": not the a member of the "Ogre:: SceneManager"

mtx123

21-10-2008 15:45:11

I have the latest ogre sub-version.
I can compile cake in dubug and release mode, but always crash on execute.

When will be released NxOgre 1.1 ?
And the new cake?

Thank you Betajaen

spakowski

21-10-2008 16:48:29

Hi All,

Thanks to Betajaen for uploading the long waited update to Cake.
I really like this version of NxOgre (1.0.22) and Cake(4.0).
Cake works as per the description provided in the posts. When can we expect a complete version of NxOgre Released.
I also saw on some post where it was mentioned about integration of flour with NxOgre. Updates to the betagui2 is also great.

This should be really great. I cant wait to play with it.

O.K.

This version of Cake is for Ogre 1-6-0 RC1 Shoggoth available in the Download Section. NxOgre any version after 1.0.21 should be fine.

nargil

21-10-2008 18:30:36

From what I see there is no difference between physX acceleration (geforce) turned on/off in Cake. Can't nxogre benefit from it ? Or is it something with my computer (8800gt + 2.8.1 + 08.09.04 + 178.24) ?

OK. I just have read that currently, PhysX SDK can run only particles/fluids, cloth and softbodies on GPU)

buckEd

02-11-2008 16:24:31

hello everyone.
I tried to get NxOgre and Cake compiled and running on my computer today.
I followed all the instructions and ended up with a debug and a release build of NxOgre.
However I can't seem to get Cake build.

I downloaded NxOgre 1.0 '21 from SVN and Cake 4.0.
I am using the Ogre Soggoth 1.6 SDK.

When I place the contents of the cake zip file in my NxOgre directory and try building the solution i get 53 compiler errors.

They all look as if I am missing certain dependencies or something. One example:

I got this line of code:
ar->mActor->addForce(-ar->mWorldNormal * ar->mActor->getMass() * 50);
in cakeogre.h and recieve an error stating that there must be a class to the left of "->addForce()".
As far as I can see it is the "mActor" of the class "ar" which can not be accessed here.

The other errors are all very similar. It seems like cakeogre.h does not know about certain classes.
I am sure this is actually a very easy thing and a stupid mistake on my behalf. But I am not really that experienced with programming yet and all this dependencies, includes etc. are often enough a big mistery to me.

In case you want me to post my complete buildlog (with all the errormessages) I would like to ask another thing.
How can I change the language of the output in MS VS 2005? Because it is all in german and I doubt that would be of great help to anyone round here :)

I would appreciate any kind of help and am looking forward to your answers.

Thanks in favor

Ed.


[EDIT] Oh and another thing. reading a thread of another cake version I have often seen "tutorials directory" mentionned. What is that all about? As far as I can say there is no such directory in my NxOgre folder nor in my cake folder.
Is that maybe some mistake with building NxOgre? Or has it been removed in this version?[/EDIT]

Prophet

02-11-2008 18:12:29

Cake 4.0T1 Released! For Shoggoth and NxOgre 1.0.22TxTry downloading the latest version (not on the SVN yet), and I bet it will work.

buckEd

02-11-2008 18:43:22

Try downloading the latest version (not on the SVN yet), and I bet it will work.

Have you read betajeans Original post on 1.0 '22? I am "using" NxOgre no more than 6 hours. Can you imagine how bad he would have to laugh :)

However maybe someone can give some input on this:

I now tried the older cake version (from SVN). Here I had no more than 21 Errors. Exactly the ones as described here >>>> http://www.ogre3d.org/phpBB2addons/view ... ile+errors <<<

I started renaming identifiers accordingly as betajean suggests and ended up with three errors. However I cant figure out what to do with these:

1>c:\ogresdk\nxogre\cake\source\cakeogre.h(322) : error C2065: 'NxHashes_OgreNodeRenderable' : undeclared identifier
1>c:\ogresdk\nxogre\cake\source\cake.cpp(100) : error C2146: syntax error : missing ';' before identifier 'Spikey'
1>c:\ogresdk\nxogre\cake\source\cake.cpp(165) : error C2039: 'GMT_RESOURCE_IDENTIFIER' : is not a member of 'NxOgre::NodeRenderableParams'


So if anyone already solved it let me know how you did it.

[Sidenote]If this post does not belong here (as it is not directly related to 4.0 anymore) please let me know and remove it. I would in that case post this question in the thread I quoted above. [/Sidenote]