Flour 0.4.7 Released

betajaen

18-11-2010 17:48:30

Flour 0.4.7

[attachment=0]flour.png[/attachment]

Requires
- PhysX 2.8.4+
- Visual Studio 2010 CRT dlls (supplied)
- NxOgre 1.6.3462+ dll (supplied)

Features
- Converts any .flower file into a PhysX Triangle/Convexes (.nxs), NxOgre Cloth (.xm) or NxOgre CCD Skeleton (.xm).
- Disassembles PhysX Triangle/Convex meshes (.nxs), NxOgre Cloth (.xm) or NxOgre CCD Skeleton (.xm) into .flower files
- Performs a simple PhysX/NxOgre unit test.
- Built on Detritus

Download (as zip)
https://github.com/downloads/betajaen/f ... sx_284.zip

Download (as source)
https://github.com/betajaen/flour/zipball/master

Flower Exporters
Ruby OgreXML to Flower
Blender

Flower Schema
https://github.com/betajaen/flour/blob/ ... ma.textile

jarwulf

19-11-2010 01:02:58

would you consider readding the ability to convert ogre meshes to nxs? It would make the current version much more useful to a larger audience.

I don't want to add to the perceived bloat but I still don't know of any simple way to get Maya to work with nxs besides using an obsolete flour. Nvidia's still taking their sweet time coming out with an official plugin AFAIK cause I guess they think PhysX is too popular and want people to stop using it.

TechnoBulldog

19-11-2010 01:59:00

Yeah, what happened there? I know the old flour could convert from .mesh to .nxs, which seems extremely useful....

betajaen

19-11-2010 09:46:07

flower is a better intermediary file format for NxOgre.

There are some features of PhysX that can't be supported just using the OgreXML/OgreMesh format alone, and there is written a OgreXML to Flower exporter which works perfectly fine.

joaopccosta

22-11-2010 10:50:53

Hi there!

Just go this version of flour and odly, when i try to convert the .flower file i get this:

C:\Project\NxOgre Flour 0.47>flour convert Sphere01.flower

=====================================================================
No PhysX System Software (World)
=====================================================================

The PhysX System Software has not been installed.
Check to see if correct versions of PhysXCore.dll, PhysXDevice.dll and PhysXLoad
er.dll are installed or in the application's directory.
Otherwise see: http://www.nvidia.com/object/physx_system_software.html
From: ..\source\NxOgreWorld.cpp#81

=====================================================================


Exception Called.


I double checked and I have the PhysX Sys. Software installed :?
Any clues?
Cheers!

joaopccosta

22-11-2010 10:52:16

Oh I forgot to mention that i've tried to copy the physx sys. software to the app. directory, and it didn't work :?

I'm using the PhysX_9.10.0513_SystemSoftware version.

betajaen

22-11-2010 10:54:33

You need to copy the PhysX dlls from your SDK (bin/win32/) not from the System Software. For some reason the latest System software doesn't have 2.8.4 with it.

joaopccosta

22-11-2010 11:10:34

Tried it and got the same result :?

Maybe because my SDK is PhysX_2.8.3.21_for_PC_Core? :\ I'm not sure but i think i used this one because i couldn't get to compile detritus with the PhysX_2.8.4.4_for_PC_Core SDK version :?

betajaen

22-11-2010 12:08:36

You need to compile Flour yourself then. I use the PhysX 2.8.4 SDK so, Flour is compiled towards that.

joaopccosta

22-11-2010 13:09:00

worked like a gem with 2.8.4.
thanks man ;)

Gorgool

07-12-2010 19:25:14

I have the same problem. Flour can't detect PhysX.
PhysX SDK(2.8.4) is installed, tutorials working fine...(except terrain heightfileds, 1 fps)
Tried to copy required dll's in flour directory, nothing changed.
Any suggests?

PS: could anybody post the link to the older version of Flour.

betajaen

07-12-2010 19:35:19

You can just download the source and compile it. It will run with whatever version of PhysX you have currently installed then. I compiled it with 2.8.4; because I have it on my computer, hence the dependency.

Gorgool

07-12-2010 20:01:58

Tried to build Flour.
It required NxOgreStatic.lib and AntTweakBarStatic.lib. Where i can get it?
Download AntTweakBar libs, but it does not have AntTweakBarStatic.lib, the same with NxOgre, no static lib.

betajaen

07-12-2010 20:06:02

:?

How did those get in there? Those are from an old un-released version.
Anyway, you can take them out (also any boost references), and it's NxOgre.lib, not NxOgreStatic.lib.

[Edit]

I've updated the Git repo, it should compile properly now, although I couldn't compile/test it because I'm on a different branch than you are. If it doesn't report back, and I'll try and fix it for you.

Gorgool

07-12-2010 20:33:28

Build the new source. Build succeeded.
But on the "flour test" it cant detect PhysX as before and than
crashed with Windows error message - "Flour.exe has encountered a problem and needs to close.
We are sorry for the inconvenience."

PS: command "flour" works fine - type version and available tools. Don't crush.

betajaen

07-12-2010 20:49:02

Build the new source. Build succeeded.
But on the "flour test" it cant detect PhysX as before and than
crashed with Windows error message - "Flour.exe has encountered a problem and needs to close.
We are sorry for the inconvenience."

PS: command "flour" works fine - type version and available tools. Don't crush.


You have the NVIDIA PhysX system software installed right?

What PhysX SDK are you running?

Gorgool

08-12-2010 14:30:25

I have PhysX System Software 9.10.0513.
And what do you mean "running SDK" ?) Sorry for my English.
I have downloaded and installed PhysX SDK 2.8.4.4 (last availible version).

betajaen

08-12-2010 15:48:42

Alright go into your "PhysX\Bin\win32" directory and copy the following files into your Flour directory:

PhysXCooking.dll
PhysXCore.dll
PhysXDevice.dll
PhysXLoader.dll


Then try it again.

Gorgool

08-12-2010 16:57:43

Omg, betajaen, its working :oops:
I copied these ddls before, but not the PhysXCooking.dll,
there is no mention about this dll in the error message.
Thanks for your feedback.

betajaen

08-12-2010 17:00:51

PhysX is like that. You need the cooking DLL if you need to do some "cooking", which flour does all the time.

arsenalman

23-12-2010 11:56:26

flour version and test all right ,but when i convert like "flour convert build.flower,i found error: "Path is invalid <FileResource>,the folowing path could not be opened or is invalid build.flower.i put build.flower in the same path as flour.i don't know why,even i convert like"flour convert d:\build.flower",the error is the same,can you tell me the reason?

Oceax

26-02-2011 12:47:01

I also get the error: "the following path could not be opened", tried all kind of different paths.
My command: flour convert in: terrain.raw ..........

[Resources]Opening 'file://in:' as read.
=====================================================================
Path is invalid (FileResource)
=====================================================================

hvalola

25-07-2011 07:12:08

hi
I cannot provide the path to the .flower file
the error says "Invalid drive specification"

please tell me how to provide the path to .flower file

betajaen

25-07-2011 07:54:34

Can you at least post what you was doing to get that error message?

hazem

01-09-2011 15:14:39

I have download the exe . but it didn't work
actually it started and closed immediately

help... plz

Yati

08-12-2011 07:10:21

Hi betajean,

I have PhysX 2.8.4. Flour crash when I try to test

It goes:
* creating world
then crashes :(

I've copied the PhysXCooking,PhysXLoader,PhysXDevice and PhysXCore in the same directory as flour.

Do need to have cooked meshes in the directory as well for the test to work?

I also tried converting a .flower but it crashed as well.

I check NxOgre log but it didn't have anything on the cause of the crash.

everyone else seems to have it working what do you think I'm getting wrong?

[UPDATE]

I fixed it, though I'm not why it worked or if you'd approve... I replace the supplied NxOgre.dll with my compiled version then also copied cudart32_30_9 from the PhysX sdk.

Yati

08-12-2011 07:38:01

I have download the exe . but it didn't work
actually it started and closed immediately

help... plz


You have to run it from cmd