WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-27-2003, 04:50 PM
david david is offline
Member
 
Join Date: Mar 2003
Posts: 23
Well after a few test I am more and more puzzled. What Andy told me was that the noprojection() method would disable the perspective projection matrix by setting it to the identity. So I called the method and tried to update the viewing matrix by :
1- creating the matrix R generated by the OGL code glfrustrum(l,r,b,t,n,f). I found its expression in the red OGL book (appendix F of second edition) This is the perspective matrix that should have been set to the identity with viz.noprojection()
2- updating objects and/or main view point with R hoping that I will get the same result as when I just load the objects without the command noprojection()

But with none of these cases I get what I expect... Which brings those questions:

Where exactly is the viewing matrix hidden? Is it really what I am updating when I say <child>.update(matrix) or <viewpoint>.update(matrix)?
Is the perspective matrix right before the view matrix in the order of matrices multiplications?
Is the matrix in the red book correct and if yes, is it consistent with what viz uses?
Did I miss an important point?

Thanks a lot for trying to answer those questions

David
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC