The code that causes the exception was removed, the normals dont update for each frame, I only use GenerateNormals once and I use the same normals for all frames... If I didnt do that, the object would not load because of the exception.
 
The squashed and clipped thing was not intentional at all and doesnt happen on my system. Some one else with a GeForce2 GTS told me he seen something weird and it sounds similar to what you were saying. I dont have this problem on my system (normal GeForce), so its hard to figure out what it is. I'll put the code up soon, so anyone who has this problem can play around with it.
 
Leyland Needham
----- Original Message -----
Sent: Monday, September 10, 2001 8:46 PM
Subject: Re: [JAVA3D] MD2Viewer...

Leyland,
 
That is a great looking example! It ran extremely well on my GeForce II, the only thing I noticed was that at the end of the animation (?) the model gets clipped and then looks like it is squashed down to a vertical line before it disappears. Was this intentional? It looks like quite a cool effect! I couldn't tell if the normals were wrong, but I didn't see any exceptions (I let it run for about 30 seconds).
 
Keep up the good work! Perhaps you can post it on J3D.ORG as a good example of Morph?
 
Sincerely,
 
Daniel Selman
-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Leyland
Sent: Monday, September 10, 2001 8:17 PM
To: [EMAIL PROTECTED]
Subject: MD2Viewer...

I'm testing an MD2Viewer, I plan to release the source code to the viewer and loader after I do some cleaning up. (page+applet+model+texture = 287KB)
 
 
Currently it seems it has a problem with memory and normals. The memory problem ive posted here before. With the normals I've tried using NormalGenerator (with PI for angle) but for some reason the Morph object doesnt like ther results after a few frames, if I do a couple of frames it works if I try to do more then it doesnt like the normals generated and produces an exception, my only guess is that the normals generated are not the same in each frame. I plan to eventually look at the source code of it, and possibly make a custom one depending on how my time goes.
 
Another potential problem, a friend of mine reported that some of the models (like the one linked above) get deformed (in a weird way) and clipped as a result on his computer. I'm not exactly sure why that is but I have not experience myself, im interested in knowing if any one else experiences this.
 
Leyland Needham
 

Reply via email to