Terrain Rendering Broken in DX9/8.1, works in OGL.
Terrain Rendering Broken in DX9/8.1, works in OGL.
On my system, Windows XP, ATI Radeon Mobility 9000, DX9c 2GB RAM, Terrain Rendering is borked. OpenGL works just fine.
Here's a video showing what it looks like: http://www.youtube.com/watch?v=2q7c7WSuMqU
(Just for a clarification, the video is SVN revision 1968, but it behaves the same with the 1.5 build using DX9 and DX8.1.)
Here's a video showing what it looks like: http://www.youtube.com/watch?v=2q7c7WSuMqU
(Just for a clarification, the video is SVN revision 1968, but it behaves the same with the 1.5 build using DX9 and DX8.1.)
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
I can see it in D3D 8.1 but not D3D 9.
The cause escapes me for the moment.
The cause escapes me for the moment.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
for the bold part : hm, when i run the terrain rendering example in software driver or in burning's driver the console starts spamming a message "software driver cannot render 32bit buffers" so i guess it doesn't generate 16bit..hybrid wrote:Did it work with 1.4.x? This is the unaltered SDK example? I'd guess that there's some cap missing for 32bit indices, however the default terrain should generate 16bit terrains...
I've also seen a similar problem with the ogl-es driver, but didn't investigate it so far.
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
It doesn't work also with:
Mobile Intel(R) 915GM/GMS,910GML Express Chipset Family ialmrnt5.dll 6.14.10.4332, WinXP SP2
Irrlicht version 1.5 and SVN 1981 (1.4.2 works fine)
DirectX 9.0c (OpenGL works fine)
The terrain isn't rendered when heightmap is 513x513. If it's 129x129 it works fine. No errors in console. Even the compiled example of terrain rendering in the 1.5 release doesn't work.
It works fine with RADEON X550 ati2dvag.dll 6.14.10.6561, both Irrlicht versions.
Mobile Intel(R) 915GM/GMS,910GML Express Chipset Family ialmrnt5.dll 6.14.10.4332, WinXP SP2
Irrlicht version 1.5 and SVN 1981 (1.4.2 works fine)
DirectX 9.0c (OpenGL works fine)
The terrain isn't rendered when heightmap is 513x513. If it's 129x129 it works fine. No errors in console. Even the compiled example of terrain rendering in the 1.5 release doesn't work.
It works fine with RADEON X550 ati2dvag.dll 6.14.10.6561, both Irrlicht versions.
Can I assume that this issue will be fixed in Irrlicht in some near future (let's say - one month), and after that I'll be able to use as large terrains as I like on every video card on DX9, or is it only my dream which will never come true?hybrid wrote:There are two things: The 256x256 terrain now also uses 16bit indices, so the example should work again. But larger terrains still use 32bit indices, and we have to check the caps for proper support.
Thanks for the info anyway!
Actually after releasing 1.5 I converted all my tiled terrains (which didn't fit together good when watched with LOD>0) to one big terrain and now on some graphics cards this can't be viewed with DX9 renderer which we're using. Temporary workaround is using OGL renderer but this slows down the framerate.
Is there any idea to get it working right now or we'll have to wait? I ask because I must release my project demo this week and it's a bit annoying.
SVN 2010 still broken.
Is there any idea to get it working right now or we'll have to wait? I ask because I must release my project demo this week and it's a bit annoying.
SVN 2010 still broken.
Unless I'm mistaken, it sounds as though the radeon supports 32-bit indices and the intel doesn't. DXDiag should tell you this IIRC.matgaw wrote:It doesn't work also with:
Mobile Intel(R) 915GM/GMS,910GML Express Chipset Family ialmrnt5.dll 6.14.10.4332, WinXP SP2
Irrlicht version 1.5 and SVN 1981 (1.4.2 works fine)
DirectX 9.0c (OpenGL works fine)
The terrain isn't rendered when heightmap is 513x513. If it's 129x129 it works fine. No errors in console. Even the compiled example of terrain rendering in the 1.5 release doesn't work.
It works fine with RADEON X550 ati2dvag.dll 6.14.10.6561, both Irrlicht versions.
Irrlicht Demos: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=45781