Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
43 user(s) are online (23 user(s) are browsing Forum)

Members: 0
Guests: 43

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +30€

Current balance: -190€
(last updated 04/2017)

Please make a donation if you want to help keeping The-Starport online:

Bitcoin address:
Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 64 users playing Freelancer on 34 servers.
October. 19, 2017

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

« 1 2 3 (4) 5 6 7 ... 28 »


Re: .obj -> .sur converter
Home away from home
Joined:
2010/3/14 18:10
From Germany
Group:
Registered Users
Senior Members
Posts: 1523
Offline
no offense, m8
its just obvious something's wrong either with the naming or with the direction or with the file itself. it would work otherwise, wouldn't it? you'll get it, for sure.

Posted on: 2011/2/15 21:12
Open in new window
Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2010/6/13 10:58
From France
Group:
Registered Users
Posts: 433
Offline
It works, just an error of manipulation.

Posted on: 2011/2/15 21:37
Top
Re: .obj -> .sur converter
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1847
Offline
Freestalker means it was "Finger Trouble" - we all get it.

Hi Mirkha. It's multi-part, 23 groups. I've attached it for you and anyone else who wants to see it, with its new sur and the .mat file.

The "nugget" ( actually I should call it "doughnut" ) is made in 4 parts - top, bottom and 2 sides. I could have made it in 6 or 8 parts to be more form-fitting, but it's good enough.

Attach file:


zip STAvioki.zip Size: 281.64 KB; Hits: 107

Posted on: 2011/2/15 22:02
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Top
Re: .obj -> .sur converter
Starport Admin
Joined:
2008/6/24 16:40
From http://www.freeworlds-tow.net/dev
Group:
Registered Users
Starport Admin
$$$ Supporters $$$
Posts: 1123
Offline
Ya, I was able to do something similar with a ship in FW:ToW. My only concern was the shield bubble. Is there any way to remove that or make it form fitting?

Otherwise, it's a fabulous tool!

Posted on: 2011/2/15 22:20
Open in new window
Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2008/7/8 21:15
From Germany
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 495
Offline
Quote:

cata123 wrote:
schmackbolzen, can you extend your sur program with the option to make sur for 3db-s also (the 3db sur don`t have root group , it`s replaced with 00000000 instead of 2D8F6812).
It could be a box checked for example .
Those types of sur are used in all space scenery objects (asteroids) and it`s annoying to replace every time with the hex editor.


Yes its already included but not in the GUI since the last time I tested the .sur file did not work at all. Gonna have to look into that, because a lot has changed since then.

Quote:

Sushi wrote:
My only concern was the shield bubble. Is there any way to remove that or make it form fitting?


Shield bubble? There is no such thing. Are you talking about my converter?

Concerning the rest: It's nice to read that it seems to be working for now. I will try to fix the last errors in the next days and call it version 1.0 without beta, so that I can start the next version someday soon (assuming no further bugs being found)...

Posted on: 2011/2/15 22:43
Top
Re: .obj -> .sur converter
Starport Admin
Joined:
2008/6/24 16:40
From http://www.freeworlds-tow.net/dev
Group:
Registered Users
Starport Admin
$$$ Supporters $$$
Posts: 1123
Offline
Really? Then what's the shape surrounding ST's model? I see the form fitting sur but there's a larger all encompassing part of the .sur.

Open in new window

Posted on: 2011/2/16 0:30
Open in new window
Top
Re: .obj -> .sur converter
Starport Admin
Joined:
2008/2/26 20:36
From Germany
Group:
Webmasters
Registered Users
Posts: 1711
Offline
Quote:

Schmackbolzen wrote:

If you view the converted geometry there is always a convex hull around everything! This is needed for collision detection and you will not collide with it!

Posted on: 2011/2/16 0:38
Top
Re: .obj -> .sur converter
Starport Admin
Joined:
2008/6/24 16:40
From http://www.freeworlds-tow.net/dev
Group:
Registered Users
Starport Admin
$$$ Supporters $$$
Posts: 1123
Offline
Quote:

w0dk4 wrote:
Quote:

Schmackbolzen wrote:

If you view the converted geometry there is always a convex hull around everything! This is needed for collision detection and you will not collide with it!

OH! I didn't get that. Good to know

Posted on: 2011/2/16 1:05
Open in new window
Top
Re: .obj -> .sur converter
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1847
Offline
This is what we called the "Shrink wrap" - Sur explorter does this, and it is present in the vanilla surs for warships. Only fighters have the shield bubble.

When we export the sur parts to use with sur splicer, there is no "shrink wrap" around the ship at all.

I don't know if this "no shrink wrap" is needed for anything? Bases or scenery for example?

Posted on: 2011/2/16 5:37
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Top
Re: .obj -> .sur converter
Starport Admin
Joined:
2008/6/24 16:40
From http://www.freeworlds-tow.net/dev
Group:
Registered Users
Starport Admin
$$$ Supporters $$$
Posts: 1123
Offline
Quote:

StarTrader wrote:
This is what we called the "Shrink wrap" - Sur explorter does this, and it is present in the vanilla surs for warships. Only fighters have the shield bubble.

When we export the sur parts to use with sur splicer, there is no "shrink wrap" around the ship at all.

I don't know if this "no shrink wrap" is needed for anything? Bases or scenery for example?

Apparently it's quite important in first level collision detection, from what w0dk4 was telling me.

Anywho, this program is incredible

Posted on: 2011/2/16 10:53
Open in new window
Top
Re: .obj -> .sur converter
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1847
Offline
The surs we have been making until now are only faulty because they have had no hpids. Otherwise they work well without the shrink-wrap.

This is one "why?" that I have not yet understood.

When we use Sur Splicer to make surs, there is no shield bubble and no shrink wrap either, yet those surs work well for collisions and hits too.

So - should we always have a shrink wrap on large models, or are there vanilla models of anything (bases, scenery, other?) that must be made with no shrink wrap?

Posted on: 2011/2/16 13:29
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2008/5/28 21:00
From Muncie, Indiana, United States
Group:
Registered Users
Senior Members
Posts: 260
Offline
Furthermore, what's the point of the shield bubble? Shield hit detection relies on another SUR, doesn't it? So then why do fighters have them at all?

Also, does/will the converter do shield bubbles?

One thing to note, and something that bothers me; when loading a SUR made by the converter into HardCMP editor, the editor crashes. That's kinda annoying, and the editor doesn't crash when loading SURs made from MilkShape's SUR Exporter.

Posted on: 2011/2/16 13:48
Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2010/2/17 20:45
From Germany
Group:
Registered Users
Senior Members
Posts: 466
Offline
Quote:

mknote wrote:
Furthermore, what's the point of the shield bubble? Shield hit detection relies on another SUR, doesn't it? So then why do fighters have them at all?

Also, does/will the converter do shield bubbles?


Shield bubbles are just for your eye, details. If your shield is online the hit detection will use this shield bubble. No hit will reach your ship, it will hit the bubble far around the ship.
But you don't realy need this, like I sad: just a detail.

The sur converter won't create shield bubbles. And one point for you: shield bubbles are using extra surfiles (they are defined in select_equip). These bubbles are represented by a 3db file without visible geometrie and just a HpConnect Point.

Posted on: 2011/2/16 14:02
Top
Re: .obj -> .sur converter
Starport Admin
Joined:
2008/2/26 20:36
From Germany
Group:
Webmasters
Registered Users
Posts: 1711
Offline
Too bad we dont have the source for HardCMP, but thank god the new UTF editor will soon replace it.

I also wonder about the shield bubbles though.

Regarding shrink-wraps, I think every vanilla ship is shrink-wrapped _even_ if it has a shield bubble.

Posted on: 2011/2/16 14:02
Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2008/7/8 21:15
From Germany
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 495
Offline
The reason why .sur files generated with the sur splicer don't have convex hulls around everything is, that it uses the trick to put every group as complete new part into the .sur file, meaning that you have for every part a new header, a new group, a new triangle list and a new bit section. This is what basically is used for multipart meshes (although the multipart groups also seem to be included in the very first part of the files, didn't have the time to look into that yet).

It seems that until now no one besides me figured out how the bit section really works, so they just used one entry instead of multiple (a side effect of the tree is that if you only have one node it also is the convex hull around everything). As soon as you have more than one node you need this hull to tell Freelancer where the geometry starts and where it ends.

If i would use the method the sur splicer uses the file size would be way larger as it is already now if you have many groups. Plus it was never meant to be used that way.

Posted on: 2011/2/16 14:36
Top
« 1 2 3 (4) 5 6 7 ... 28 »