Jump to content

  • Log In with Google      Sign In   
  • Create Account

2D background behind a 3D world


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Laeeq Hamid   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 August 2001 - 07:25 PM

Is there any way through which we can make a continus background definately a 2D behind 3D objects.

Sponsor:

#2 Zerosignull   Members   -  Reputation: 122

Like
Likes
Like

Posted 11 August 2001 - 04:20 AM

could always try glDrawPixels the the screen b4 straight after u have cleared ure screen

~prevail by daring to fail~

#3 TerranFury   Members   -  Reputation: 142

Like
Likes
Like

Posted 11 August 2001 - 11:48 AM

Turn off depth writes, draw a textured quad in ortho mode, switch back to perspective mode, and turn depth writes back on.

Unless somebody else has a better idea...

#4 mittens   Moderators   -  Reputation: 1315

Like
Likes
Like

Posted 11 August 2001 - 02:09 PM

At the beginning of the frame, go into orthographic mode, and render the background (turning depth testing off), that should be what you need.

------------------------------
Trent (ShiningKnight)
E-mail me
Shining Darkness- A division of Chromesphere Studios




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS