How to convert ogre mesh to "physX mesh"?

icaromotta

17-03-2009 18:37:41

I don't know how to convert a .mesh from Ogre to "mesh" physX.

Anybody can help me.

Thanks.

nargil

17-03-2009 18:41:51

How about you searching the forums, because the question has been answered over a million times ?
1. use floor to convert .mesh to .nxs
2. use the NxOgre::ResourceManager to load it under a "name"
3. use the NxOgre::TriangleShape("name")

icaromotta

17-03-2009 18:46:45

Thanks, but I will like of to convert without to use NxOgre, only PhysX SDK + Ogre.

nargil

17-03-2009 19:31:40

Download flour, and look at the source code, how to get face/vertices from .mesh, and then put them into the nx stream instead of nxogre nxs.
Btw whats wrong with all the people using pure physx only ? Why do you want to invent the wheel again ? You can mix nxogre with pure physx, and it's more effective.

betajaen

17-03-2009 21:50:20

You can also use flour purely as a tool, and load the saved meshes in using your own code.

But as the others are saying; If your using PhysX with Ogre, then you use NxOgre. It's silly not to.

nasirus1983

18-03-2009 09:09:53


But as the others are saying; If your using PhysX with Ogre, then you use NxOgre. It's silly not to.


I don't think, that if I use PhysX + Ogre, then I use NxOgre. I appreciate your contribution and work in making NxOgre but more simple and easier is to use pure PhysX. I don't like NxOgre anymore. I'm currently using pure PhysX + Ogre and do not think that it's NxOgre.

icaromotta

18-03-2009 20:08:06

But how I use this flour. I try to use the installer flour.msi, but only create a folder with a .exe in C:/program files. It's necessary have the NXOgre installed?

betajaen

18-03-2009 20:27:40

No. It's inside Flour.

icaromotta

19-03-2009 17:18:10

I'm having some problems with flour. For example:

flour view mesh: ninja.nxs

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more infomation.

What do I?

icaromotta

20-03-2009 18:17:56

Nobody can help me?

nargil

20-03-2009 20:08:37

dont use the view function. Use remote debuger to view your mesh. There is also a command to activate the remote debuger previeview. Has been on the forums. USE THE FUCKING SEARCH BUTTON !

icaromotta

23-03-2009 19:20:19

I try to use remote debuger join with flour, but the screen of remote debugger is clear and bug.

Problems:

CUDA ?

admerzeau

31-03-2009 03:41:56

Download flour, and look at the source code, how to get face/vertices from .mesh, and then put them into the nx stream instead of nxogre nxs.
Btw whats wrong with all the people using pure physx only ? Why do you want to invent the wheel again ? You can mix nxogre with pure physx, and it's more effective.


Nxogre is olny for Windows??????

admerzeau

01-05-2009 05:42:47

i can use nxogre in linux????

icaromotta

04-05-2009 18:03:53

No

betajaen

04-05-2009 18:17:39

Actually you can. There is just no official way of doing it.

icaromotta

05-05-2009 16:34:21

How?

admerzeau

06-05-2009 23:38:35

yes how....? :roll:
because if that true i don't have to invent the wheel again....I'm do some test with NxOgre in Windows and is great....very good work

sorry for English....

Spanish
si como....?
porque si es verdad no tengo que reeinventar la rueda...ya probe NXogre en windows y es genial...muy buen trabajo