FFP Shader not work in A 7.84 Extra?

Posted By: bart_the_13th

FFP Shader not work in A 7.84 Extra? - 07/02/10 12:50

Well, I never realize this problem until I publish my project to exe file. It seems that the game always give me error W1550 after I compile it to exe. The game runs fine in the SED or WED.

The second problem actually happens since the A7.82. The bone rotate didnt work right. Well it works but only to the shadow and the vertex, yes, the shadow rotates and the ent_getvertex work just fine, but the visible model just doesnt rotate with the bone. I think it has something to do with the vertex weighting since it only works with Comm or above, but not Extra and below.

I have to switch back to A7.80 and everything went just normal(fortunately I still have the installation files grin )
Posted By: jcl

Re: FFP Shader not work in A 7.84 Extra? - 07/02/10 13:39

Like all errors, W1550 is described in the manual - it tells you the reason much better than I could. You can look up all error messages here: http://manual.3dgamestudio.net/engineerrors.htm

The bones issue is another matter, but I can not confirm such problem. I'd need an example or demo for looking into this.

Posted By: William

Re: FFP Shader not work in A 7.84 Extra? - 07/07/10 03:20

I also receive this problem. It is the exact same bone problem that we had a long time ago. Basically, if you have two of the same models, and you can see both of them on the screen at the same time, then their bone animations will not show properly. However, all the vec_for_vertex ect commands are proper.

So if you have two turret weapons on the screen, and you are moving the bone of one, it will show the animation fine until you can see that other turret weapon which shares the same model. Once you see the other turret weapon, the one you are controlling will stop moving, or it will copy another model of the same types animation currently on screen.

I believe the fix for this before was setting a model like so:

my.u = 0.001; my.v = 0.001;

However, I tried this, and it no longer works. Please fix this as soon as possible.
Posted By: jcl

Re: FFP Shader not work in A 7.84 Extra? - 07/07/10 08:15

No, I can not confirm your problem either. Also, other users would certainly have noticed it when bones animation only worked with one model on the screen. The problem could have a different reason.

I also don't think setting my.u and my.v can have an effect on bone animation. Can you provide some example or demo where it happens? We can then look into it.
Posted By: William

Re: FFP Shader not work in A 7.84 Extra? - 07/07/10 09:26

Well this was a few years ago, and the uv coord thing was just a workaround until you gave a fix for it if I remember right. It might have even been in A6.

Anyways, I can email you a small test demo shortly.
Posted By: Superku

Re: FFP Shader not work in A 7.84 Extra? - 07/07/10 10:38

This problem drove me crazy some years ago, back then I had a different notebook and for years I could not get vertex (!) animation to work:
Quote:
Basically, if you have two of the same models, and you can see both of them on the screen at the same time, then their [...] animations will not show properly

I was not the only one, for some people the u/v offset trick worked, but not for me.
Some weeks ago I showed my game to a friend who bought my old notebook and there it was, that old hated problem (7.85 Pro, compiled to *.exe). The main character went crazy respectively his animation, although he was the only instance of this model in the current level.
It seems to be a hardware issue.
Posted By: jcl

Re: FFP Shader not work in A 7.84 Extra? - 07/07/10 11:25

You have a good memory. This was a DX8 bug that affected early A6 versions, and it was indeed hardware dependent. It was confirmed by Microsoft, and fixed in 2006. A7 is not using DX8.
Posted By: Superku

Re: FFP Shader not work in A 7.84 Extra? - 07/07/10 12:07

Yes I know that A7 is using DX9, but I did not work. I will check whether he is using recent drivers or not (may take some weeks, though).
Posted By: jcl

Re: FFP Shader not work in A 7.84 Extra? - 07/07/10 13:50

William: Thanks for the level! It was indeed a bug that happens when bones are rotated, but not animated. That's probably why it was not noticed earlier, as bones rotation is mostly used with animated bones.

This will be fixed in the next update. Workaround: Simulate bones animation with this command:

my.next_frame += 0.001;

when you rotate a bone.
Posted By: William

Re: FFP Shader not work in A 7.84 Extra? - 07/07/10 20:40

Thanks for your help JCL! laugh
Posted By: bart_the_13th

Re: FFP Shader not work in A 7.84 Extra? - 07/09/10 04:04

Thanks JCL, I'll try the code right away, I'm downloading A7.85 as I write this laugh
*I miss the disable tesselation option already*
Posted By: William

Re: FFP Shader not work in A 7.84 Extra? - 07/09/10 19:28

Works great in 7.86. laugh
Posted By: bart_the_13th

Re: FFP Shader not work in A 7.84 Extra? - 07/30/10 07:31

It's solved, the ent_bonerotate isue is fixed in A7.86, thanks jcl laugh
The shader not working can be solved by adding the d3dcompiler.dll to the compiled directory...
© 2024 lite-C Forums