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 Professional Discussion / loading objects differences

Author
Message
Cescano
10
Years of Service
User Offline
Joined: 4th Sep 2014
Location: Italy
Posted: 25th Dec 2014 03:15
Is there a difference in terms of performance by loading let's say:

-a table and instance it making other 19 tables

or

-making the 20 tables in 3ds max all together loading it as a single object?

( merry Christmas by the way )
Sasuke
19
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 25th Dec 2014 04:47
Instancing Explanation:
Quote: ""Given a scene that contains many objects that use the same geometry, you can draw many instances of that geometry at different orientations, sizes, colors, and so on with dramatically better performance by reducing the amount of data you need to supply to the renderer. - DirectX 9 MSDN.com""


Each object has a lot of unique information it needs to process various factors like light and shading and etc. By combining all the objects, they share that unique information. For example, position XYZ. If you had 10,000 objects, each would have it's own unique coordinates. But say if all those objects were just one object you'd only have 3 coordinates (XYZ... actually there's more but that's more complex) compared to 30,000. That's a lot less data.

Merry Christmas to you too

"Get in the Van!" - Van B

Login to post a reply

Server time is: 2025-05-12 04:24:38
Your offset time is: 2025-05-12 04:24:38