View Single Post
Old 05-23-07, 02:59 PM   #24
Mraah
Engineer
 
Join Date: Apr 2007
Location: Conning Tower - repairing the radar.
Posts: 200
Downloads: 8
Uploads: 0
Default

Quote:
Originally Posted by Redwine
Hi Mraah...

Is posible to move the text "Range XXXX" a little bit down ?

Look at this...

very nice Redwine! Nice clear bearing text.

I don't think you can move the text. So far the TEXT and SWEEP appear to be linked by a common TEXCOORD in the fx files ... however it's worth an experiment. Look in the RadarVS.fx file .... I don't know, but changing something there might bump the text around maybe?

VS_OUT main(VS_IN In)
{
VS_OUT Out;
//Out.ProjPos=mul(matProj,In.Pos);
Out.ProjPos.x=sign(In.Pos.x);
Out.ProjPos.y=sign(In.Pos.y);
Out.ProjPos.z=1;
Out.ProjPos.w=1;
Out.Tex0=In.Tex0;
Out.Tex1=In.Tex1;
Out.Tex2=In.Tex2+rand.xy;
Out.Tex3=In.Tex3;
// Out.CSPos=Out.ProjPos.xy/Out.ProjPos.w;
return Out;


EDIT : You know, off the top of my head it's probably not able to be moved. As far as I understand I believe there's a source code that builds the sweep and defines the text location. That source code is probably imbedded somewhere.

Last edited by Mraah; 05-23-07 at 03:10 PM.
Mraah is offline   Reply With Quote