![]() |
|
|||||||
| Developers' Corner General World Wind development. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Oct 2004
Location: Karlsruhe, Germany
Posts: 8
![]() |
Hi,
in file WorldWindow.cs, function WorldWindow.OnDeviceReset (), various DirectX device options are set. One of them, device.RenderState.Clipping, tells DirectX to clip everything drawn against the viewing frustum. Unfotunately, this option is explicitely turned off. Why ? :blink: I'm messing around with the code drawing the latitude and longitude lines, and it would be really nice, if i could simply rely on DirectX clipping instead of re-implementing clipping. I've tried turning on clipping to check if that leads to new bugs, but i couldnt notice any new drawing bugs. Instead i found out, that it fixes all drawing bugs in WorldWind that i know of. Maybe clipping was turned off while debugging something and then forgotten .. So, unless someone knows good reasons to leave clipping turned off, i would kindly ask you to turn it on. thx |
|
|
|
|
|
#2 |
|
Cosmic laser
Join Date: Sep 2004
Posts: 2,998
![]() |
Feel free to come into the chat room - http://chat.worldwindcentral.com - and talk to the devs.
Doesn't look like any are around right now.....normally in a few hours time it gets lively though.
__________________
Donate to support your community! Please donate if you can - every donation helps improve World Wind World Wind Central - FAQs, Hotspots, Wiki and more...READ before posting! Need to upload files? Use my free 50Mb uploader! Or, how about some web hosting or web design? |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Oct 2004
Location: POLAND
Posts: 153
![]() |
No software clipping means better performance, but causes problems on some older cards.
|
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Mar 2005
Posts: 13
![]() |
Quote:
|
|
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Oct 2004
Location: Karlsruhe, Germany
Posts: 8
![]() |
Quote:
either download and recompile them, or wait for the next regular or beta version. |
|
|
|
|
|
|
#6 | |
|
Junior Member
Join Date: Oct 2004
Location: Karlsruhe, Germany
Posts: 8
![]() |
Quote:
However, i couldnt notice any change in the FPS rate with or without clipping. My graphics card is really ancient (NVidia Riva TNT2) and it doesnt support T+L on the GPU, so on my computer, clipping happens on the FPU. I would be surprised if newer graphic cards show a noticeable slowdown. |
|
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Mar 2005
Posts: 13
![]() |
Quote:
In other words, no? :unsure: |
|
|
|
|
|
|
#8 | |
|
Junior Member
Join Date: Oct 2004
Location: Karlsruhe, Germany
Posts: 8
![]() |
Quote:
If you dont have MS Visual Studio .NET 2003, there are several other development environments, e.g. SharpDevelop (http://www.icsharpcode.net/OpenSource/SD/). |
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|