Isometric Tiling

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
dbest
Posts: 10
Joined: Wed Jan 02, 2008 4:45 pm

Isometric Tiling

Post by dbest »

I have been lurking around the forum for some time now, and my question has to do with isometric tiling. (Not again, you guys would say.) I searched the forums for a suitable example for isometric tiling, but could not find any. Then I found the article by John Connors on the wiki and decided to try it out, and this is the error i get:

In function `int main()' `irr::f32 irr::core::matrix4::M[16]' is private
within this context.

for this code

Code: Select all

matrix4 projMatrix;
      projMatrix.makeIdentity();
      projMatrix.M[0] = 1.0f;
      projMatrix.M[8] = -1.0f;
      projMatrix.M[1] = 0.5f;
      projMatrix.M[5] = 1.0f;
      projMatrix.M[9] = 0.5f;
      projMatrix.M[10] = 0.0;
The saigumi.net is also not available, i read that its a tutorial for orthogonal projection.

So any help with isometric tiling would be very helpful.
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

That member was made private in a previous release. There is a member operator[] that you can use to access specific elements in the matrix. BTW, you don't have to call setIdentity() on a default constructed matrix, it should be set to identity already by the default ctor.
dbest
Posts: 10
Joined: Wed Jan 02, 2008 4:45 pm

Post by dbest »

Thanks for your help vitek, got the tutorial to work...


Does anyone have the Orthogonal 3D Engine tutorial posted on the main site, as the site hosting then has vanished.
Post Reply