Re: Why does DEF do instancing?

Thomas Bornfleth ([email protected])
Fri, 13 Oct 1995 16:02:35 -0600


But it isn't hard to do a workaround.
Just put another Separator around the DEF node, in which you do a translation.
So your example would look like:

Separator {
Transform { ... somewhere }
DEF RedSphere Separator {
Material {
emissiveColor 1 0 0
}
sphere { }
}
}

Separator {
Transform { ... an other place }
USE RedSphere
}

Hope that helps,
Thomas

-- 
Thomas      _/_/_/  _/      _/  _/     _/
Bornfleth    _/    _/_/    _/  _/_/ _/_/
            _/    _/  _/  _/  _/  _/ _/ 
           _/    _/    _/_/  _/     _/
        _/_/_/  _/      _/  _/     _/ Frankfurt

  • Next message: Jacek Szamrej: "ANNOUNCE - Modzelewskiego street, Warsaw"
  • Previous message: Brook Conner: "Re: Q#3: Crystal Ball"