PDA

View Full Version : Newbie Problem with render



richard654
08-22-2012, 11:10 AM
In this sea-plane model (converted from MAX to OBJ from turbosquid) I get the breakup of the hull (triangles).

Looks fine in modeler... but when rendered... you see the problem. I've tried changing the smoothing angle, etc.

Other aspects of the model render fine.

Any suggestions, tips, places to research would be greatly appreciated.

LW 11 btw

MANY THANKS.

Sensei
08-22-2012, 11:49 AM
Does it have Vertex Normal Map picked up? (below Smoothing)

richard654
08-22-2012, 11:53 AM
Yes it did.

Sensei
08-22-2012, 11:55 AM
Try turning it off and see if problem is gone (Smoothing on/off check).

When Vertex Map is picked up, Smoothing toggle and angle don't work.

richard654
08-22-2012, 11:58 AM
I had removed all textures (as a test) and smoothing... still get the issue.

Happy to send you a shot if it helps. (take me 15 minutes)

Sensei
08-22-2012, 11:59 AM
You don't need to remove textures, but picking up Vertex Normal [none]..

Sensei
08-22-2012, 12:02 PM
I have made TrueOBJImport plugin
http://www.trueart.pl/?URIType=Directory&URI=Products/Plug-Ins/TrueOBJImport
for such problems with vertex normal maps.
It gives you opportunity to transform normal vector, if the one in vertex normal map is converted incorrectly..

Nangleator
08-22-2012, 12:13 PM
Maybe coplanar polys? Merge Points and Unify might help.

richard654
08-22-2012, 01:06 PM
I'll give that a try - thanks!

richard654
08-22-2012, 01:17 PM
OK. EVERYBODYS RIGHT!!!!

Did some merge points, unifies, THEN turned off the vertex normal maps and BINGO. I'm cookin' with gas again!

Woo hoo! Thank you all!

richard654
08-22-2012, 01:21 PM
If I told you the problem involves the perspective camera compared to the classic camera would you think me a liar?

Sensei
08-22-2012, 10:07 PM
Not at all. It's one of signs that OBJ wasn't converted properly.
Classic camera is using scan-line.
But Perspective camera is doing ray-tracing, and while ray is traveling in the scene, there is done dot product between ray direction and triangle normal geometric vector. If polygon is flipped it's causing problem.

Attach OBJ if you can, and we will see whether TrueOBJImport will load it better.

richard654
08-24-2012, 01:51 PM
Sensei -

I've attached the model as presented to me (before I screwed around with it).

Any help /advice you can offer is FAB. The boss guy is breathing. (I've even tried to contact the original author... but they're in Spain.)

Sensei
08-24-2012, 02:03 PM
But it's Max... somebody with LW only won't open it...

I thought that you will attach .obj..

richard654
08-24-2012, 02:10 PM
A long day... brain dead. Not a good combination for 3d. :)

Here is the converted file.

Sensei
08-24-2012, 02:32 PM
Looks like LW v11 still doesn't import OBJ properly (normal vectors are screwed, so light doesn't shade it properly, so result is blackish object)...

but True OBJ Import plugin worked fine (it's this white nice one):

http://forums.newtek.com/attachment.php?attachmentid=106493&stc=1&d=1345840090

http://forums.newtek.com/attachment.php?attachmentid=106494&stc=1&d=1345840090

http://forums.newtek.com/attachment.php?attachmentid=106495&stc=1&d=1345840090

Nangleator
08-24-2012, 02:34 PM
I saw some nonplanar tris.

You can't explain that!

Sensei
08-24-2012, 02:39 PM
They're triangles pretending 2-point polys (two points in the same position) = wires.

richard654
08-25-2012, 12:00 PM
Sensei - Just purchased the plugin!

Any way you could send me the converted file YOU made? (Save me some time!)

Thanks!

Sensei
08-25-2012, 01:02 PM
Check e-mail.

I can attach model, after all I have it on disk, but it requires TrueOBJImport node, which is part of plug-in..

richard654
08-25-2012, 01:52 PM
Just waiting for the download. :)

Sensei
08-25-2012, 02:53 PM
Check e-mail.

The first rule in importing OBJ - don't modify model in Modeler - unless you know what you are doing ;)

It applies as well to LW built-in OBJ import as TrueOBJImport.

I swapped normals in X axis in TrueOBJImport node, and centered and rotated entire geometry 90 degree. Moved light around object and result looked good.