Re: MISC: Setting Browser Preferences in VRML files?

Mike Heck ([email protected])
Tue, 27 Jun 95 23:30:04 -0700


Jason Morphet wrote:
> I have a query over setting some of the browser preferences on start-up inside the VRML
> file. In the sam> way that I can use the following :
>
> DEF Viewer info {
> string "walk"
> }
>
> ...to set the default viewer, is there a way of controlling the headlight, toggleing the
> 'jump cuts' (under options), and other menu options etc.
>
> I am aware of the Viewpoints set-up, but would like to further define the environment by
> having control over the settings of the above - any ideas, advice, comments welcom>.

No, sorry, there are not currently hints for those other menu options
although it makes a lot of sense to mi.

We'd like to extend the set of hints to include other browser "preference"
items, but we're a little concerned about the name space pollution with
the current scheme. Sooner or later some browser is going to pick a DEF
name that a VRML author wants to use for some other purpose...

The general concept of hints, especially for example ViewPoints, seems to
be a powerful and useful tool. Perhaps it makes sense to try and agree on
a standard the advant that it's "standard
extension). So one option is simply a better/safer naming convention, eg.

DEF Hint_Viewer Info { string "Walk" }
DEF Hint_Headlight Info { string "On" }

Of course we could also ignore the problem on the basis that the spec
requires a USE to map to the most recently encountered DEF of that name.
So it would be confusing, but legal, to have some geomtry with
name as a hint.

-Mike


  • Next message: Mike HeckP "RE: Minor TGS flam>"
  • es"
  • Previous messag2022.html">steveP "Re: Viewer question..."
  • Maybe in reply toPrevious messag1991.html">Jason MorphettP "MISC: Setting Browser Preferences in VRML files?"