From: "Artur Biesiadowski" <[EMAIL PROTECTED]>
Sent: Wednesday, June 27, 2001 9:03 AM


> > 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.

I think that there's a middle ground here (and maybe what the OP
intended), and I've longed for it periodically.  Imagine a tree
editor (maybe even in the form of a text outliner) in which you
can construct and edit scene graphs, set properties, and have it
generate the skeleton code, hiding the tedious add()s and
setCapability()s.  What I'm thinking of is the kind of Visio
template applications you see around for network specs, etc.

I'm not so greedy that I want model images or geometry builders.
I don't care much for the 'visual' builders for GUIs like Visual
Cafe, because I hate working with the impenetrable code they
generate.  I always seem to end up in the source text editor to
get what I want, but some help would be nice.  I've learned how
to build hierarchies off BranchGroups, my code now looks like
views of the whole tree, and some of it is getting fairly
presentable.  It'd be nice to have a tool that let me move more
easily between tree layers though.

I don't know enough about beans to know whether they'd be the
way to do it, but maybe some day I'll have to dig into that.

My $0.02.

Cheers,

Fred Klingener
Brock Engineering

===========================================================================
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".

Reply via email to