Sign in to follow this  

Please help me )

This topic is 4342 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I'm trying to build my own 3D engine using D3D9 and I'm having a problem involving matrix stacks and lights. I want to make a light stay at a fixed location in my world, but it moves as I move :(( ... If I don't use a matrix stack I achieve this effect, but as soon as I switch back to the matrix stack the light moves along with me :(. I found some explanations at www.opengl.org about matrix stacks and lights but the rules do not seem to aply to D3D as I can't notice any difference. I've searched the net and found nothing envolving matrix stacks and lights under D3D. Does anyone have any experience with this topic?! Please help. I don't want code ... only an idee will do ... at least the mathematical explanation for matrix stacks and light positions ... I'll try to understand myself ... but I need somekind of a starting point ... than k u :)

Share this post


Link to post
Share on other sites

This topic is 4342 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this