Interface?

Started by
1 comment, last by Pinky 24 years, 7 months ago
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.

Phillip Schuster
Advertisement
Hi,
I am trying to create an interface.
I am using ShowOverlay (from the example),
PRGFX_PutTexture.

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?


------------------
Pinky.
ICQ 42026534

Pinky.
ICQ 42026534
Thanx, I'll try that.

------------------
Pinky.
ICQ 42026534

Pinky.
ICQ 42026534

This topic is closed to new replies.

Advertisement