IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
  Reply to this topicStart new topicStart Poll

 [Q]Z-buffering, drawing

 Draw texture under/above other textures
 
DK22Pac  
Posted: Sunday, Apr 22 2012, 19:21
Quote Post


Assembly!
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



Hello. I want to ask is this possible to draw texture above already drawed textures. Is this possible with manipulations with Z-coordinate? I tried to set Z coord to negative value, -1.0 f.e, but then I don't see texture on a screen.

PS I use original RenderWare's procedures to draw.
Users WebsitePM
  Top
 

 
K^2  
Posted: Monday, Apr 23 2012, 02:43
Quote Post


Vidi Vici Veni
Group Icon
Group: Zaibatsu
Joined: Apr 14, 2004

us.gif

Member Award




Normally, you should be able to temporarily disable depth buffer. I have no idea how it works with RenderWare, though. Your -1.0 doesn't work because it puts the texture outside of clipping space. Personally, I would suggest working with a more civilized graphics library, if that's at all an option.
PMMSN
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG