Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

I have got hknight permission but got one problem

| Inside3d Forums Forum Index -> Modeling

View previous topic :: View next topic
Author | Message
--- | ---
lukas2288 Joined: 14 Jun 2009 Posts: 42 |

Posted: Mon Jul 27, 2009 8:02 am Post subject: I have got hknight permission but got one problem |

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 |

Spirit Joined: 20 Nov 2004 Posts: 476 |

Posted: Mon Jul 27, 2009 8:19 am Post subject: |

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 |

Spike Joined: 05 Nov 2004 Posts: 944 Location: UK |

Posted: Mon Jul 27, 2009 8:38 am Post subject: |

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 |

lukas2288 Joined: 14 Jun 2009 Posts: 42 |

Posted: Mon Jul 27, 2009 9:34 am Post subject: |

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 |

lukas2288 Joined: 14 Jun 2009 Posts: 42 |

Posted: Mon Jul 27, 2009 9:36 am Post subject: |

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 |

Display posts from previous:

| 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