Special Aircraft Service

Please login or register.

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

Author Topic: Help improving the FMB cursor - 3D Expert required  (Read 3336 times)

0 Members and 1 Guest are viewing this topic.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: Help improving the FMB cursor - 3D Expert required
« Reply #12 on: June 20, 2020, 02:27:19 AM »

And the riddle was solved.

The cursor is an object that grows in size with distance, and the game takes the largest bounding box as the minimum view-distance.

If you get the Body.msh shared by Ghost and remove all references to LOD3/LOD4/LOD5/LOD6 you will get the much improved cursor I was looking for!

Like this: Body.msh

Case closed 8)
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

SAS~Ghost129er

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2099
  • SAS Certified Lurk
Re: Help improving the FMB cursor - 3D Expert required
« Reply #13 on: June 20, 2020, 09:59:46 AM »

The cursor only grows in size due to the LOD models it; thus meaning it doesn't grow - but gets replaced with the other level of detail model.

sorrynotsorry <3  :-*  But, glad we got it sorted out, I also had my first try in using this mode in the FMB







So nice. The removal of LoD is a quick fix, but I think we can also make a slightly better one, with accurate scales that can be used to measure distances, etc and stuff but sorry I didn't reply earlier, I currently have a pot addiction.   :P
Logged
Current activity: Giving his E46 330ci some TLC.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: Help improving the FMB cursor - 3D Expert required
« Reply #14 on: June 22, 2020, 05:58:13 AM »

I am happy with the new cursor but yes, there is room for improvement.

I hacked the object and came up with this: cursor.3ds

Lod #2 would be more visible from far away, but I don't know how to put the edited object back into the game. If anyone wants to try, please be my guest. I give up at this point.
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

SAS~Ghost129er

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2099
  • SAS Certified Lurk
Re: Help improving the FMB cursor - 3D Expert required
« Reply #15 on: June 22, 2020, 08:21:51 AM »

Plop

Seems like the UV got borked in the process, haven't tested it in game.
Logged
Current activity: Giving his E46 330ci some TLC.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: Help improving the FMB cursor - 3D Expert required
« Reply #16 on: June 22, 2020, 10:00:45 AM »

Looks good Ghost, looks good! But pink ;D

If it had the same number of vertices as the original, we could probably use the original UV mappings...

Considering:

0.314575 0.685425 => Red
0.552979 0.687134 => Green
0.825317 0.685425 => Blue
0.175903 0.805542 => White

Painting it shouldn'tt be that difficult for a man of your expertise, should it? ;)

Something similar to this:



If you paint the object following a similar color-pattern and using 4 unique colors, whatever colors, I can then easily replace the colors manually by editing directly the body.msh.
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 5968
Re: Help improving the FMB cursor - 3D Expert required
« Reply #17 on: June 22, 2020, 03:36:15 PM »

Whistler,
So glad you brought this up, and found the fix. It's bugged me since forever.

I added an earlier (nearer) LOD, which I made invisible for taking screen shots and such.

A new cursor could have compass directions, for at least N and E, instead of arrow heads.

The model need not have 'fancy' thickness; it could have a simpler flatness to at least some elements. If there is concern about it partially disappearing under sloping terrain,  the model could be raised to the base hook lowered. Indeed, one could make the thing sufficiently to rise above the 'layer cake' forest. ;)
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 5968
Re: Help improving the FMB cursor - 3D Expert required
« Reply #18 on: June 22, 2020, 03:39:30 PM »

Instead of using the existing clear.tga, one could make up a 4-color texture having the desired hues. Then the UV mappings would have X and Y as either 0.25 or 0.75.
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: Help improving the FMB cursor - 3D Expert required
« Reply #19 on: June 23, 2020, 04:10:30 AM »

I managed to add colors. I use blender and exported it to 3ds format: cursor_color.3ds

What happens when you export it with your "IL2 Export V3.0 by SAS"? Thanks for any help.



A new cursor could have compass directions, for at least N and E, instead of arrow heads.

The model need not have 'fancy' thickness; it could have a simpler flatness to at least some elements. If there is concern about it partially disappearing under sloping terrain,  the model could be raised to the base hook lowered. Indeed, one could make the thing sufficiently to rise above the 'layer cake' forest. ;)

WxTech, good points but if I managed to get this last step complete, I am out! I really don't know what I am doing and every step takes a good deal of time. It is a fun ride but truth is I am not into 3D.
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

SAS~Ghost129er

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2099
  • SAS Certified Lurk
Re: Help improving the FMB cursor - 3D Expert required
« Reply #20 on: June 23, 2020, 04:31:30 AM »

What happens when you export it with your "IL2 Export V3.0 by SAS"? Thanks for any help.

What happened is you gave me a borked UV map is all - I just exported it as requested. :-X And yes, I know it was pink (msh viewer) but without the clear.tga I couldn't know how to map it, but hey you've done it for me huehue~

Looks a lot better. You should look into getting yourself 3ds Max (Student Version) from AutoDesk since you land yourself a free 3 year license for it by and by.

Also I don't just export it - What I do is rename the first LOD to LOD0, then the second part to LOD1 then I link LOD1 to LOD0 as the Child of LOD0 (will attach screenshot) in order for IL2 sexporter to sexport it.

 
Logged
Current activity: Giving his E46 330ci some TLC.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: Help improving the FMB cursor - 3D Expert required
« Reply #21 on: June 23, 2020, 04:48:45 AM »

What happened is you gave me a borked UV map

Surprising I only borked that :D

but without the clear.tga I couldn't know how to map it

The original files, including the clear.tga can be found in the first post, but I think I can find my way if there is an UV pattern in the mesh.
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html

SAS~Ghost129er

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2099
  • SAS Certified Lurk
Re: Help improving the FMB cursor - 3D Expert required
« Reply #22 on: June 23, 2020, 05:41:52 AM »

Surprising I only borked that :D
I think what you did was import the msh into the app using the msh importer no? It has a tendency to ruin UV maps that way, that or it was the .3ds max setting where you have to specifically tell it to save UV's, not sure I haven't used those file formats in ages..


The original files, including the clear.tga can be found in the first post, but I think I can find my way if there is an UV pattern in the mesh.
Shit, must have missed it, my bad.


Edit: m9 you can't just apply color from Gmax/3ds max into it and export it like that, it needs a texture..



Edit 2: boink

The UV map is so small, either WX would have to do his magic, but I didn't want to bother him so I upped the Texture size to 1024 and redid the .mat file and etc. In the zip should be everything and fingers crossed, it works well and as desired....

fixed
Logged
Current activity: Giving his E46 330ci some TLC.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 2784
Re: Help improving the FMB cursor - 3D Expert required
« Reply #23 on: June 23, 2020, 07:06:48 AM »

It works!

I would just change LOD distance to:

[LOD]
200
10000

A massive thanks! as massive as your CG129.tga ;D (IL-2 won't render the hidden self-promoting massive pp, unfortunately)
Logged
NG-HUD v3.6.1 | NG-MAP v3.2 | NG-CAM v2.0 | NG-PAL v1.2: https://www.sas1946.com/main/index.php/board,93.0.html
Pages: 1 [2] 3   Go Up
 

Page created in 0.047 seconds with 26 queries.