Jump to content
Sign in to follow this  
L!nk07

Visitor3 Import sat&mask textures help!

Recommended Posts

Here is my problem:

I want to create a simple map but for some reason as soon as Visitor3 shows the progress bar saying "Importing Satellite Data" it crashes. I thought my texture sizes were wrong but I checked that. Maybe I missed something?... Anyway, buldozer runs perfectly before I starting import the textures. So the problem has to have something to do with the textures etc.

errorvisitor3.jpg

System Specs:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

Windows Vista 64bit

2GB RAM

Intel Q6600 2.4Ghz Core 2 Quad

ASUS GeForce 8800GTS

Visitor3 Project Details:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

Terrain grid size: 256x256

Terrain cell size: 10

Terrain size: 2560x2560

Calculator Image Size : 2560x2560

Texture layers Texture Size : 40.0x40.0m

mask_lco.png: 2560x2560

sat_lco.png: 2560x2560

layers.cfg

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Layers

{

class sandstones

{

texture = "ca\cti_desertconflict\data\sandstones_mco.png";

material="ca\cti_desertconflict\data\sandstones.rvmat";

};

class grass

{

texture = "ca\cti_desertconflict\data\grass_mco.png";

material="ca\cti_desertconflict\data\grass.rvmat";

};

class rockgrass

{

texture = "ca\cti_desertconflict\data\rockgrass_mco.png";

material="ca\cti_desertconflict\data\rockgrass.rvmat";

};

class sandgrass

{

texture = "ca\cti_desertconflict\data\sandgrass_mco.png";

material="ca\cti_desertconflict\data\sandgrass.rvmat";

};

};

class Legend

{

picture="ca\cti_desertconflict\source\mapLegend.png";

class Colors

{

/// color names should correspond to surface layer names

sandstones[]={{255,255,0}};

grass[]={{0,255,0}};

rockgrass[]={{99,55,0}};

sandgrass[]={{0,0,255}};

};

};

grass.rvmat

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">ambient[] = {0.9,0.9,0.9,1};

diffuse[] = {0.9,0.9,0.9,1};

forcedDiffuse[] = {0.02,0.02,0.02,1};

specular[] = {0.0,0.0,0.0,0};

specularPower = 1; // specular interpolator must be enabled

emmisive[] = {0,0,0,0};

PixelShaderID = "NormalMapDiffuse";

VertexShaderID = "NormalMapDiffuseAlpha";

//surfaceInfo = "landtext\bumps.bisurf";

class Stage1

{ // normal map

 texture="ca\cti_desertconflict\Data\grass_detail_nohq.png";

 uvSource="tex";

 class uvTransform

 {

   aside[] = {10,0,0};

   up[]    = {0,10,0};

   dir[]   = {0,0,10};

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

  };

};

class Stage2

{

 texture="ca\cti_desertconflict\Data\grass_detail_co.png";

 uvSource="tex";

 class uvTransform

 {

   aside[] = {10,0,0};

   up[]    = {0,10,0};

   dir[]   = {0,0,10};

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

  };

};

Please help me. I there is more information you need, just let me know and I will add it.

L!nk out...

Share this post


Link to post
Share on other sites

your project folder shouldnt be in the ca folder, put your project folder in the p drive. change your paths removing ca\ . your mask and sat images must be in 8 bit color non interlaced. only image that must be 16 bit interlaced is your terrain.png

Share this post


Link to post
Share on other sites

Thank you rstratton!

That worked. Can't believe it was that simple!! I blame the tutorial I used because it said it has to be there. sigh...

Thanks alot again!

L!nk out.

Share this post


Link to post
Share on other sites

Some of the early User made tutorials have errors, but you can't really blame them, they were writing them starting from zero .......

But at least they broke ground for us <----- I made a funny rofl.gif

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  

×