FSIC Messageboard
  Tech Talk
  Help with shadows (!)

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Help with shadows (!)
Tailslide
Pilot
posted 06-16- 09:48 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

I can't get the Yak's shadow to stop flickering in D3D. I tried following SV's tutorial but I just wound up with a flickery shadow in the shape of a yak instead of the current flickery shadow in the shape of a 190.

Help !!

TS

------------------
Patch It!

TS Aircombat


IP: Logged

Sv
Pilot
posted 06-16- 10:06 PM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
You have a LOD flag set wrong. Just compare the LOD file for your new shadow with the old shadow LOD. You will see that the flag is wrong in your new shadow, just copy and paste the correct flag and rebuild, fixed!

------------------
-Sv =FC=

WWI in SDOE!


IP: Logged

Tailslide
Pilot
posted 06-16- 11:22 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

The old (original) shadow from the 190 flickers on my plane too and I didn't change the LOD on that one..

TS

IP: Logged

Laika 801
Pilot
posted 06-17- 04:42 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Hey Tail !

TNT2 right ? Same problem as with the prisma of some gunsights I think - I got this problem too, but only with some planes (YAK,BF's,..). Try to use other polyflag values, experiment a bit or just look at a shadow object that works and try this value.

If this does not help, it might be that the shadow is wrong "positioned", but I dont understand (=tried it yet) how to change the position of shadow objects.

IP: Logged

Sv
Pilot
posted 06-17- 07:10 AM     Click Here to See the Profile for Sv   Click Here to Email Sv     Edit/Delete Message   Reply w/Quote
Here is my SE5a shadow, the flag is in bold:

1 LODShape
1
25000000.00
4
-14.81430340 -12.62010002 0.000000000 0.000000000 0.000000000 1.000000000 0.000000000 0.000000000
15.20670033 -12.62010002 0.000000000 0.000000000 0.000000000 1.000000000 1.000000000 0.000000000
15.20670033 13.83105278 0.000000000 0.000000000 0.000000000 1.000000000 1.000000000 0.9672997594
-14.81430340 13.83105278 0.000000000 0.000000000 0.000000000 1.000000000 0.000000000 0.9672997594
1
0000 2 4 0 f0 0.000000000 0.000000000 1.000000000 0 1 2 3

-Sv

IP: Logged

Tailslide
Pilot
posted 06-17- 12:08 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

Thanks guys!! Will check it.

IP: Logged

Tailslide
Pilot
posted 06-17- 12:46 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

It worked !!!! That example helped a lot SV, I don't know how the flags got changed on the shadow I didn't edit it at all (?!!?!)

TS

IP: Logged

Laika 801
Pilot
posted 06-17- 01:12 PM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
Somehow OPS uses (or generates ??) polyflags from old replaced lods, it is better to check "important" flags by hand (and change them if they're wrong). I.e. I often got b0 and need f0 or 10 and need 90...

Fine that it works now !!! (keep in mind to spend at least 10 minutes per day with the Pe2 )


LK

IP: Logged

Tailslide
Pilot
posted 06-17- 01:48 PM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

But that's the thing.. I hadn't replaced the LODs at all it was still the original FW190 LODs.

When I made my own LODs in max and use the material &metal_f0_shadow it reset the flags to the right values. Also I wound up with a blue shadow until I changed the object color in max to black.

TS

IP: Logged

Laika 801
Pilot
posted 06-20- 09:02 AM     Click Here to See the Profile for Laika 801   Click Here to Email Laika 801     Edit/Delete Message   Reply w/Quote
OPS and PolyFlags seem not to like each other. I saw much weird things. I.e. I created new lods (with no lod before in the object). After 5 or more trys (with "out of memory" etc..) I got it working. but the imported lods did not show up in SDOE. I checked the flags and cruel things where there: material was set to 215 (!) and the flag was 01. I also never swa any object that comes with the right flag-values axis wise. Allways the same axis value for all faces/polys. I hope Bryan will add this to his "ToDo" list

IP: Logged

Tailslide
Pilot
posted 06-20- 11:44 AM     Click Here to See the Profile for Tailslide   Click Here to Email Tailslide     Edit/Delete Message   Reply w/Quote

Going in and setting all the axis flags on every face by hand is a bit much for me.. I think I'll just have to leave them as-is until a tool comes out to set them.

TS

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c