Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Thread Closed 
Thomas, 2008-02-13, "Render To Texture" (includes demoapp)
Author Message
Thomas Offline
Frictional Games

Posts: 2,454
Joined: Apr 2006
Reputation: 42
Post: #1
Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

Hi again all!

One of the things that I am planning to do in this work log is to release a demo showing off a new feature whenever I can. That way I can see how well the engine works on various machines and you readers will also be able to follow the development in a more hands-on fashion!

First out is a render to texture test. In HPL1 I never used any direct rendering to texture, but instead I copied data from the screen to a texture. This was good for the time being, but it also had a bunch of drawback most notably it could be quite slow on certain instances. For HPL2 I will have full render to texture support though and I just finished the implemenation.

Attached is a screenshot showing how it should look. If you get any strangenes while running please post a reply and report it along with a copy of hpl.log and a screenshot (taken using F8)

DEMO DETAILS
---------------
Download Link:
http://www.unbirthgame.com/files/RenderToTexture.zip
Minimum Requirements:
Radeon 9600 / Geforce FX
Controls:
W, A, S and D: Move around
Mouse: Look around
F8: Screenshot
Comments:
If anyone wants to mess around with the pattern generated feel free to fiddle around with "texture_render_test_fp.cg" in the programs folder. If you get anything working please attach a screen! Smile
02-13-2008 10:49 AM
Find all posts by this user
WindexGlow Offline
Posting Freak

Posts: 1,108
Joined: Mar 2007
Reputation: -6
Post: #2
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

Texture appears completely white at all angles.

ATI x1550 (latest drivers as of september)
1.5 gigs of ram
Unknown processor

Please -REP me.
Honestly, please do. I want to see how low I can go!!
Ignore that error message too. Just ignore it and keep going to give me -rep.
02-13-2008 01:53 PM
Find all posts by this user
Thomas Offline
Frictional Games

Posts: 2,454
Joined: Apr 2006
Reputation: 42
Post: #3
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

Please attach hpl.log.
02-13-2008 02:08 PM
Find all posts by this user
WindexGlow Offline
Posting Freak

Posts: 1,108
Joined: Mar 2007
Reputation: -6
Post: #4
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

done, txt added.

Please -REP me.
Honestly, please do. I want to see how low I can go!!
Ignore that error message too. Just ignore it and keep going to give me -rep.
02-13-2008 02:19 PM
Find all posts by this user
Thomas Offline
Frictional Games

Posts: 2,454
Joined: Apr 2006
Reputation: 42
Post: #5
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

Please try the attached exe and see if that helps. I turned off mip map generation for the render texture.
02-13-2008 02:45 PM
Find all posts by this user
burbble Offline
Junior Member

Posts: 28
Joined: Mar 2007
Reputation: 0
Post: #6
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

This is interesting. With an ATI Radeon X1650XT and latest driver (8.1), the original EXE renders it all white and the NoMipMaps EXE renders it properly. With the 7.11 driver, both work perfectly (maybe related to problems with ATI drivers and Penumbra in this thread http://frictionalgames.com/forum/showthr...p?tid=1683 ?).

- Luke
02-13-2008 07:40 PM
Find all posts by this user
Thomas Offline
Frictional Games

Posts: 2,454
Joined: Apr 2006
Reputation: 42
Post: #7
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

burbble:
Just love ATI drivers Tongue I am gonna make a change tomorrow or tonight and see if that helps. Right now I generate mipmaps while the texture is still set as render target. Perhaps that is what is causing it.

Please check by and test when I have an update
02-13-2008 08:00 PM
Find all posts by this user
Thomas Offline
Frictional Games

Posts: 2,454
Joined: Apr 2006
Reputation: 42
Post: #8
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

Attached is another update exe. Please try and say what the results are.
02-13-2008 09:16 PM
Find all posts by this user
burbble Offline
Junior Member

Posts: 28
Joined: Mar 2007
Reputation: 0
Post: #9
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

Same results as with the original. With newest 8.1 drivers, texture is all white, but with older 7.11 driver, looks perfect.

They sure heat up my graphics card quickly! Smile

- Luke
02-13-2008 09:24 PM
Find all posts by this user
WindexGlow Offline
Posting Freak

Posts: 1,108
Joined: Mar 2007
Reputation: -6
Post: #10
RE: Thomas, 2008-02-13, "Render To Texture" (includes demoapp)

Second test worked; third didn't. Here is the attached HPL log for third test.

Please -REP me.
Honestly, please do. I want to see how low I can go!!
Ignore that error message too. Just ignore it and keep going to give me -rep.
02-13-2008 10:32 PM
Find all posts by this user
Thread Closed 




User(s) browsing this thread: 1 Guest(s)