Search found 4 matches

by Nation
Tue Feb 09, 2010 11:27 am
Forum: Beginners Help
Topic: about mWorldViewProj, help!~
Replies: 5
Views: 501

thanks you~~here is the note of irr::core::CMatrix4 in Irrlicht

//! 4x4 matrix. Mostly used as transformation matrix for 3d calculations.
/** The matrix is a D3D style matrix, row major with translations in the 4th row. */

maybe it's a clerical error~ :D
by Nation
Mon Feb 08, 2010 2:12 am
Forum: Beginners Help
Topic: about mWorldViewProj, help!~
Replies: 5
Views: 501

here id the code in HLSL base tutorial: D3DXMATRIX matWorld, matView, matProj; g_pd3dDevice->GetTransform(D3DTS_WORLD, &matWorld); g_pd3dDevice->GetTransform(D3DTS_VIEW, &matView); g_pd3dDevice->GetTransform(D3DTS_PROJECTION, &matProj); D3DXMATRIX matWVP = matWorld * matView * matProj; B...
by Nation
Sun Feb 07, 2010 9:24 am
Forum: Beginners Help
Topic: about mWorldViewProj, help!~
Replies: 5
Views: 501

about mWorldViewProj, help!~

usually, we make the mWorldViewProj by matWorld * matView * matPro,
but I find the project 10.Shaders, here mWorldViewProj is made by matPro * matView * matWorld, why???when i modify the mWorldViewProj by matWorld * matView * matPro, i can't see anything in my screen, thanks~~
by Nation
Thu Feb 04, 2010 10:25 am
Forum: Project Announcements
Topic: MultiByte Language support pack for Irrlicht
Replies: 62
Views: 69433

here is a problem in CGUITTGlyph.cpp
void CGUITTGlyph::cache(u32 idx)
{
.....
...
if (!FT_Load_Glyph (*face,idx,FT_LOAD_NO_HINTING|FT_LOAD_RENDER|FT_LOAD_MONOCHROME)){
...
delete texd16;
//here you forgot to set cached = true, it makes memory waste..
}
}

thanks for your coeds~!:)