Thread: [TEC] SweetScape 010 Editor
View Single Post
Old 01-31-19, 01:24 PM   #42
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Had to send a possible bug report to SweetScape today!


Run this script and you'll see the problem at line 84 or so.
This does not interfere with the stand alone C++ version I'm working on.
It only interferes with rapid prototype coding.
Given this error? It may show up as I finalize coding the faces stuff.


//------------------------------------------------
//--- 010 Editor Script File
// RAW to object file add in
// Adds the Textures
//
//------------------------------------------------
// all the code for textures coords below
int j, m, q=101, p;
float vt1=-0.00100000000003808065, vt2;






for( j = 0; j < q; j++)
{

vt1=(vt1+0.001);
vt2=-0.01;
m=101;

{
for( p = 0; p < m; p++)
{
vt2=(vt2+0.01);
Printf( "vt %f %f\n", vt1, vt2);

}
}
}
Printf("texture Testing. Error at texture coord 84");

Last edited by Jeff-Groves; 01-31-19 at 01:37 PM.
Jeff-Groves is offline   Reply With Quote