jPCT - a 3d engine for Java > Bugs

Billboarding ignores parent rotations

(1/5) > >>

paulscode:
I don't know if this is a bug or if it is intentional, but I thought I would point it out just in case.  Billboarding does not take an Object3D's parents' rotations into account (i.e. when rotating the parent, the child Object3D behaves as if it were BILLBOARDING_DISABLED).  Subsequent movements of the camera then result in the object auto-aligning to a direction other than the camera.

EgonOlsen:
Do you have a test case for this? There once was a problem with bill boarding and parent object but that should have been fixed in 1.15. You may try to set Config.oldStyleBillBoarding to true and see if that changes anything (or verify that it is actually false, which should be the default).

EgonOlsen:
This is the old thread talking about the problem. So at least something has been fixed...: http://www.jpct.net/forum2/index.php/topic,960.0.html

EgonOlsen:
You may also try to call Object3D.setMatrixCacheUsage(false);
Maybe something is wrong with that one...

paulscode:
I'm putting together a simple test case and I'll post it in a few minutes.  I'll try out your suggestions and post the results as well.

Navigation

[0] Message Index

[#] Next page

Go to full version