Proposal for WWWInclude

Scott Virt Theme Parks ([email protected])
Sat, 27 May 1995 06:22:44 -0700 (PDT)


WWWInclude {
name "" # SFString
description "" # SFString
objects "" # MFString
}

(Alternatively, we could accomplish this through WWWInline as has
somewhat been suggested, though I think we can think of something better
than "hint CACHE". Maybe "use CACHE".)

The most important thing is that the URL is not rendered, merely read for
the DEF declarations.

With the "objects" field we can specify which objects we're interested in
from the relevant URL. So, if we want the china set for the tea room,
the renderer only loads chinaset.wrl when the tea room is rendered (like
when we enter it.) WWWInclude does nothing if it cannot find the URL
(e.g. on a localhost). The renderer could choose to take an object from
the first WWWInclude that mentions it, proceeding to the second and so on
if it's not found.

Perhaps we even want some access to an environmental variable or setting
in a browser.config file that would act like a PATH statement, giving the
first place, second place and so on to look for files with an appropriate
beginning, file://localhostcache/ ??

When you add a new directory of common objects, just add the path to the
config file (maybe the browser has a little menu command to help newbies
do this without having to manually edit the config file).

This should address most concerns?

Adrian

P.S. I'm not sure what "description" would be used for, but I expect
someone can think of a good use?

------ ----- ---- --- -- - -- - ----- ------
Adrian Scott, Ph.D. (for PGP: finger [email protected])
Scott Virtual Theme Parks, [email protected]
http://www.virtpark.com/theme