Author Topic: Shadow Play  (Read 13522 times)

Timber

  • *
  • Posts: 386
    • View Profile
Shadow Play
« on: 2010-06-01 06:44:56 »
I found the file that contains the battle shadows: kage.dat
I have no idea how to edit this kind of file, so far I have only been able to morph the shadows into weird and wonderful shapes.

Anyone who actually knows what they are doing wanna take a crack at making these battle shadows look less crap?

Pic:

jeffdamann

  • *
  • Posts: 732
  • The ORIGINAL!
    • View Profile
Re: Shadow Play
« Reply #1 on: 2010-06-01 08:02:11 »
Good discovery Timber! How did you edit the file?

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: Shadow Play
« Reply #2 on: 2010-06-01 18:15:55 »
I've done a little research into this, but not much of it makes sense. The first part has something to do with the shape, but I can't  quite predict what it looks like or how it behaves. The second part seems to be colors, but they don't seem to affect the shadow at all.

かげ = Shadow

Timber

  • *
  • Posts: 386
    • View Profile
Re: Shadow Play
« Reply #3 on: 2010-06-01 18:25:51 »
Good discovery Timber! How did you edit the file?

Just messed around in a hex editor.

I've done a little research into this, but not much of it makes sense. The first part has something to do with the shape, but I can't  quite predict what it looks like or how it behaves. The second part seems to be colors, but they don't seem to affect the shadow at all.

かげ = Shadow

Yeah I didn't manage to change the shadow effect at all either, just the shape.

Jaitsu

  • *
  • Posts: 1067
  • DON'T FWOOSH ME BRO
    • View Profile
    • Jaitsu Studios
Re: Shadow Play
« Reply #4 on: 2010-06-04 04:20:57 »
if anyone ever manages to figure out how to edit the shadows, they could always make like, aeris's shadow look like a demon or something, just as a joke

sl1982

  • Administrator
  • *
  • Posts: 3764
  • GUI Master :P
    • View Profile
Re: Shadow Play
« Reply #5 on: 2010-06-04 04:40:04 »
if anyone ever manages to figure out how to edit the shadows, they could always make like, aeris's shadow look like a demon or something, just as a joke

Please keep non-relevant stuff to another forum. This is for serious discussion.

obesebear

  • *
  • Posts: 1389
    • View Profile
Re: Shadow Play
« Reply #6 on: 2010-06-04 04:59:58 »
Judging from your picture, it doesn't look like we can do too much with the shadows.  Not if all the models use the same one.

I do remember Aali mentioning something about trying to use real time lighting though... Nice discovery either way!  Keep us posted on anything else you manage to do with them.

Nightmarish

  • *
  • Posts: 525
  • owari da
    • View Profile
Re: Shadow Play
« Reply #7 on: 2010-06-04 09:05:17 »
I'd keep the shadow remaking (at least for a closer shape to the model) to after the models are redone.
It will always be better than a circle.

Jaitsu

  • *
  • Posts: 1067
  • DON'T FWOOSH ME BRO
    • View Profile
    • Jaitsu Studios
Re: Shadow Play
« Reply #8 on: 2010-06-04 12:57:39 »
if anyone ever manages to figure out how to edit the shadows, they could always make like, aeris's shadow look like a demon or something, just as a joke

Please keep non-relevant stuff to another forum. This is for serious discussion.

whoa sorry man, no harm intended

nfitc1

  • *
  • Posts: 3011
  • I just don't know what went wrong.
    • View Profile
    • WM/PrC Blog
Re: Shadow Play
« Reply #9 on: 2010-06-04 19:17:55 »
From what I can tell, the first value is a number of vectors. The vectors are in [X,Y] dword (one word each) pairs. They're based on the center of the model and Y is easy to predict what it'll do (it adds that value to the character's Y center and points the vector there), but the X value is very peculiar. It can become a square or star shape with the right values. I'm not sure how changing one affects the others, but it's like it is a triangle list. It's divided into 8, then 6, then 8, then 6 vectors separated by 0s.

The second part seems to be colors, but changing them didn't seem to make a difference.
Someone feel free to check it out further.

sl1982

  • Administrator
  • *
  • Posts: 3764
  • GUI Master :P
    • View Profile
Re: Shadow Play
« Reply #10 on: 2010-06-04 21:51:07 »
Has anyone looked into the kage.* files in the magic.lgp. There are .s .p and .hrc files in there. Maybe we should concentrate on these?

edit: these seem to be shadows for some special effects.
« Last Edit: 2010-06-04 23:09:41 by sl1982 »

jeffdamann

  • *
  • Posts: 732
  • The ORIGINAL!
    • View Profile
Re: Shadow Play
« Reply #11 on: 2010-06-04 23:52:41 »
I found the file that contains the battle shadows: kage.dat
I have no idea how to edit this kind of file, so far I have only been able to morph the shadows into weird and wonderful shapes.

Anyone who actually knows what they are doing wanna take a crack at making these battle shadows look less crap?

Pic:


I saw someone said that this may not be of much use since the models use the same shadow...
I whole-heartedly disagree, even in the pics posted the shadows look MUCH more natural to me than a GIANT shadowed circle around the player...(I mean come on, clouds shadow is that of a 1000 lb sumo wrestler with the sun in high noon position)

Timber

  • *
  • Posts: 386
    • View Profile
Re: Shadow Play
« Reply #12 on: 2010-06-05 07:37:43 »
Oh I agree that with this as it is, you can't have different shadows for different characters, etc, would need some real lighting for that.

Actually what I really wanted was to change the transparency / colour a bit, so it's less obvious.
And perhaps a small tweak to the shape so that it isn't a perfect circle could be good too.

jeffdamann

  • *
  • Posts: 732
  • The ORIGINAL!
    • View Profile
Re: Shadow Play
« Reply #13 on: 2010-06-05 07:41:39 »
Yeah I just hated that giant perfect circle...anything else would be a vast improvement.

craziinova

  • *
  • Posts: 55
    • View Profile
Re: Shadow Play
« Reply #14 on: 2010-06-05 13:03:35 »
can't you just delete them? i think it would look tonnes better if they just weren't there

Millenia

  • *
  • Posts: 244
  • wireframe
    • View Profile
    • My portfolio
Re: Shadow Play
« Reply #15 on: 2010-06-06 18:19:03 »
I think the best way would be to remove these shadows and try to implement, say, an ambient occlusion pass through Aali's driver

willis936

  • *
  • Posts: 370
    • View Profile
Re: Shadow Play
« Reply #16 on: 2010-06-06 21:22:48 »
an ambient occlusion pass through Aali's driver
o_o

alloy

  • *
  • Posts: 57
    • View Profile
Re: Shadow Play
« Reply #17 on: 2010-06-07 01:59:44 »
That wont make a big difference on the models. They already have lighting baked into them.

Tho adding per pixel lighting to ff7 would be a really huge accomplishment

jeffdamann

  • *
  • Posts: 732
  • The ORIGINAL!
    • View Profile
Re: Shadow Play
« Reply #18 on: 2010-06-07 02:48:27 »
I would really liek to see some more shots of the shadows getting modded, doesnt seem like anyone else is too interested.

Tekkie.X

  • *
  • Posts: 896
  • Formerly known as DragonNinja
    • View Profile
Re: Shadow Play
« Reply #19 on: 2010-06-07 02:57:46 »
For now, shrinking them by about 50% and making them lighter would do the trick.

jeffdamann

  • *
  • Posts: 732
  • The ORIGINAL!
    • View Profile
Re: Shadow Play
« Reply #20 on: 2010-06-07 03:11:50 »
I also cast a vote for deforming them from a perfect circle.

willis936

  • *
  • Posts: 370
    • View Profile
Re: Shadow Play
« Reply #21 on: 2010-06-07 18:06:35 »
Why though?  Not every battle model is humanoid and circle is the most universal.  Possibly adding some fading from the outside, reducing in size, and making lighter overall would give a nicer effect.

jeffdamann

  • *
  • Posts: 732
  • The ORIGINAL!
    • View Profile
Re: Shadow Play
« Reply #22 on: 2010-06-07 19:24:23 »
Because humanoid or no, nothing on this earth leaves a shadow of a perfect circle, except for a perfect circle being hit from light from directly above. Therefore it seems like even a slight deformation on the circle would at least help convinciveness.

sl1982

  • Administrator
  • *
  • Posts: 3764
  • GUI Master :P
    • View Profile
Re: Shadow Play
« Reply #23 on: 2010-06-07 21:16:42 »
I agree with willis on this. If we cannot make the shadows look accurate I see no point in having weird shaped blobs. Might as well get rid of the shadows altogether.

jeffdamann

  • *
  • Posts: 732
  • The ORIGINAL!
    • View Profile
Re: Shadow Play
« Reply #24 on: 2010-06-09 23:03:19 »
well of course no wierd shaped blobs...maybe Ill toy with it to see if it can become better, but it seems that there may be far better solutions to the problem than we are currently grasping ATM.