|
From: Michael L. <Mic...@hr...> - 2001-08-10 19:50:40
|
OpenVRML works OK for crystal structures if you use a SphereSensor to =
control rotation in your VRML code.So for those of you that are =
desperate to examine your models with OpenVRML, then try this workaround =
(change the url "object,wrl" to your VRML file and adjust the scale =
values if necessary):
#VRML V2.0 utf8
NavigationInfo {
type "EXAMINE"
headlight TRUE
}
DEF ExamineObject Group {
children [
DEF TheObject Transform {
scale 1 1 1 # May need to adjust this
children [
Inline {
url "object.wrl" # Add your own file here
}
]
}
DEF Rotator SphereSensor {}
]
}
ROUTE Rotator.rotation_changed TO TheObject.rotation
Best wishes,
Michael.
p.s. Hope this doesn't lead to anyone putting off plans to implement =
real navigation modes in OpenVRML!
----- Original Message -----=20
>=20
> >> A working (again) 'EXAMINE' mode would be nice for those like me =
who
> >> want to visualize objects, not environments (crystal structures in =
my
> >> case, do not let the .signature fool you).
>=20
> S.K.Bose <bo...@pa...> replied:
>=20
> > I am planning to look these nevigation bugs for "EXAMINE" mode =
including
> > nested 'Viewpoint' problems. Unless somebody else.....
|