> Ajit Dharmik wrote:
>
> hi all!!!
>
> Mr. Justin Couch mentioned in his message that there is no application
> that generates J3D code directly. Do you think developing such an
> application would be a good idea?
>
> Typically, such an application could allow users to draw a scene
> graph (SG), set the properties and children of all BGs, TGs, NCs,
> Shape nodes etc and directly generate code based on the SG drawn.
>
> Please let me know if this is worth any effort and whether people will
> find it useful at all.
It is a lot better to create a loader/editor of binary geometry, than to
encode it into classes. You would need such format anyway, as java
source would hard to parse back into editor. With just model, you create
a structure in memory - it takes only as much memory as needed. With
java class you end up wasting memory for class itself, which probably
won't be freed until end of program.
For the binary format for j3d I would suggest you looking at j3fly
program - it has prototype implementation of such beast.
So only part of idea which is left is actual java3d editor. Having
editor with full support for Morph, OrientedShape, AlternateAppearance
and Behaviours could be nice. Preview mode should be trivial - same
scenegraph could be displayed and serialized using j3fly program. As for
the modelling/editing scenegraph... this is a big task. Look at OpenFX,
3D Studio etc - these are really large programs.
Artur
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".