Request: Ship mesh Importing Problem - Page 2 - Freelancer 3D Modeling - Lancersreactor

You are not logged in.

  • "AestheticDemon" started this thread
  • United Kingdom

Posts: 242

Activitypoints: 1,235

Date of registration: Jun 9th 2005

Reputation modifier: 10

Level: 37 [?]

Experience: 1,165,937

Next Level: 1,209,937

  • Send private message

member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month

21

Sunday, June 26th 2011, 9:07pm

Left - the original obj...
Right the generated sur reimported, the bounding box later is almost identical to the hull layer
AestheticDemon

Terror Trooper #666

Give a man a fire and he's warm for a day...
Set a man on fire and he's warm for the rest of his life...

adoxa

Corporal

(10)

Posts: 246

Activitypoints: 1,255

Date of registration: Jan 26th 2009

Reputation modifier: 5

Level: 36 [?]

Experience: 858,777

Next Level: 1,000,000

  • Send private message

member since 108 month member since 108 month member since 108 month member since 108 month member since 108 month member since 108 month member since 108 month member since 108 month member since 108 month

22

Monday, June 27th 2011, 3:00am

So, does anybody remember how you hex edit a sur to set the correct ship mass for anti spin etc.

I told you, use SurDump and the -o option. For example:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
E:\contrib\games\Freelancer\surdump>surdump -o \Games\Freelancer\DATA\SHIPS\CIVI
LIAN\CV_STARFLIER\cv_starflier.sur |head -18
--> \Games\Freelancer\DATA\SHIPS\CIVILIAN\CV_STARFLIER\cv_starflier.sur <--

00008  Root (0x12688F2D)

00010    !fxd - not fixed

00014    exts - Extents
00018      minimum:      -5.283840,    -3.918445,    -4.196498
00024      maximum:       5.283819,     3.522413,     9.034879

00030    surf - Surface
00038      center:        0.000271,    -0.231819,     3.537381
00044      inertia:       9.689320,    14.079065,    14.775331
00050      radius:       10.157594
00054      scale:         0.876
00055      size:     0x2A84 (10884)
00058      bits ofs: 0x2790

At hex offset 44, you'll find three floats (aka single) containing the inertia values (surs don't have mass).

  • "AestheticDemon" started this thread
  • United Kingdom

Posts: 242

Activitypoints: 1,235

Date of registration: Jun 9th 2005

Reputation modifier: 10

Level: 37 [?]

Experience: 1,165,937

Next Level: 1,209,937

  • Send private message

member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month

23

Monday, June 27th 2011, 4:53am

Thanks Adoxa, I can work out suitable values, offset hex 44, brilliant.
AestheticDemon

Terror Trooper #666

Give a man a fire and he's warm for a day...
Set a man on fire and he's warm for the rest of his life...

Gibbon

Corporal

(10)

    Sweden

Posts: 202

Activitypoints: 1,100

Date of registration: May 24th 2004

Reputation modifier: 9

Level: 37 [?]

Experience: 1,050,201

Next Level: 1,209,937

Thanks: 1

  • Send private message

member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month

24

Monday, June 27th 2011, 9:15am

I'm missing your point here, what are those images supposed to prove? Have you tried it in game? If the sur was shrink wrapped, you wouldn't be able to fly through sections, you would simply bounce off. Only way round that in the case of say a base model is to use the phantom physics command. The OBJ->SUR converter makes form fitting surs, end of.

Here's proof. If you don't know how to use the converter, then follow the tutorial i put up but please stop saying it makes shrink wrapped surs because it doesn't. Everyone else is making form fitting surs with this utility, you are just misunderstanding what you are seeing.

Videos to prove my point.


YouTube
- ‪Kanal von Wargibbon‬‏



YouTube
- ‪Kanal von Wargibbon‬‏
Signature from »Gibbon«

  • "AestheticDemon" started this thread
  • United Kingdom

Posts: 242

Activitypoints: 1,235

Date of registration: Jun 9th 2005

Reputation modifier: 10

Level: 37 [?]

Experience: 1,165,937

Next Level: 1,209,937

  • Send private message

member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month member since 156 month

25

Monday, June 27th 2011, 12:01pm

I'm missing your point here, what are those images supposed to prove?


LEFT - form fitted obj file, note fore deck, tower, aft deck - fitted
RIGHT - sur mesh generated - tents over the structure - NOT fitted

Quoted

Have you tried it in game?


Yes, non-fitted sur

Quoted

If the sur was shrink wrapped, you wouldn't be able to fly through sections, you would simply bounce off.


That's what happens...

Quoted

Only way round that in the case of say a base model is to use the phantom physics command.


I'm sure your right

Quoted

...Here's proof. If you don't know how to use the converter, then follow the tutorial i put up but please stop saying it makes shrink wrapped surs because it doesn't. Everyone else is making form fitting surs with this utility, you are just misunderstanding what you are seeing.


In fact, I've read SEVERAL tutorials about this ulility, on your forum, here, and even that other place, the one pretending to be here, that we dont mention...

I'm sure it CAN make form fitting sutrs, with care in the hands of an expert, all I said was "I'm tired of messing with thisas I have other stuff to work on, its close enough for this ship that it will do".

I understand what I see just fine, thank you very much.

Enough. Problem Solved. Move along, nothing to see here...
AestheticDemon

Terror Trooper #666

Give a man a fire and he's warm for a day...
Set a man on fire and he's warm for the rest of his life...

Gibbon

Corporal

(10)

    Sweden

Posts: 202

Activitypoints: 1,100

Date of registration: May 24th 2004

Reputation modifier: 9

Level: 37 [?]

Experience: 1,050,201

Next Level: 1,209,937

Thanks: 1

  • Send private message

member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month member since 168 month

26

Monday, June 27th 2011, 8:17pm

Whatever
Signature from »Gibbon«

Social bookmarks

Legend:

Forum contains no new posts
Forum contains new posts
Forum is closed
Forum is an external link