Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Localisation in WIN32 , fails Pin
Waldermort21-Aug-06 18:21
Waldermort21-Aug-06 18:21 
GeneralRe: Localisation in WIN32 , fails Pin
Joe Woodbury21-Aug-06 19:08
professionalJoe Woodbury21-Aug-06 19:08 
GeneralRe: Localisation in WIN32 , fails Pin
Waldermort21-Aug-06 19:15
Waldermort21-Aug-06 19:15 
GeneralRe: Localisation in WIN32 , fails Pin
Joe Woodbury21-Aug-06 19:21
professionalJoe Woodbury21-Aug-06 19:21 
QuestionPerspective Projection Opengl Pin
jk chan21-Aug-06 16:41
jk chan21-Aug-06 16:41 
AnswerRe: Perspective Projection Opengl Pin
Steve Echols21-Aug-06 18:52
Steve Echols21-Aug-06 18:52 
GeneralRe: Perspective Projection Opengl Pin
jk chan21-Aug-06 19:17
jk chan21-Aug-06 19:17 
GeneralRe: Perspective Projection Opengl Pin
Steve Echols21-Aug-06 19:52
Steve Echols21-Aug-06 19:52 
krishnadevank wrote:
For a perspective projection the coordiantes are normalised. ie (-1,0) , (1,0)is equal to left to right through the Orgin .. is it ?


Yes, if your glScale is setup normally. But because of perspective, (-1, 0, 0)- (1, 0, 0) will not visually equal (0, 0, 1)-(0, 0, -1).

krishnadevank wrote:
I want to know the units of this near and Far parameters ?
is that also normalised coordinates ?


OpenGL is inherently unit-less - you define what 1 means (i.e. it could be an inch, foot, meter, or an A.U.)

The near and far planes, have to do with the z-buffer, which is non-linear. Objects up close have more precision.

Google on gluPerspective, z-fighting and the depth buffer for more info. Here's some info (not a very pretty site): http://www.sjbaker.org/steve/omniv/love_your_z_buffer.html[^] (My old computer died, otherwise I'd provide you with a better link Smile | :) ).



- S
50 cups of coffee and you know it's on!

GeneralRe: Perspective Projection Opengl Pin
jk chan21-Aug-06 20:21
jk chan21-Aug-06 20:21 
GeneralRe: Perspective Projection Opengl Pin
Steve Echols21-Aug-06 20:53
Steve Echols21-Aug-06 20:53 
GeneralRe: Perspective Projection Opengl Pin
jk chan21-Aug-06 20:59
jk chan21-Aug-06 20:59 
GeneralRe: Perspective Projection Opengl Pin
jk chan22-Aug-06 14:13
jk chan22-Aug-06 14:13 
QuestionWhen use Bitmap::Clone(), I meet a problem.(about GDI+) Pin
samfromcn21-Aug-06 16:27
samfromcn21-Aug-06 16:27 
AnswerRe: When use Bitmap::Clone(), I meet a problem.(about GDI+) Pin
Justin Tay21-Aug-06 17:24
Justin Tay21-Aug-06 17:24 
QuestionHow to correctly send Telnet codes? Pin
Lord Kixdemp21-Aug-06 13:47
Lord Kixdemp21-Aug-06 13:47 
AnswerRe: How to correctly send Telnet codes? Pin
markkuk21-Aug-06 23:33
markkuk21-Aug-06 23:33 
GeneralRe: How to correctly send Telnet codes? Pin
Lord Kixdemp22-Aug-06 4:54
Lord Kixdemp22-Aug-06 4:54 
AnswerRe: How to correctly send Telnet codes? Pin
markkuk22-Aug-06 11:42
markkuk22-Aug-06 11:42 
QuestionGDI+ problem initialize. Pin
mostafa_pasha21-Aug-06 12:25
mostafa_pasha21-Aug-06 12:25 
AnswerRe: GDI+ problem initialize. Pin
mostafa_pasha21-Aug-06 12:41
mostafa_pasha21-Aug-06 12:41 
QuestionMixing frameworks and languages Pin
Andre xxxxxxx21-Aug-06 12:24
Andre xxxxxxx21-Aug-06 12:24 
AnswerRe: Mixing frameworks and languages Pin
Joe Woodbury21-Aug-06 17:53
professionalJoe Woodbury21-Aug-06 17:53 
QuestionUser Control \ MFC Pin
Louai Haimour21-Aug-06 11:32
Louai Haimour21-Aug-06 11:32 
AnswerRe: User Control \ MFC Pin
Christian Graus21-Aug-06 18:39
protectorChristian Graus21-Aug-06 18:39 
GeneralRe: User Control \ MFC Pin
Louai Haimour27-Aug-06 8:56
Louai Haimour27-Aug-06 8:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.