Jump to content
Sign in to follow this  
scubaman3D

RPT warning question

Recommended Posts

I'm getting this error and cant figure out what is causing it. Does anybody have any clues?

The model has only 1 texture mapped to it and 1 rvmat. There is only 1 uv set needed and no 2nd uv set exists.

Warning: barriers\colorado.p3d:0: 2nd UV set needed, but not defined

Warning: barriers\colorado.p3d:1: 2nd UV set needed, but not defined

Warning: barriers\colorado.p3d:2: 2nd UV set needed, but not defined

Warning: barriers\colorado.p3d:3: 2nd UV set needed, but not defined

2nd UV set needed, but not defined in ReportStack not available

Share this post


Link to post
Share on other sites

This will be because the .rvmat you have it pointing at is one that requires 2 UV sets.

At a guess you're perhaps using an .rvmat that specifies multi or super shader.

If you post your .rvmat we'll go from there eh?

Cheers, Sy.

Share this post


Link to post
Share on other sites

hey sy! It appears you may be right when it comes to the detail map and AS map lines...they're referencing "tex1"

RVMAT:

class StageTI

{

texture="CA\Data_f\default_ti_ca.tga";

};

ambient[]={1.000000,1.000000,1.000000,0.990000};

diffuse[]={1.000000,1.000000,1.000000,0.990000};

forcedDiffuse[]={0.000000,0.000000,0.000000,1.000000};

emmisive[]={0.000000,0.000000,0.000000,1.000000};

specular[]={0.989000,0.989000,0.989000,0.990000};

specularPower=220.000000;

PixelShaderID="Super";

VertexShaderID="Super";

class Stage1

{

texture="barriers\alaska_nohq.tga";

uvSource="tex";

class uvTransform

{

aside[]={1.000000,0.000000,0.000000};

up[]={0.000000,1.000000,0.000000};

dir[]={0.000000,0.000000,0.000000};

pos[]={0.000000,0.000000,0.000000};

};

};

class Stage2

{

texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";

uvSource="tex1";

class uvTransform

{

aside[]={10.000000,0.000000,0.000000};

up[]={0.000000,10.000000,0.000000};

dir[]={0.000000,0.000000,0.000000};

pos[]={0.000000,0.000000,0.000000};

};

};

class Stage3

{

texture="#(argb,8,8,3)color(0,0,0,0,MC)";

uvSource="tex";

class uvTransform

{

aside[]={1.000000,0.000000,0.000000};

up[]={0.000000,1.000000,0.000000};

dir[]={0.000000,0.000000,0.000000};

pos[]={0.000000,0.000000,0.000000};

};

};

class Stage4

{

texture="#(argb,8,8,3)color(1,1,1,1,AS)";

uvSource="tex1";

class uvTransform

{

aside[]={1.000000,0.000000,0.000000};

up[]={0.000000,1.000000,0.000000};

dir[]={0.000000,0.000000,1.000000};

pos[]={0.000000,0.000000,1.000000};

};

};

class Stage5

{

texture="barriers\u_bunker_smdi.tga";

uvSource="tex";

class uvTransform

{

aside[]={1.000000,0.000000,0.000000};

up[]={0.000000,1.000000,0.000000};

dir[]={0.000000,0.000000,1.000000};

pos[]={0.000000,0.000000,1.000000};

};

};

class Stage6

{

texture="#(ai,64,64,1)fresnel(2.0,0.1)";

uvSource="none";

};

class Stage7

{

texture="ca\Data\env_land_co.tga";

uvSource="none";

};

Share this post


Link to post
Share on other sites

Hey mate,

Yeah... just change your 'tex1' in that .rvmat to 'tex'. tex=UVSet0 in a p3dm, tex1=UVSet1 etc., etc.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×