Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Frictional Games (https://www.frictionalgames.com/forum/forum-3.html) +--- Forum: Blog (https://www.frictionalgames.com/forum/forum-23.html) +--- Thread: Thomas, 2008-02-29, "Multiple Views" (includes demoapp) (/thread-1848.html) |
Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - Thomas - 03-01-2008 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 I will soon start working on a proper renderer RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - WindexGlow - 03-01-2008 !!! I remember a user posting about that site a year back; have we found the source of Frictional Games next game?! RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - Thomas - 03-01-2008 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 It essentially turned into Penumbra. RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - WindexGlow - 03-01-2008 Also; (unknown processor name; it's 2.4gigz or something) x1550 video card (with 8.2 driver) 1.5gigs of ram Worked perfectly. RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - Bou_Frost - 03-06-2008 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 RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - Thomas - 03-07-2008 Bou_Frost: No lightning implemented yet so all is as it should RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - WindexGlow - 03-07-2008 Alittle off-topic for the second time; is "I am a set over all other!" an easter egg, or something more..sinister? RE: Thomas, 2008-02-29, "Multiple Views" (includes demoapp) - eliasfrost - 03-07-2008 I think it's that the big cube is above the other four cubes. Nothing special. |