Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Funny thing about matrices
Topic Started: May 9 2009, 10:10 PM (209 Views)
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Well, after not using u3d for about 2 weeks, I decided to start working on my comp submission, and I thought I'd like to suggest that attempting to change the scale of a camera will 1. Scale the world 2. Force U3D to stop rendering the target camera 3. or just plain mess things up.

Besides that, I have an actual question...but I'll hold off on that until I look at Mysteri's examples.

Then all I have to do are shaders and models. Yay!
Blog|EHS
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
skarik
May 9 2009, 10:10 PM
attempting to change the scale of a camera will 1. Scale the world 2. Force U3D to stop rendering the target camera 3. or just plain mess things up.
It should do 1.. If your scaling is 0 along some axis I am not sure what will happen. Would need to have a look at the code. Probably it would not do anything and the camera transformation would remain unchanged. Besides scaling may have some odd effects on lighting. Unlike the Ultimate 3D's shaders the FFP of Direct3D computes lighting in view space. So scaling the camera will effect the range of light sources, which do not use normal mapped lighting.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Quote:
 
Besides scaling may have some odd effects on lighting. Unlike the Ultimate 3D's shaders the FFP of Direct3D computes lighting in view space. So scaling the camera will effect the range of light sources, which do not use normal mapped lighting.


Yeah, that's the only reason I noticed it.

Another thing I noticed is that transforming a translation matrix with a rotation matrix will not result in solely translation matrix, like a vector would be like. That's in fact just like GMD3D.
Blog|EHS
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply