Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 6980 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

Hi !

Well, the biggest problem is that the textures are bilinear filtered. If you want to do a 3D Interface use Power Render. If you want to do a "simple" 2D Interface I would use DirectDraw.
You can initialize and start Power Render as normal. Then, set the viewport to 0,0,0,0 or if you want a 3D preview, set it to the position in the interface.
The rest of the screen is a DirectDraw Surface (I think it's wgtbackbuffer or so), which you can modify. Check out winutil.c (function resize). There you will find all of Power Render internals regarding DirectX.

Before I went to MFC to code my PRO-Editor I used the same method to do all my windows and button stuff.

Share this post

Link to post
Share on other sites
I am trying to create an interface.
I am using ShowOverlay (from the example),

The problem is that PR enlarge the texture
to power of 2 (I think).

Anyway the result is that the panel looks distorted.

Any ideas?

ICQ 42026534

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!