Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Maximum Limbs?

Author
Message
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 20th Jan 2006 23:48
I seem to have come accross a problem. There seems to be a maximum number of limbs allowed in a model. What is the maximum?

Anyhow. I am making a building where every object is a limb, and it's a skyscraper. So now I need a way to get round the maximum limb problem. Do you have to load the same X object hundreds of times to make each room, because that X model has a root limb?

Why limbs?

Because it seems to improve the ZBuffer drawing order. I get less mess.

SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 23rd Jan 2006 14:55 Edited at: 23rd Jan 2006 14:58
I believe the limit is 99 limbs...

The limit for objects is 65535 so you might be able to stick 2 or more objects right on top of each other. Then glue each object to limb 1 of the object below it. (so they all keep the same rotation and structure) That may work. The idea is completely untested though, so it may not work at all...

...maybe one day I'll finish a project
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 23rd Jan 2006 18:38
I made lots of root limb objects in the end. Make object from mesh actually makes a root limb (I didn't know that). My skyscraper had 400 objects per floor, and twenty floors, so it sure had a lot of limbs. I have optimised it now anyway.

Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 8th Feb 2006 13:36
I have run into the limb limit again, now I am making a tree generator. I only have 35 limbs, and the program is reporting an error.. limb not found. It is fine for 30 limbs or less. What's going on? I need my tree segments to be linked, and there is no easy way around it.

Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 8th Feb 2006 18:02
Seems to be 32 limbs maximum. I have made seperate branches for my tree. It should be OK.

Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 9th Feb 2006 22:47
strange my 3d objects have more than 40 limbs

[/center]
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 9th Feb 2006 23:09
Well I printed out the limb number before it gives an error, and it was 32. Limb does not exist. Although the limb does exist as a number, it could not be made. Maybe it is a link limb maximum limit, I don't know.

Login to post a reply

Server time is: 2025-05-23 13:11:22
Your offset time is: 2025-05-23 13:11:22