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 / Statistic dont work

Author
Message
Juso
23
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 19th Feb 2003 23:04
Statistic(1) should return the current number of
polygons used to render the scene.

It always returns value of 0

Why?
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 19th Feb 2003 23:18
well, it's seems like a stupid question, but are you displaying 3D objects on the screen when you call this?

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Juso
23
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 19th Feb 2003 23:26
Sure there is objects like this and I get always 0:

sync on
make object cube 1,5
do
set cursor 0,0
print statistic(1)
sync
loop
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 20th Feb 2003 00:33
try


Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Feb 2003 00:43
No, that comes up with 0 too...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 20th Feb 2003 00:56
odd... try the other statistics, theres 11 of them from 0 - should all return certain information about the rendering, maybe the number was changed for it

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 20th Feb 2003 02:14
hmm, that's interesting. Email Lee about that...

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Juso
23
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 20th Feb 2003 11:58
I even tried from -10 to 10 and always get zero

Login to post a reply

Server time is: 2026-07-21 14:41:02
Your offset time is: 2026-07-21 14:41:02