Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4 5   Go Down

Author Topic: Fairey Firefly FR 1 Skin  (Read 9564 times)

0 Members and 1 Guest are viewing this topic.

ben_wh

  • member
  • Offline Offline
  • Posts: 379
Re: Fairey Firefly FR 1 Skin
« Reply #12 on: April 28, 2020, 02:13:48 PM »

Thank you very much to both for working to improve this.

Cheers,
Logged

Mission_bug

  • Modder
  • member
  • Offline Offline
  • Posts: 6071
Re: Fairey Firefly FR 1 Skin
« Reply #13 on: April 28, 2020, 03:17:55 PM »

Thank you very much to both for working to improve this.

Cheers,


Improve, we might make it worse.  :angel:


Well whatever happens I have the main parts in gmax, minus anything else, we can deal with the rest
later if we actually get it to work as Gabriel imagined:




Just to clarify, this is the WingLOut_D0 that will move, right is hidden for now:




Here I moved it back temporarily:




Moving that back reveals the CF_D0 and WingLIn_D0 and WingRIn_D0.


I am going to go to bed now, I cannot face tonight the madness and mayhem that might ensue from here on in. :D


Tinkering can begin tomorrow. 8)



Take care and be safe.


Wishing you all the very best, Pete.
Logged

ben_wh

  • member
  • Offline Offline
  • Posts: 379
Re: Fairey Firefly FR 1 Skin
« Reply #14 on: April 28, 2020, 05:14:34 PM »

Look promising already.

At the end, we have to travel beyond our comfort zone to learn our limit, no? :)

Seriously, with yours and Gabriel's skills, as well as the collective knowledge on IL-2 modding here, I trust that all would end well.

At the very least we get to learn more about 3D modding through your journey - thanks again.

By the way you already showed one video but here's another one on the wing folding mechanism (@1:55):




Cheers,

Logged

Birdman

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 1626
Re: Fairey Firefly FR 1 Skin
« Reply #15 on: April 29, 2020, 12:01:34 AM »

I have a little MATLAB script that can move meshes and thus fix pivot points in a couple minutes without any 3D import or export. Looks like I should just use my script to move outer wing and then add opposite transition to hier.him, and that might fix the pivot easily, if it indeed is pivot position problem and not orientation. Maybe I should try that.
Logged

Birdman

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 1626
Re: Fairey Firefly FR 1 Skin
« Reply #16 on: April 29, 2020, 12:49:27 AM »

Well, in the end looks like hier.him edit and animation fix in classfile might be enough to fix the pivot because there's separate pivot adjustment mesh. That's the lazy way to move pivot without LOD, shadow, collision, hook and other part position editing needed.

Try this
Code: [Select]
[Wspong_L]
Mesh Wspong_L
Parent WingLIn_D0
Separable
Attaching 1 0 0 0 1 0 0 0 1 0.9353 0.2382 -0.4613
[Wspong_R]
Mesh Wspong_R
Parent WingRIn_D0
Separable
Attaching 1 0 0 0 1 0 0 0 1 -0.9353 0.2382 -0.4613
[WingLOut_D0]
Mesh WingLOut_D0
Parent Wspong_L
Separable
Attaching 1 0 0 0 1 0 0 0 1 0.9507 -0.0422 0.0203
CollisionObject xwinglout
[WingROut_D0]
Mesh WingROut_D0
Parent Wspong_R
Separable
Attaching 1 0 0 0 1 0 0 0 1 -0.9507 -0.0422 0.0203
CollisionObject xwingrout
and edit wing folding animation in classfile to make it look nice.

However, this new pivot point just makes things worse without proper folding animation, so don't use it separately without updated classfile.
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5475
Re: Fairey Firefly FR 1 Skin
« Reply #17 on: April 29, 2020, 12:53:12 AM »

... gents, this is proof again, that nothing can beat several modders joining forces to fix a bug ...  ;)

This screen is the exact moment when the wing collides and goes through the main gear:

Logged

Birdman

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 1626
Re: Fairey Firefly FR 1 Skin
« Reply #18 on: April 29, 2020, 01:26:24 AM »

Actually 3D model has balls where the incorrect pivot point is, so obviously 3D editing is needed if those balls should be moved to the real pivot point. However, maybe fixing that collision with main gear is good enough for now using the easy pivot point fix together with reworked animation.

Unfortunately, I see another major bug when firing the cannons. Whole cockpit flashes while firing the cannons in my BAT together with too many faces error in console, so Body.msh in cockpit seems to have too many faces. Also toggling nav lights on causes the same cockpit issue together with frozen graphics, so this face count limit seems to be active only when there's some light sources in plane.
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5475
Re: Fairey Firefly FR 1 Skin
« Reply #19 on: April 29, 2020, 01:56:50 AM »

Unfortunately, I see another major bug when firing the cannons. Whole cockpit flashes while firing the cannons in my BAT together with too many faces error in console, so Body.msh in cockpit seems to have too many faces. Also toggling nav lights on causes the same cockpit issue together with frozen graphics, so this face count limit seems to be active only when there's some light sources in plane.

... just checked in my 4.09 game version (the mod released by Epervier is for 4.09 Rebels, class wise), and no bug while firing guns (I am using carmaster's 4096 DLLs, may be this explains that ...), and just a small glitch with nav lights (but I am using WxTech nav lights mod) ...  ;)
Logged

Birdman

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 1626
Re: Fairey Firefly FR 1 Skin
« Reply #20 on: April 29, 2020, 02:14:38 AM »

I managed to fix this cockpit error by cutting 99 last vertices and their 139 faces as separate mesh. Just add these https://www.mediafire.com/file/bm7lz34i733yuhr/Firefly_cockpit_fix.7z/file to your cockpit folder to shoot without graphics errors in BAT. Maybe such polygon limit doesn't exist in other game versions if it's added by some mod included in BAT. Anyway, this is the first time I've seen any issue like this in BAT, and here's that error in console:
Code: [Select]
ERROR: CARSLPFG: Too many facess (3112)
java.lang.RuntimeException: ERROR: CARSLPFG: Too many facess (3112)

at com.maddox.il2.engine.HierMesh.Render(Native Method)
at com.maddox.il2.engine.HierMesh.render(HierMesh.java:39)
at com.maddox.il2.objects.air.Cockpit$Draw.render(Cockpit.java:143)
at com.maddox.il2.objects.air.Cockpit.render(Cockpit.java:696)
at com.maddox.il2.game.Main3D$RenderCockpit.render(Main3D.java:682)
at com.maddox.il2.engine.Renders.doPaint(Renders.java:412)
at com.maddox.il2.engine.Renders.paint(Renders.java:253)
at com.maddox.il2.engine.RendersTicker.msgTimeOut(Renders.java:637)
at com.maddox.rts.MsgTimeOut.invokeListener(MsgTimeOut.java:73)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1191)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Time.loopMessages(Time.java:252)
at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
at com.maddox.il2.game.Main.exec(Main.java:422)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5475
Re: Fairey Firefly FR 1 Skin
« Reply #21 on: April 29, 2020, 02:40:56 AM »

... yep, must be something to do with the game version, as I don't get a single alarm in my log, regarding this Firefly in my 4.09 game version ...  ;)
Logged

Mission_bug

  • Modder
  • member
  • Offline Offline
  • Posts: 6071
Re: Fairey Firefly FR 1 Skin
« Reply #22 on: April 29, 2020, 03:49:32 AM »

Hello guys, looks like things are already nearly fixed. 8)



I have a little MATLAB script that can move meshes and thus fix pivot points in a couple minutes without any 3D import or export. Looks like I should just use my script to move outer wing and then add opposite transition to hier.him, and that might fix the pivot easily, if it indeed is pivot position problem and not orientation. Maybe I should try that.


I have now put Gabriel's version of the Firefly in my 4.12 install, here is the Dimon version with wing fold issue last night:





Here is Gabriel's with Birdman fix, a vast improvement, just need the java to halt the movement of the wing before
it hits the tailplane:








I do not think I can do any better at fixing the pivot in the the 3d program, the Birdman fix is certainly a better
solution than me messing around and continually swapping altered meshes, all I would be doing is essentially the
same possibly with a worse result.

The difficulty is the wing on the real aircraft both lifts and twists and unfortunately we are not able to move
the undercarriage in any way, we cannot get away with closing a door either as the wing goes through the
leg as well in the original orientation.

I could move the pivot point so the wing missed that but more than likely once closed there might be a gap
if I moved it one way or the wing inwards into the other mesh depending on which way I went.

Could a ghost wing be made to come into effect at a time near to when the wing actually closes, one replacing
the other in a similar way to how skis replace wheels?   Trouble is that would add unnecessary complication.


To me the Birdman fix is the best way forward here if Gabriel can halt progress of the wing before it touches the tailplane. 8)


Thank you very much all of you for your work on this, really appreciated, hopefully Gabriel will be along soon to confirm
if he is able to put the last piece in the puzzle. ;)


I do have the flashing in the cockpit, with the fix or not, 4.12 with ModAct 5.30 although I see no error in the log like that
posted by Birdman, maybe other things in my install are at fault although I do have high resolution texture DLLs. o_O


Take care and be safe.

Wishing you all the very best, Pete. ;D
 
Logged

Mick

  • Modder
  • member
  • Offline Offline
  • Posts: 5475
Re: Fairey Firefly FR 1 Skin
« Reply #23 on: April 29, 2020, 04:13:38 AM »

... OK guys, I just found a fix for the wings folding ...!  8)

... I just fold the wings only in cockpit view, and no collision with the main gear can be seen ...!   :P
Logged
Pages: 1 [2] 3 4 5   Go Up
 

Page created in 0.031 seconds with 24 queries.