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


Thread Closed 
Thomas, 2008-02-29, "Multiple Views" (includes demoapp)
Author Message
Thomas Offline
Frictional Games

Posts: 2,634
Joined: Apr 2006
Reputation: 68
Post: #1
Thomas, 2008-02-29, "Multiple Views" (includes demoapp)

Time for another work log.

This time I have finally implemented the single largest change in design for the new engine - the Viewport. The last engine really only had one world and one camera that could be active for the frame to be rendered and this was something I wanted to change for HPL2.

The way the viewport system works is that one can create one or many viewport objects and each object can contain a World, Camera, Renderer, RenderTarget, etc. None of these objects need to be unique for a given Viewport, meaning that you can have multiple Viewports with the same World if you want to get many different views on the same scene. Each of these Viewports can also have different Renderers assigned to them. By using this functionality one can let different views be rendered in different ways, one wireframe, one normal, one heatvision and so on.

The view ports can also be rendered to textures letting you do TV screens that show display the view from a security camera or something completly different like a mini-game taking place in a totally sepperate game world. The possibilities are endless and this will make the new engine a lot more powerful and versatile.

The demo app for this work log renders one world, from 4 different views. This is done using 4 Viewports each with a unique Camera and all pointing to the same World. It also renders another world (only containing a spinning box) to a texture and displays it translucently on top of the other views. The Viewport that renders the texture with the box and large text has no World or Camera and is only used for 2D drawing.

Please check so it looks like the attached screenshot, else take a screenshot and post it below and I will try and fix.

DEMO DETAILS
---------------
Download Link:
http://www.unbirthgame.com/files/MultipleViews.zip
Minimum Requirements:
Radeon 9600 / Geforce FX
Controls:
F8: Screenshot
Comments:
Yeah, graphics look crap Tongue I will soon start working on a proper renderer Wink
03-01-2008 12:36 AM
Find all posts by this user
WindexGlow Offline
Posting Freak

Posts: 1,108
Joined: Mar 2007
Reputation: -5
Post: #2
RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp)

!!! I remember a user posting about that site a year back; have we found the source of Frictional Games next game?!

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.
03-01-2008 02:48 AM
Find all posts by this user
Thomas Offline
Frictional Games

Posts: 2,634
Joined: Apr 2006
Reputation: 68
Post: #3
RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp)

WindexGlow Wrote:!!! I remember a user posting about that site a year back; have we found the source of Frictional Games next game?!
Unbirth is an old work I started working on by myself a loooong time ago Smile

It essentially turned into Penumbra.
03-01-2008 08:54 AM
Find all posts by this user
WindexGlow Offline
Posting Freak

Posts: 1,108
Joined: Mar 2007
Reputation: -5
Post: #4
RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp)

Also;
(unknown processor name; it's 2.4gigz or something)
x1550 video card (with 8.2 driver)
1.5gigs of ram

Worked perfectly.

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.
03-01-2008 09:01 PM
Find all posts by this user
Bou_Frost Offline
Junior Member

Posts: 10
Joined: Apr 2007
Reputation: 0
Post: #5
RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp)

It looks exactly like the screenshot, ... but the lightsource above the cube is missing ...

Windows Vista Ultimate
Intel Q6600 @ 2,7GHz
ATI HD2900XT
4 x 1GB Ram
03-06-2008 10:37 PM
Find all posts by this user
Thomas Offline
Frictional Games

Posts: 2,634
Joined: Apr 2006
Reputation: 68
Post: #6
RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp)

Bou_Frost:
No lightning implemented yet so all is as it should Smile
03-07-2008 07:22 AM
Find all posts by this user
WindexGlow Offline
Posting Freak

Posts: 1,108
Joined: Mar 2007
Reputation: -5
Post: #7
RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp)

Alittle off-topic for the second time;
is "I am a set over all other!" an easter egg, or something more..sinister?

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.
03-07-2008 08:01 AM
Find all posts by this user
eliasfrost Offline
Posting Freak

Posts: 1,769
Joined: Mar 2007
Reputation: 39
Post: #8
RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp)

I think it's that the big cube is above the other four cubes. Nothing special.

[Image: indiedb_88x31.png]
03-07-2008 08:31 AM
Find all posts by this user
Thread Closed 




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