Hi,
I was trying
to read a vrml file from a .jar archive in an Applet. I used
"this.getClass().getClassLoader().getResource(file);"
in my code. But the result is
rather confusing: when i visited the applet from a Windows2003 platform the vrml
file can be read and displayed, but when
Hi all,
I am using
Java3d to display VRML models. I use com.sun.j3d.loaders.vrml97.VrmlLoader as
the vrml loader. The VRML models I'm using contains no normal information. My
quesition is: will VRML loader or Java3d creat nomal for the models? And if yes,
how could I change the default s
I met the same problem before. It was solved after I changed the local path
into URL. You can use Applet.getCodeBase to get the the URL of the applet.
-邮件原件-
发件人: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] 代表 Yuefeng Kang
发送时间: 2004年8月10日 0:35
收件人: [EMAIL PROTECTED]
主题: [JA
Thank you, Mona, Alessandro and Gasdia!
Your suggestions work on my computer. I successfully loaded and displayed a
model larger than 20MB. It's really exciting having solved this problem
finally. Thank you all.
But I have one more question: I don't think it's a good idea to ask all the
visitors o
Hi,
I wrote an Applet that reads and displays VRML
files. Everything is fine when the .wrl file is no larger than about 5MB. But when
the total size of the .wrl file and it’s .jpg texture excess 5MB, the JVM
will always throw a “outOfMemory” exception. I’m sure the
physical memory is suf