
(click here for full size)
That's better!
Seems CuteAlien was right: it needs mirroring on the X axis and then flipping the normals.
@hybrid: I 'll send you a new patch about this.
EDIT: patch sent.

Seems CuteAlien was right: it needs mirroring on the X axis and then flipping the normals.
Yep. :pNope.
Sorry not to credit you. I must have missed it...vermeer wrote:Seems CuteAlien was right: it needs mirroring on the X axis and then flipping the normals.
And me too. :p
If you mean the normals issue, then "Nope"vermeer wrote:Yep. :pNope.
Code: Select all
case 'N':
if ( 0 != pCurrMaterial )
{
switch(pBufPtr[1])
{
case 's': // Ns - shininess
{
const s32 COLOR_BUFFER_LENGTH = 16;
c8 nsStr[COLOR_BUFFER_LENGTH];
pBufPtr = goAndCopyNextWord(nsStr, pBufPtr, COLOR_BUFFER_LENGTH, pBufEnd);
f32 shininessValue = core::fast_atof(nsStr);
// wavefront shininess is from [0, 1000], so scale for OpenGL
shininessValue *= 0.128;
pCurrMaterial->material.Shininess = shininessValue;
break;
}
}
}
pBufPtr = goNextLine(pBufPtr, pBufEnd);
break;
Sorry Sammy, i think you will have to try it out. Mostly the .obj format which different programs export looks similar, but there a minor differences so there can be problems sometimes.imagination304 wrote:Hi all,
Could this tool be used for poser .obj?
Thanks in advance
Sammy
Code: Select all
SObjMtl(const SObjMtl& o) : material(o.material), name(o.name), illumination(o.illumination) {}