[BloodyMess 1.5.4] Some questions...

marceloharmonia

04-07-2009 04:22:56

I have some doubts that I would like to clarify:
1.Where Can I found character movement tutorial for NxOgre 1.5.4?
2.How Can I attach a Actor in Node or Entity?
3.I download Flour and try convert .raw to .xhf but I can't, the program return a failure mensage. Are There other form to convert?
4.Callbacks... I read the post of forum, but i can't undestand yet.

Thanks and sorry for so many questions and bad english. :roll:

betajaen

04-07-2009 12:02:52

A lot of these questions could of been solved by SEARCHING.


1. There isn't one.
2. You use the OGRE3DBody class. Spacegaier's tutorial shows you how to use them.
3. No. But at least telling us what the error message is, may we be able to help you.
4. There isn't one.

marceloharmonia

04-07-2009 15:20:49

You use the OGRE3DBody class. Spacegaier's tutorial shows you how to use them.
But, this class is to create a body.... I want get a existing node or entity and attach to actor...

No. But at least telling us what the error message is, may we be able to help you.
Well, when I use this command to convert: flour convert in:terrain.raw, into:heightfield, out:terrain.xhf, width: 513, height: 513, depth: 8, signed: yes
The program return this mensage:
PhysX Error! NXE_DB_WARNING <f:\scmvista\experimental\PhysX_2.8.1_GPU\novodex\SDKs\Core\Device\RegistryHardwareSelection.cpp:71>
CUDA not available
PhysX Error! NXE_DB_WARNING <f:\scmvista\experimental\PhysX_2.8.1_GPU\novodex\SDKs\Core\Device\RegistryHardwareSelection.cpp:71>
CUDA not available
Failure!
Unknown file-format.

spacegaier

04-07-2009 16:48:21

2. Don't really understand that, but just to clarify that: A Body is an Actor + Visualization. Could you explain it with a few more words what you want to do?
3. Try the minimalistic version: flour convert in:terrain.raw, into:heightfield, out:terrain.xhf

marceloharmonia

04-07-2009 17:07:46

Don't really understand that, but just to clarify that: A Body is an Actor + Visualization. Could you explain it with a few more words what you want to do?
Oh, thank you for explain. Well I want create a character with collision box. I asked this because when I create the character as a body see what happens:

And with a actor I can attach to the node and control the offset, at least what I thought.

Try the minimalistic version:
I already tried, but occurs the same error.

Thank you for attention.

Pans

09-07-2009 21:41:06


3. Try the minimalistic version: flour convert in:terrain.raw, into:heightfield, out:terrain.xhf


I'm having the same problem as the OP, and this minimalistic command produces the same output as the OP indicated (i.e. unknown file format). I'm generating my .RAW files with GIMP, and I've used every combination of the output options available (RGB Save Type: Standard and Planar, Indexed Palette Type: R,G,B and B,G,R,X).

The problem is that flour outputs the same 'unknown file format' error whether or not it can actually find a file. If I feed in a file name for a file that doesn't exist, I also get that 'unknown file format' error. There's also no source code available anymore via the stickied thread at the top since that site is only partially up. Can anyone link me the source code for flour, or lend a hand here in how to get my heightmap converted? Or, can someone post a .RAW file that they've successfully converted (and maybe it's associated .XHF file)? That way I can work backwards to see what's wrong with the .RAW files that GIMP is producing--or if flour just can't find anything I try to send to it.

betajaen

09-07-2009 21:44:09

I'm nearly positive that you have to give out the width and height of image. RAW files don't supply that information inside the file, so Flour doesn't know what it is.

Pans

09-07-2009 21:53:41

I'm nearly positive that you have to give out the width and height of image. RAW files don't supply that information inside the file, so Flour doesn't know what it is.

Aces, I typed in:
flour convert in:terrain.raw, into:heightfield, out:terrain.xhf, width:513, height:513
...and out popped a .XHF file. Thanks!

betajaen

09-07-2009 22:52:20

Huzzah! :D