User panel stuff on forum
  4 posts on 1 page  1
Graphics Discussion
2008-03-01, 20:03
Member
119 posts

Registered:
Mar 2007
when i shoot the graphics of the model just goes weird ...

http://img165.imageshack.us/img165/2555/fuhquake170yv6.jpg


http://img165.imageshack.us/img165/1695/fuhquake166qn3.jpg
I will either find a way or make one !
2008-06-03, 21:42
Member
188 posts

Registered:
Jan 2006
No idea, i got the same thing tho, but i don't really care about it
2008-06-04, 04:15
Member
63 posts

Registered:
May 2008
its when u have a large fov but have the model placed where it would be 90 fov

it like when it kicks back the models are hollow
and many v moels dont hace bottom parts to them so u can see thrugh them
2008-06-04, 05:52
Member
357 posts

Registered:
Mar 2006
in fuhquake adjust the value of r_viewmodelsize...


otherwise, if you want to make it look standard then change this in fuhquake

if (ent->flags & RF_WEAPONMODEL)
{
scale = 0.5 + bound(0, r_viewmodelsize.value, 1) / 2;
glTranslatef (paliashdr->scale_origin[0], paliashdr->scale_origin[1], paliashdr->scale_origin[2]);
glScalef (paliashdr->scale[0] * scale, paliashdr->scale[1], paliashdr->scale[2]);
}
else
{
glTranslatef (paliashdr->scale_origin[0], paliashdr->scale_origin[1], paliashdr->scale_origin[2]);
glScalef (paliashdr->scale[0], paliashdr->scale[1], paliashdr->scale[2]);
}

to this

if (ent->flags & RF_WEAPONMODEL)
{
if (scr_fov.value <= 90)
scale = 1.0f;
else
scale = 1.0f / tan(DEG2RAD(scr_fov.value/2));
glTranslatef (paliashdr->scale_origin[0]*scale, paliashdr->scale_origin[1], paliashdr->scale_origin[2]);
glScalef (paliashdr->scale[0] * scale, paliashdr->scale[1], paliashdr->scale[2]);
}
else
{
glTranslatef (paliashdr->scale_origin[0], paliashdr->scale_origin[1], paliashdr->scale_origin[2]);
glScalef (paliashdr->scale[0], paliashdr->scale[1], paliashdr->scale[2]);
}

which will basically make your weapon model size look like the same size no matter what FOV value you use.
  4 posts on 1 page  1