realbasic-games
[Top] [All Lists]

Re: 3D Ball

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: 3D Ball
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Thu, 29 Sep 2005 15:10:04 -0600
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <BF5DEAC8 dot F0E4%larsjensen at rcn dot com> <B948991C-9A3E-4B36-84BD-7C8C9BBA4BBB at nosrelo dot it> <a0620071ebf61ecfbc94d at [10 dot 0 dot 1 dot 4]> <71692343-28EA-496F-AF24-60F3F8673D93 at nosrelo dot it>
At 10:46 PM +0200 9/29/05, Niccolo Zapponi wrote:

I tried to put the Rb3DSpace1.Refresh call instead of Update, but no difference.

That would just decrease your performance by needlessly erasing the Rb3DSpace. Don't replace the Update call with something else; just take it out entirely. Then see how fast it is. If it's still slow with 70 objects, then the problem is not rendering, but whatever the rest of your code is doing.

The only thing I do with them is to load them into the 3D World and then go among them with the ball...

Right, and what does that mean, exactly? Are you doing collision tests on every one, for example? What code executes on a per-object basis that might be slowing your app down?

Best,
- Joe

--
Joe Strout                          REAL Software, Inc.

Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>