Maximum number of subentities

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Maximum number of subentities

Post by ClymAngus »

quick question, probably asked it before;

a) What is ther maximum number of sub entities a ship can have?
b) does this change from version to version of oolite?

I have a couple of things on the wings drawing board and the answer will effect the design.
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

No theoretical limit afaik, but I wouldn't want to try with more than 60 or so...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Post by ClymAngus »

Well I'd probably draw a halt at about 12 or so with several interchangable variations. Maybe going as high as 20 for the really evil ships. :D

Yes, after all the broo-ha-ha about making the game easier it's time to make it harder. :twisted:
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: Maximum number of subentities

Post by CommonSenseOTB »

If there is a maximum of 2047 entities, what is the maximum number of subentities?

Specifically as well, would it be possible to have a player ship with rather simple subentities but lots of them, say from 50 to as much as 1000 while having the npc's ships with say 50 or less each, again with each subentity not having a crazy number of vertices?

What are the current limits in the latest version of oolite? Are there any inherent problems to the example above and if so what workarounds or solutions are available or advisable?
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: Maximum number of subentities

Post by CommonSenseOTB »

CommonSenseOTB wrote:
If there is a maximum of 2047 entities, what is the maximum number of subentities?

Specifically as well, would it be possible to have a player ship with rather simple subentities but lots of them, say from 50 to as much as 1000 while having the npc's ships with say 50 or less each, again with each subentity not having a crazy number of vertices?

What are the current limits in the latest version of oolite? Are there any inherent problems to the example above and if so what workarounds or solutions are available or advisable?
Does anyone have any thoughts on this?
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Maximum number of subentities

Post by Smivs »

Does the maximum number include subentities?
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: Maximum number of subentities

Post by CommonSenseOTB »

Smivs wrote:
Does the maximum number include subentities?
I get the maximum number of entities from a recent post by Eric Walch. 2047. That's a good question Smivs.

The post:
https://bb.oolite.space/viewtopic.php?f= ... 83#p153965
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Maximum number of subentities

Post by Eric Walch »

Smivs wrote:
Does the maximum number include subentities?
No, only the explicit main entities have a limit. Those entities are kept in a special array for keeping track of their 3D whereabouts in the system. In oolite 1.65 that limit was about 500 and is currently 2047. For subentities there is no limit counter although every subentity needs updating and will further slowdown your computer.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Maximum number of subentities

Post by Smivs »

Thanks, Eric. That's interesting.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: Maximum number of subentities

Post by CommonSenseOTB »

Thankyou Eric, that's good to hear! :D
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
Post Reply