Inside3D!
     

I have got hknight permission but got one problem

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Modeling
View previous topic :: View next topic  
Author Message
lukas2288



Joined: 14 Jun 2009
Posts: 42

PostPosted: Mon Jul 27, 2009 8:02 am    Post subject: I have got hknight permission but got one problem Reply with quote

So i have got a hellknight model permission.I have already code him but when i load the model in-game the axe is visible on the left side but on thel right side not.Here is picture so can somebody help me how can i fix this problem?
Back to top
View user's profile Send private message
Spirit



Joined: 20 Nov 2004
Posts: 476

PostPosted: Mon Jul 27, 2009 8:19 am    Post subject: Reply with quote

Holy crap, that is amazing.

Seems like an alpha transparency issue to me (also on his "wings"). Maybe the texture for the axe blades is only applied to one side or the other side is transparent in the texture because of some error?

PS: Would you be awesome and write a tutorial on how to get UT3 models into (that format you are using) with all the code (are those the animations?) and stuff? It would be a great initiative.
_________________
Quake Maps
Back to top
View user's profile Send private message Visit poster's website
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Mon Jul 27, 2009 8:38 am    Post subject: Reply with quote

you need to disable culling for that polygon.
cos glquake only draws one side of it.

If you're using an engine that supports q3 shaders, you can set the axe as a separate (md3?) surface and disable culling individually. You can also set the wings+axe to be alpha tested or blended... or both.

On the other hand, the generic way to fix that is to add an extra polygon facing the other way, but you may want to be lazy and set gl_cull 0. Which is really lame, and it won't fix the huge blocks of blackness.

Basically the engine assumes that its a fully enclosed, fully solid model. With original glquake there is no way to tell it otherwise.
With DP+FTE you can use a q3 shader to fix it. With other custom engines you might be able to set .alpha to 0.99 or something high that isn't quite 1 in order to encourage it to blend away the blackness.
gl_cull will affect how every model is drawn, of course. Not just yours.
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
lukas2288



Joined: 14 Jun 2009
Posts: 42

PostPosted: Mon Jul 27, 2009 9:34 am    Post subject: Reply with quote

Spirit wrote:
Holy crap, that is amazing.

Seems like an alpha transparency issue to me (also on his "wings"). Maybe the texture for the axe blades is only applied to one side or the other side is transparent in the texture because of some error?

PS: Would you be awesome and write a tutorial on how to get UT3 models into (that format you are using) with all the code (are those the animations?) and stuff? It would be a great initiative.


Extract from animations folder models with "umodel" into md5 format,pone the md5mesh and each of md5anim in 3d studio max with md5 import plugin.Export them into half life smd(needs export plugin) and with dpmodel convert them to md3 or dpm.
Back to top
View user's profile Send private message
lukas2288



Joined: 14 Jun 2009
Posts: 42

PostPosted: Mon Jul 27, 2009 9:36 am    Post subject: Reply with quote

Spike wrote:
you need to disable culling for that polygon.
cos glquake only draws one side of it.

If you're using an engine that supports q3 shaders, you can set the axe as a separate (md3?) surface and disable culling individually. You can also set the wings+axe to be alpha tested or blended... or both.

On the other hand, the generic way to fix that is to add an extra polygon facing the other way, but you may want to be lazy and set gl_cull 0. Which is really lame, and it won't fix the huge blocks of blackness.

Basically the engine assumes that its a fully enclosed, fully solid model. With original glquake there is no way to tell it otherwise.
With DP+FTE you can use a q3 shader to fix it. With other custom engines you might be able to set .alpha to 0.99 or something high that isn't quite 1 in order to encourage it to blend away the blackness.
gl_cull will affect how every model is drawn, of course. Not just yours.


If i send to you the model can you make it please?Or how can i set the q3shader?It is in md3 format.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Modeling All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group