Help with normals...

Blitz3D Forums/Blitz3D Programming/Help with normals...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think you need the -1 in this bit of code to parse out the index of the normal to be used by this vertex.

If ug>2 Then
   tmp_vn4% = Int(ParseEntry(P4$,2,"/"));-1
   OBJ_New_VNF(Int(vtx4#), tmp_vn4%)
EndIf


remove the semi-colon and test it.