Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Go Back  Xtreme Visual Basic Talk > > > > Any way to "blit" to the Z Buffer?


Reply
 
Thread Tools Display Modes
  #1  
Old 12-10-2004, 03:46 AM
CodeImp CodeImp is offline
Newcomer
 
Join Date: Dec 2003
Location: Netherlands
Posts: 21
Lightbulb Any way to "blit" to the Z Buffer?


Im trying to render a very detailed terrain and because it has so many number of vertices and indices, I use an editor which pre-renders the terrain for me (isometric). Now I have images that I can "blit" to the screen which saves a lot of time,... BUT, how can I write the terrain depths to the Z Buffer? I dont want to use the D16LOCKED depthformat, because many cards do not support this and I'm afraid that rendering the very detailed terrain model to the Z Buffer only will be slow. Does anyone have any experience with this? Is there a way to include Z depths as a channel in my images maybe? Any other ways to get the depths in there?

Thanks,
Pascal vd Heiden
__________________
Pascal vd Heiden | www.codeimp.com | www.doombuilder.com | www.doomconnector.com
Reply With Quote
  #2  
Old 12-10-2004, 08:18 AM
Faith's Avatar
Faith Faith is offline
Contributor
 
Join Date: Sep 2003
Location: Finland
Posts: 690
Default

Are you trying to make an isometric game perhaps, and by "saving the depths of the image to the Z buffer" do you mean to achieve something related to collision detection or what, or perhaps something shadow-related or perhaps something rendering related? Explaining what you want to achieve with this would be of great help.
Or do you want to make a low polygon plane for your high-detail picture, as in to optimize yer program? Or is it isometric, so the camera isn't 3d?
__________________
I love deadlines. I like the whooshing sound they make as they fly by. - Douglas Adams
Reply With Quote
  #3  
Old 12-12-2004, 06:01 AM
CodeImp CodeImp is offline
Newcomer
 
Join Date: Dec 2003
Location: Netherlands
Posts: 21
Default

I think I told it was isometric and that im blitting pre-rendered images, but I need the Z information with them. But no worries, GameDev forum has answerred this question. For anyone who is interested: There is no way to access the Z Buffer without using the D16LOCKABLE Z Buffer format. The best thing to do is to take the model, turn of lighting, turn off the ColorWriteEnable renderstate and use no textures, then render the model to apply it to the Z Buffer.
__________________
Pascal vd Heiden | www.codeimp.com | www.doombuilder.com | www.doomconnector.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer? Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
 
Any way to "blit" to the Z Buffer?
Any way to "blit" to the Z Buffer?
 
-->