Hello,
I've got a simple (stupid?) question.
I load several shapes from a single obj file.
to get the name of these objects I use the
following code, but it returns each name in lower-case.
How to get the original name (this point is vital
for my app).
Thanks in advance.
objs=
s.getNamedObjects();
Set keys = objs.keySet(); Iterator ite = keys.iterator(); while (ite.hasNext()){ Object obj3d = ite.next(); Shape3D node = (Shape3D) objs.get(obj3d); String nameObj =(String) obj3d; node.setUserData(nameObj);
}
|
- [JAVA3D] Canvas3D and JBuilder Olivier Tassy
- [JAVA3D] Canvas3D and JBuilder Sandra Arthurs