Jump to content
  • Advertisement
Sign in to follow this  
TheSkyline13

[Solved] Rendering Model On Top

This topic is 2809 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm trying to render a model over top of every other model, in sense I'm trying to create a move tool. I draw out all my models using the DrawPrimitives method, then using the same method draw out the lines for the x,y and z. I'm trying to use SetRenderTarget to overlap the models, I'm not sure if this is the right method to use, I'm having difficulty finding anything related to this. Am I on the right track or just completely off, I've been messing around with this function with no luck so far.

[Edited by - TheSkyline13 on October 11, 2010 12:13:52 PM]

Share this post


Link to post
Share on other sites
Advertisement
What API?

If you've rendered everything else and you just have to render one last model, can you just clear the z-buffer and then draw it?

Share this post


Link to post
Share on other sites
Quote:
Original post by empirical2
On at least OpenGL you can also just disable the depth test which would be quicker (maybe).


That won't necessarily work if the model isn't designed for it, otherwise the model itself won't have any depth testing (back of the model might be drawn over the front of it, eyeballs in the back of the head, that sort of thing)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!