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.

Newcomers DBPro Corner / Hide object?

Author
Message
Silveraxe
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location:
Posted: 21st Jan 2003 14:44
I guess there is a command hideobject as I read it here somewhere.

If you have 500 spheres on the screen, there won't be no high framerate.

If you hide then will the framerate be the same or almost return to normal?
Dr DooMer
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United Kingdom
Posted: 21st Jan 2003 16:15
I'm not sure about what speed you would get, but I'd assume that your program would run nearly as fast as it would if you hid all those spheres. Not quite as fast as it would go if they didn't exist but, since it's not needing to render any polygons/textures/lighting/whatever, but still needs memory and processor bandwidth because the object is still there.

Also, the command you're thinking of is: "hide object xx" Where xx is the number of the object you want to hide.

"I am a living, thinking entity who was created in the sea of information."
Dr DooMer
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United Kingdom
Posted: 21st Jan 2003 16:16
Sorry, I should have re-read my own post there - I've really screwed up the grammar. You still understand, right?

"I am a living, thinking entity who was created in the sea of information."
Silveraxe
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location:
Posted: 21st Jan 2003 19:14
oh yes. thank you for your time

Attreid
21
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 21st Jan 2003 20:43
hello, you can try this code :


it hide only the objects that you don't see, so if an object isn't in the screen, it is nearly as if it doesn't exist for the speed of the programm

I'm following John, but I'm not john.
Lol, it is funnier in french

Login to post a reply

Server time is: 2024-11-23 21:33:42
Your offset time is: 2024-11-23 21:33:42