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.

Dark GDK / Clone an object

Author
Message
aersixb9
16
Years of Service
User Offline
Joined: 29th Nov 2007
Location:
Posted: 10th Jun 2008 04:30
Let's say I have a .3ds model of a sphere that I'm calling a "bullet"...and let's say I want to draw 250 of these on the screen at once...but I only want to load the 3d model once, not 250 times! Is there a way to draw one object multiple times?
dbGamerX
16
Years of Service
User Offline
Joined: 23rd Nov 2007
Location:
Posted: 10th Jun 2008 04:39
Yes, it is possible. It is called referencing/instancing. See details for dbInstanceObject() in the DGDK documentation.

dbPrint ( "Sig" );

Login to post a reply

Server time is: 2024-11-20 13:22:27
Your offset time is: 2024-11-20 13:22:27