
PC CosmoPlayer - Using IS with eventIn's
This is a multi-part message in MIME format.
--------------63DE69561372
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi
Wondering whether anyone can help me with a problem I'm having in trying
to get my world to load into PC CosmoPlayer Beta3a (it loads fine into
IRIX CosmoPlayer 1.0.2b2)
I have attached two really short files - the main file (main.wrl) and an
external prototype definition file (part1.wrl). Try loading main.wrl
into PC CP and you should get an error:
" Syntax error occurred at line 10
Prototype has no field 'spinme' "
Which is saying that it doesn't like the line in part1.wrl which reads:
Quote:
> enabled IS spinme
(where spinme is an eventIn)
Apparently this should work fine so it *sounds* like it may be a problem
with the PC version of CosmoPlayer.
Has anyone else experienced this? Is there a known workaround?
Any help/pointers (preferably by email) much appreciated
Cheers
Kevin
--
Kevin Mansell
London Road Tel: +44 (0)1279 402809
Harlow, Essex, UK CM17 9NA Fax: +44 (0)1279 402047
--------------63DE69561372
Content-Type: x-world/x-vrml; name="main.wrl"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="main.wrl"
#VRML V2.0 utf8
EXTERNPROTO GeomPartDef [
eventIn SFBool spinme
] "part1.wrl#GeomPartDef"
Group {
children [
DEF GeomPart GeomPartDef {
},
]
Quote:
},
--------------63DE69561372
Content-Type: x-world/x-vrml; name="part1.wrl"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="part1.wrl"
#VRML V2.0 utf8
PROTO GeomPartDef [
eventIn SFBool spinme
]
{
Transform {
children [
DEF my SphereSensor {
enabled IS spinme
}
]
Quote:
},
},
--------------63DE69561372--