parallax mapping and .X model

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
Mutter
Posts: 11
Joined: Mon Jul 10, 2006 6:05 pm

parallax mapping and .X model

Post by Mutter »

if i load my .x model as IAnimatedMeshSceneNode the garoud shading is working (the smooth groups).

as soon as im using parallax mapping and load my .x model the same way as in the parallax tutorial garoud shading is not working.

can this be?
und wieder ein deutscher :)
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I think gouraud shading is till working, but normals are not smoothed anymore. By searching the forums you'll find one or two threads discussing about tangent calculation without loosing smoothed normals which is what you might want to implement.
Mutter
Posts: 11
Joined: Mon Jul 10, 2006 6:05 pm

hmmmm

Post by Mutter »

thx for answer.

yes...thats it...i searched for it but only found too complex things about that...im not really good in changing code in irrlicht...i only whant to use irrlicht. :(
So without changing code in irrlicht it is not possible?

i thought this would help but why is

Code: Select all

smgr->getMeshManipulator()->recalculateNormals(tangentMesh, true);
not smoothing it?
und wieder ein deutscher :)
Post Reply