Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Donations
Monthly costs: -50€
Income (ads): +25€
Donations (last month): +0€

Current balance: -65€
(last updated 2013/05)

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

Thanks!
Collapse/Expand Random Image
Collapse/Expand Poll
Would you be interested in Star Citizen modding?
Yes.
No, not interested in SC mods/modding.
No, not interested in SC in general.
Total Votes: 267
3 Comments
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Twitter
Collapse/Expand Who's Online
18 user(s) are online (9 user(s) are browsing Forum)

Members: 0
Guests: 18

more...
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 200 users playing Freelancer on 84 servers.
May. 21, 2013

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

« 1 ... 20 21 22 (23) 24 25 26 »


Re: .obj -> .sur converter
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1740
Offline
Good stuff guys.

I also uploaded the correct ConvexTool, on the other thread.

I am still unclear if the converter adds the "_lod1" suffix to sur parts?

Just about to do some testing.

Posted on: 2011/12/31 13:19
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Report Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2010/2/17 20:45
From Germany
Group:
Registered Users
Senior Members
Posts: 290
Offline
No, you must have the _lod1 in your obj file. The Converter adds nothing.

Posted on: 2011/12/31 14:16
SUR Tutorial Beginning
Open in new window
Report Top
Re: .obj -> .sur converter
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1740
Offline
Right, yes I just saw that.

It's probably better this way, because the Convex Tool adds "_convex" or "_lod1" for the modified version, so this will distinguish the convex parts from the originals in MilkShape until they are deleted.

I've modified my earlier post to correct it.

Posted on: 2011/12/31 19:07
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Report Top
Re: .obj -> .sur converter
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1740
Offline
Skotty, Schmack:

I am getting great surs, but I'm still not clear on how to use the group checkboxes, can you help please...

- I always check "Hardpoint" for hardpoints, of course.
- I always check "Static" for every group.
- I have not needed to make moveable parts yet.
- I don't attach any group to another because I think this is to be used when I need to make a complex non-convex sur shape in a single part? I have not needed to do this yet because there is no 18-part maximum limit.
- If I remember, you mentioned that if nothing is checked for a part, that part will be attached automatically to "Root", so if none of the parts have a check then this will result in a single-group sur file, all hits going to root?

Is this all correct, or do I really still not understand?

One more question please:

I have tried, but I still didn't understand the first option checkbox: "If maximum depth of a gap in connected triangles is not greater than x.x, use convex hull, else splice connected vertices".

Heheh - this is pogrammers' talk!! The negative expression doesn't help me, nor does mixing triangles (faces) with vertices... I've tried using it but couldn't see differences, probably because I don't know what I'm looking for and used the wrong test shapes?

Does this mean: "If the distance between two faces is more than x.x units, then merge the vertices for both faces (delete the two faces), but if it's less, use the convex hull function"?? If so, why please, I don't understand the reason? I would have expected the opposite?

An example model would help for this please if you can?

Thanks guys.

Posted on: 2012/1/17 11:39
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Report 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: 289
Offline
Quote:

StarTrader wrote:
Skotty, Schmack:

I am getting great surs, but I'm still not clear on how to use the group checkboxes, can you help please...

- I always check "Hardpoint" for hardpoints, of course.
- I always check "Static" for every group.
- I have not needed to make moveable parts yet.
- I don't attach any group to another because I think this is to be used when I need to make a complex non-convex sur shape in a single part? I have not needed to do this yet because there is no 18-part maximum limit.
- If I remember, you mentioned that if nothing is checked for a part, that part will be attached automatically to "Root", so if none of the parts have a check then this will result in a single-group sur file, all hits going to root?

Is this all correct, or do I really still not understand?


Seems correct to me, although I can't say much to the attached groups, maybe Skotty can help here.

Quote:

StarTrader wrote:
One more question please:

I have tried, but I still didn't understand the first option checkbox: "If maximum depth of a gap in connected triangles is not greater than x.x, use convex hull, else splice connected vertices".

Heheh - this is pogrammers' talk!! The negative expression doesn't help me, nor does mixing triangles (faces) with vertices... I've tried using it but couldn't see differences, probably because I don't know what I'm looking for and used the wrong test shapes?

Does this mean: "If the distance between two faces is more than x.x units, then merge the vertices for both faces (delete the two faces), but if it's less, use the convex hull function"?? If so, why please, I don't understand the reason? I would have expected the opposite?

An example model would help for this please if you can?

Thanks guys.


This is not easy to describe. Maybe you can come up with a better description for the checkbox.

Basically you have to imagine that the converter looks in each group for connected triangles, that means some sort of shape. Now if this shape is determined not to be convex it tries to determine if there are any gaps in it. E.g. if you have a sphere cut in half the gap will be where the cut is. The maximum distance from the triangles inside to the plane which lies over the gap is the value you enter into the textfield. If the distance is smaller, the convex hull is being used, which means the gap is being closed and you get half the sphere with no opening. This is useful to reduce polygon count in cases where closing this gap does not matter for the collisions (e.g. you don't need to fly into the halved sphere).

I hope this explains it

Posted on: 2012/1/22 11:18
Report Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2010/2/17 20:45
From Germany
Group:
Registered Users
Senior Members
Posts: 290
Offline
Quote:
- I always check "Hardpoint" for hardpoints, of course.
- I always check "Static" for every group.
- I have not needed to make moveable parts yet.
- I don't attach any group to another because I think this is to be used when I need to make a complex non-convex sur shape in a single part? I have not needed to do this yet because there is no 18-part maximum limit.
- If I remember, you mentioned that if nothing is checked for a part, that part will be attached automatically to "Root", so if none of the parts have a check then this will result in a single-group sur file, all hits going to root?


The third point is not right:
The attach means you are able to parent a group to another group (instead to root). So just set this if you want to parent a group to another one.
With that you would be able to create some kind of group-chain, like a train where every wagon is a group and the locomotive is the root.

Posted on: 2012/1/22 13:20
SUR Tutorial Beginning
Open in new window
Report Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2010/8/2 0:04
Group:
Registered Users
FLServer Admins
Posts: 374
Offline
Quote:

Skotty. wrote:
With that you would be able to create some kind of group-chain, like a train where every wagon is a group and the locomotive is the root.


Putting it as a last groups, connecting them like u said and marking them to be animated crashes the converter.
I am aware that its not suggested for player ships but wanted to see if on npc ship that can be animated.

Posted on: 2012/1/22 15:57
Of all things that I lost - brain I miss most
Report 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: 289
Offline
Well since that was a testcase we used we know it works. It would be helpful if you could post your .obj file and a screenshot of the configuration. You also can check static since FL behaves differently when you attach groups to each other. Also animation on players only work well with static groups (the name is misleading but the contradiction comes from FL here).

Posted on: 2012/1/22 17:05
Report Top
Re: .obj -> .sur converter
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1740
Offline
Thanks guys, I will try to make some test models when I have time to determine the results and I'll get back to you.

Posted on: 2012/1/23 1:09
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Report Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2010/8/2 0:04
Group:
Registered Users
FLServer Admins
Posts: 374
Offline
This is my tryouts!
Still I didnt started animating them with vodka's MS tut.
Ma aim is HIGH! A lot of animation I want to make!
- Head, Tail and Wings to bend
- Legs to stretch
( maybe also to fart! ^^ )

For start I would be happy if I can have animation on head and tail. Second setting produces valid sur (first is I know maybe wrong).

And one more I need! As Im out of luck to make proper wireframe, possible from the attached .obj file to make one simple and transfer it trough UTF editor in original CMP?
Must be a way to somehow place 10-15 cubes for groups as wireframe.

Attach file:


zip 3MAJ-SUR.zip Size: 729.11 KB; Hits: 28

Posted on: 2012/1/23 9:08
Of all things that I lost - brain I miss most
Report 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: 289
Offline
As Skotty wrote in the tutorial there seems to be a bug if you make the moveable parts not the last groups. Try moving the HpTorpedo01 group above the tail and head groups you want to make movable. I will try to fix it as soon as I have time (which wont be before mid march).

Posted on: 2012/2/8 13:48
Report Top
Re: .obj -> .sur converter
Just can't stay away
Joined:
2010/8/2 0:04
Group:
Registered Users
FLServer Admins
Posts: 374
Offline
Like this? Same thing.
No rush, its not that important, main thing works.
Also, if one of parts is missing (like one wing), animations doesn't work for rest.

Posted on: 2012/2/9 10:34
Of all things that I lost - brain I miss most
Report 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
I was wondering if anyone was having similar issues:

When other ships, (players or NPCs) collide with the .sur there's occasional freezing of the screen (for some lasts 1-2 seconds, other it's 10-20 seconds). Sometimes, though, there's crashing. I've used the latest version of the obj--> sur tool, so that's not an issue. I put HpMount hardpoint on all the ships (or the wireframes don't work). That's it for hardpoints, though.

I just don't know if it's a problem the way I'm making them OR if it's just something in the obj-->sur tool. I'm hedging my bets it's on me, though.

Posted on: 2012/4/21 18:05

Edited by Sushi on 2012/4/21 18:13:34
Edited by Sushi on 2012/4/21 18:44:03
Edited by Sushi on 2012/4/21 18:44:45
Open in new window
Report 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
Yep, my fault. I redid the weapon .surs and the lag is gone.

Posted on: 2012/4/21 20:54
Open in new window
Report Top
Re: .obj -> .sur converter
Just popping in
Joined:
2012/4/7 11:06
From Ukraine
Group:
Registered Users
Posts: 18
Offline
I had problem with O-shape sur's, they work incorrectly, frequently it is possible to fly through by surface from inside of the object. How to a fix them?
On screenshot I have represented preparation of sur from 12 groups.
I have made much grouped sur's for the ships, they work normally.

Attach file:



gif  gate.gif (8.25 KB)
44192_50952f68ae39a.gif 343X321 px
zip __sur.zip Size: 427.11 KB; Hits: 16

Posted on: 2012/11/3 14:53
Report Top
« 1 ... 20 21 22 (23) 24 25 26 »