Yeaaaa Zedzeek! I think you didn''t understand what I have been asking... Because you wrote:
"if u go glLoadMatrix( M1 ) the current matrix is M1.
loadmatrix will replace the current matrix completely"
I know that, and I''ve commented this in my last message. What i want, is not to use glLoadMatrix to replace the current Matrix.
I want to use, for example, M1 pointing directly to the memory (as the current matrix).
Because I think it should be fasten, I don''t know.
Thank you again.
An other way using glLoadMatrix
Unless you are loading one million of matrices every frame, i doubt you''ll see a single nanosecond of difference. It''s even more true with T&L.
I''d suggest that you profile your code and find out the real bottleneck of your application, rather than trying to improve something that''s most likely not slowing you down
Y.
I''d suggest that you profile your code and find out the real bottleneck of your application, rather than trying to improve something that''s most likely not slowing you down
Y.
> I want to use, for example, M1 pointing directly to the memory (as the current matrix).
This won''t work, since (as pointed out above), the matrix resides on the GPU, it''s not in normal address space.
This won''t work, since (as pointed out above), the matrix resides on the GPU, it''s not in normal address space.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement