| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| lag avoidance | |
|---|---|
| Tweet Topic Started: Sep 16 2007, 05:36 AM (349 Views) | |
| RockyBee | Sep 16 2007, 05:36 AM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
ok, usually in normal GM d3d, i'm using this code to keep the fps stays at 100fps (i usually use 100 as fps)
but would this possible to do the same with u3d? it just that i cant figure out the way to do this
|
![]() |
|
| Linkin | Sep 16 2007, 05:52 AM Post #2 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Is this a code to draw a less detailed model if the camera is further away? |
![]() Want something done in Photoshop, make a request Here Formerly known as DS-Development. | |
![]() |
|
| gamemakerguy1560 | Sep 16 2007, 06:24 AM Post #3 |
|
Creator of Expedition: Prehistory
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
try the built in LOD function lol. look it up in the manual. |
![]() My Forums | |
![]() |
|
| RockyBee | Sep 16 2007, 03:15 PM Post #4 |
|
Member
![]() ![]() ![]() ![]()
|
well, i'm not talking about the LOD function, i know how to use it but my question is that possible to not drawing the object when it is far from the camera at a given distance. the LOD is still drawing the object at a smaller triangle count. my room is about 1024*6 width and 769*8 height so there are many objects in the room (buildings, roads, traffic lights). i think Zip already answered my question in another forum so thanks anyway for willing to help
|
![]() |
|
| NoodleNog | Sep 16 2007, 08:55 PM Post #5 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
U3D has built in Frustum culling. Just change the max_range variable in the camera object to whatever you want. |
![]() |
|
| zelda4evr | Sep 17 2007, 12:06 AM Post #6 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
use lods, it looks better, and its more efficient. |
![]() | |
![]() |
|
| Matrix_Square | Sep 17 2007, 08:53 AM Post #7 |
![]()
Matrix Square Entertainment Developer
![]() ![]() ![]() ![]() ![]() ![]()
|
Uhhh... What? Anything out of the camera's range when using frustum culling will NOT be rendered, thus taking NO computation cycles. Compare that to a low LOD model which is still taking computational cycles, frustum culling is more efficient. That said, using LOD may improve the overall look of the game if you need long draw distances, since frustum culling will look weird if the draw distance of the game is greater than the frustum culling range (since you'll see models chopped in half if it's right at the edge of the camera's max range). |
| SPRING time PROGRAMMING - GM & Ultimate3D Tutorials | |
![]() |
|
| RockyBee | Sep 17 2007, 03:54 PM Post #8 |
|
Member
![]() ![]() ![]() ![]()
|
i guess NoodleNog gets what i mean
|
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)







2:35 AM Jul 11