Tangents stream is not supported for given vertex layout!

SCS Software ATS and ETS2 editing using ZModeler3 filter. Models, Materials, Animation.

Moderators: Oleg, _RicH_

Tangents stream is not supported for given vertex layout!

Postby allabouttrucksim » Sun Apr 26, 2015 1:25 am

Hey everyone,
I've got a big problem with two models of mine. Since Beta-Patch 1.17.x the game always shows this error in the log file if you get near one of the models:

<ERROR> Tangents stream is not supported for given vertex layout! Model: /model/sign/ledbruecken_baukasten/ledbruecke_gelaender.pmg, piece: 1

The model is build out of cylinders you can create via ZmModeler 3, no other polygons or something.

Until 1.17.x came up there were no problems like this. May someone of you has an idea how to fix this. :(

Thank you :)
allabouttrucksim
 
Posts: 8
Joined: Mon Nov 04, 2013 3:12 am

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Sun Apr 26, 2015 4:53 am

As soon as I get retail patch 1.17, I'll check this up and fix the problem.
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby allabouttrucksim » Wed Apr 29, 2015 9:19 am

Thank you for your reply and your work!
allabouttrucksim
 
Posts: 8
Joined: Mon Nov 04, 2013 3:12 am

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Wed Apr 29, 2015 10:08 am

do you have any model that I can put into a mod and test quickly?

I've tried a quick import/export of daf exterior model and got no relative warnings/errors on 1.17.

May be the problem is model-specific?
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby wagad25 » Wed Apr 29, 2015 1:05 pm

Also happens to me.
Here a quick model. http://www.mediafire.com/download/0g3xj ... x/oleg.scs
It is a prefab.
User avatar
wagad25
 
Posts: 25
Joined: Fri Sep 21, 2012 2:20 am
Location: Brazil, Santa Catarina, Tubarão

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Wed Apr 29, 2015 11:57 pm

check the update.
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby allabouttrucksim » Tue May 05, 2015 10:04 am

Thanks a lot!
Everything's running perfectely again :)
allabouttrucksim
 
Posts: 8
Joined: Mon Nov 04, 2013 3:12 am

Re: Tangents stream is not supported for given vertex layout

Postby HomerS » Thu Jul 23, 2015 8:09 pm

I have the same problem in version 1.19.
I create three model and two throws this error.

<ERROR> Tangents stream is not supported for given vertex layout! Model: /model/moje/truck/truck_daf_e6.pmg, piece: 14
<ERROR> Tangents stream is not supported for given vertex layout! Model: /model/moje/truck/truck_iveco_hiway.pmg, piece: 9
HomerS
 
Posts: 16
Joined: Sun Feb 23, 2014 2:06 pm

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Thu Jul 23, 2015 10:39 pm

are you running the latest update of ZM?
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby HomerS » Thu Jul 23, 2015 11:14 pm

yes,Today I did update
HomerS
 
Posts: 16
Joined: Sun Feb 23, 2014 2:06 pm

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Thu Jul 23, 2015 11:38 pm

do you have a material with bump-map? if you do, an object should have "tangents" in vertices format. you can enable tangents on all objects, no problem on that. zmod will not export tangents if not needed.
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby HomerS » Thu Jul 23, 2015 11:49 pm

I enable tangents on all objects and problem is still unsolved
HomerS
 
Posts: 16
Joined: Sun Feb 23, 2014 2:06 pm

Re: Tangents stream is not supported for given vertex layout

Postby HomerS » Fri Jul 24, 2015 3:14 am

solved
HomerS
 
Posts: 16
Joined: Sun Feb 23, 2014 2:06 pm

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Fri Jul 24, 2015 3:22 am

what was the problem in? I remind that I fixed it already, would like to know whether I need pay more attention to this issue.
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby HomerS » Fri Jul 24, 2015 3:44 am

I create new material in material browser without bump-map and disable tangents
HomerS
 
Posts: 16
Joined: Sun Feb 23, 2014 2:06 pm

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Fri Jul 24, 2015 4:04 am

can you show me a configuration of old material that produced an error on export?
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby HomerS » Fri Jul 24, 2015 4:11 am

Old: Bump+Diff+Spec+Env
New: Diffuse+Spec+Env
no error on export
HomerS
 
Posts: 16
Joined: Sun Feb 23, 2014 2:06 pm

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Fri Jul 24, 2015 4:22 am

a screenshot of BUMPMAP page of old configuration? have you used a bump texture there or left the page with no texture assigned?
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby HomerS » Fri Jul 24, 2015 4:37 am

I don't use bump texture
HomerS
 
Posts: 16
Joined: Sun Feb 23, 2014 2:06 pm

Re: Tangents stream is not supported for given vertex layout

Postby Elitesquad Modz » Sat Jul 02, 2016 4:19 am

Hello everybody, how to delete the bump from the material?
Elitesquad Modz
 
Posts: 2
Joined: Mon Sep 14, 2015 5:14 am

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Sat Jul 02, 2016 12:05 pm

assign a different system shader that has no bump on it. You can assign system shader by selecting a material(s) and double-clicking on a desired shader in a left tree-view of materials browser: Shaders->System->...
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby siebel3d » Wed Dec 21, 2016 6:59 am

I tried all this things you said before. I started with a Bump material and tangents enable, then I trade the material for Diff+Spec+Env and the error still there, then I tried to disable tangents and nothing changed. There's anything else I can do?
ALWAYS WITH AN OLD TRUCK
Facebook.com/siebel3d
User avatar
siebel3d
 
Posts: 8
Joined: Wed Dec 21, 2016 6:52 am
Location: Videira - SC, Brazil

Re: Tangents stream is not supported for given vertex layout

Postby Oleg » Wed Dec 21, 2016 10:01 am

I don't know the exact reason for this error message to appear, but it looks like one of two case: material setup requires tangents and model/geometry fragment has no them; or material setup does not require tangents, but model is exported with tangents. In any case, model/geometry setup should match your material needs. Note, this error does not indicate geometry object (but probably should indicate a material), so all objects using problematic material should be inspected.

first of all, you can't explicitly specify whether your game material is bump-mapped or not, the filter will determine it using material setup options. if you've assigned a shader that has BUMPMAP in it, the exported material will be bump-configured, and tsnmap, tsnmap16, tsnmapuv, tsnmapuv16 will appear in material file. You should manually check availability of such a material version for a given shader, as some of game shaders actually offer bump-mapping and most don't have this option.

second, if you don't use bump-mapping on some specific material, I suggest to make a test export with tangents disabled on all scene objects (select all objects, properties -> mesh -> vertices -> format -> tangents = off; apply). Then export and test in game. if everything is ok, start enabling tangents on objects that actually need them and make test export on each iteration.
User avatar
Oleg
Site Admin
 
Posts: 7763
Joined: Fri Feb 06, 2004 3:54 am

Re: Tangents stream is not supported for given vertex layout

Postby siebel3d » Wed Dec 21, 2016 10:43 am

I guess it was a bug in material. I just tried to put other inside the ZM. Now I loaded other material from a folder, and then It worked.
Image
ALWAYS WITH AN OLD TRUCK
Facebook.com/siebel3d
User avatar
siebel3d
 
Posts: 8
Joined: Wed Dec 21, 2016 6:52 am
Location: Videira - SC, Brazil

Re: Tangents stream is not supported for given vertex layout

Postby Elitesquad Modz » Mon Jun 12, 2017 8:39 am

I have the same error right now!
Elitesquad Modz
 
Posts: 2
Joined: Mon Sep 14, 2015 5:14 am

Next

Return to ATS and ETS2 by SCS Software

Who is online

Users browsing this forum: No registered users and 1 guest