Re: Why does DEF do instancing? (fwd)

Paul S. Strauss (pss@zeus.engr.sgi.com)
Mon, 16 Oct 1995 10:03:00 -0700


On Oct 13, 5:30pm, Bernie Roehl wrote:

> Chris Laurel writes:
> > Finn Aarup Nielsen writes:
> > > I seems stranges to me why the DEF command is instancing.
> > I think that this is a bit annoying also . . . generally, when I DEF
> > things I stick them inside a Switch with whichChild set to -1 so that
> > the DEF'd node gets parsed, but not instanced. Which leads me to ask
> > the question: this is legal, portable VRML eight?
>
> Yes, it's legal. Yes, it's portable. And yes, it's an ugly kludge that
> could be avoided by having a non-instancing DEF.

Several people have suggested replacing this "ugly kludge" with
difserent ugly kludges, including a non-instancing DEF. (Don't
even try to claim that's not a kludge.)

Instead, why doesn't someone just write a couple of filters that
translate some sort of programming language into VRML and back?
That way, you could add whatever features you like and not have
to clutter VRML with things that end users don't care about?

Any volunteers?

----
Paul S. Strauss pss@sgi.com Silicon Graphics Computer Systems
Open Inventor Web info in http://www.sgi.com/Technology/Inventor.html


  • Next message: Bernie Roehl: "Re: ADMIN: VRML + JAVA - A Wedding (fwd)"
  • Previous message: Len Bullard: "Artist Lists and VRML"