Hi again, sorry for the torrential messages, but its getting really
fruitful! Thank you very much!


> Though, if b2cs is extended to export some kind of physics, it could
> also be extended to write in CS' own format for physics data (ie the one
> used by the existing dynamics loader).

I did not understand. Isn't b2cs already capable to write physics data to
CS' own format?

> The current CS physics loader loads things through the iDynamics
> interface - so if you'd implement a PhysX iDynamics plugins, you'd get a
> loader "for free". But as you pointed out, the support for PhysX
> specifica would be probably not as good as some loader entirely tailored
> to that.

Ok, that's a good point. So, I believe that I have two candidates to
accomplish the task to insert Collada data into PhysX, over the CS
framework:

1- Convert all Collada data to CS data with the help of the Collada tools by
Scott. Load it with current map and physics loader. Have the new PhysX
iDynamics plugins - yet to be implemented - to interface the underlying API.
Handling physics from inside CS environment remains unchanged.

2- Export the same contents in two formats: Collada and CS, or else export
to Collada only, and convert later. Load CS data with current loaders,
ignoring physics. Load Collada data directly to PhysX with its own loader,
not using iDynamics. Update iMeshWrappers manually each timestep, to
correctly display PhysX NxActors (equivalents to iRigidBody). Handling
physics will be pure PhysX.

First option's benefit would be the abstraction layer - as a drawback there
is the effort to implement the PhysX iDynamics plugins, and the risk to have
buggy support to physics because of bad coupling.

Second option's benefit would be better support to physics and features -
drawback is egocentrism :) (not multiplatform, not elegant from
architectural point of view, and not interchangeable).

Both ways, the more advanced PhysX features as fluids, soft bodies and
cloths would still need some effort to work correctly within CS.

I can't see benefits in the mixed format being loaded by CS loaders, if I
consider that there is already heavy work in progress on the Collada
tools...

Am I missing something trivial?

Best regards,

Mario Lapin.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to