Portalized - Back and Better Than Ever - Scalable Movable Portals
885 replies, posted
Don't know if it has allready been mentioned but have you yet tried to make portals that only change the size of one dimention ? Per example: portal0 is 2 high and 1 wide but portal1 is 2 high and 2 wide, and if you go trough it will make everything twice as wide as it was before.
[QUOTE=MenteR]Uhm, can you put a portal inside a portal and make it bigger?[/QUOTE]
Yes.
[b]Edit:[/b]
[QUOTE=.:Opselda:.]Don't know if it has allready been mentioned but have you yet tried to make portals that only change the size of one dimention ? Per example: portal0 is 2 high and 1 wide but portal1 is 2 high and 2 wide, and if you go trough it will make everything twice as wide as it was before.[/QUOTE]
I already did, it works.
When I try to run it, it says it is not a valid Win32 application. Can someone upload this in a different format. Like, RAR.
What's wrong with ZIP. Try to download load it again and extract it with another program.
[QUOTE=Robber]
I already did, it works.[/QUOTE]
I wasn't talking about the portal itself but about how the world is going to be afected, like a cube enters the portal at 1x1x1 and comes out at 2x1x1. This would be nice for riddels like getting through a damn small crack in the wall.
I'm trying this on the school computer on direct x with no aa in windowed and everything is all dark gray looking and you practically can't see anything. Any quick fix?
[QUOTE=.:Opselda:.]I wasn't talking about the portal itself but about how the world is going to be afected, like a cube enters the portal at 1x1x1 and comes out at 2x1x1. This would be nice for riddels like getting through a damn small crack in the wall.[/QUOTE]
That's what I was talking about.
[QUOTE=VetteThe3rd]I'm trying this on the school computer on direct x with no aa in windowed and everything is all dark gray looking and you practically can't see anything. Any quick fix?[/QUOTE]
Play it at home?
Also, I got that dll, and now I just get the "Program has errors, closing now" message. I guess my computer just sucks.
Thanks for helping out, Robber :)
@ everyone: Sorry for the slowness, I sort of just traveled to Europe. And I'm stuck with a 647MHz AMD and a 64MB TNT2. Hey, it runs the Ogre terrain sample at 9FPS :D
So, yeah, sorry. Nothing new for about another 2 weeks. Though this time "away" is a good thing - being away from the project (instead of seeing it every day) has given me new ideas and lots of motivation. I can see why professional game programmers love doing side projects in addition to their normal work projects every day :D
I can't personally do the fall backs right now. Though, if anyone is feeling heroic, it's really easy. Here's a small guide:
1) you need to edit the material files of anything spawned. That'd be Level1.material for the level, ccube.material for the box, and marble.material for the sphere.
2) basically, you want to make sure each material has only one "pass{}" in it, with no GPU programs (shaders, like vertex_program_ref or fragment_program_ref). Something like:
[code]
material The_Material_Name
{
technique
{
pass
{
}
}
}
[/code]
You can use a diffuse texture with no lighting to further make it faster:
[code]
material The_Material_Name
{
technique
{
pass
{
lighting off
texture_unit
{
texture some_diffuse_tex.jpeg
}
}
}
}
[/code]
Um. Yeah. Kind of ugly, sorry.
Oh, and I just thought of something else. You can just make everything use a single material, by editing the lua props (Level1.lua, ball.lua, ccube.lua) and doing:
[lua]
gfx_material = "diffuse_shader_test"
[/lua]
That should use my stupid old diffuse shader, which runs on PS2.0 and uses no shadows/specular/slow stuff. If not, you can simple make your own little material file as above and set the gfx_material to that. I don't remember if it was "gfx_material", something like that.
If someone gets it working, please post it for others.
Thanks :). Be back with you in a week or two.
EDIT: Also, can everyone tell me what their log says about multiple render targets? I was thinking of switching my whole rendering technique, it'll both run faster and better at the same time (and portal-through-portal lighting will come with it for practically free). But you need to support multiple render targets.
[QUOTE=VetteThe3rd]I'm trying this on the school computer on direct x with no aa in windowed and everything is all dark gray looking and you practically can't see anything. Any quick fix?[/QUOTE]
I get this too. It's a hardware issue, so the quickest fix is put a new graphics card in that doesn't suck. :v:
You "sort of just traveled to Europe" ?
Sounds like you got kidnapped or something :v:
[QUOTE=Drew Carey]I get this too. It's a hardware issue, so the quickest fix is put a new graphics card in that doesn't suck. :v:[/QUOTE]
Read above :D
And, yes, I "sort of just traveled to Europe". Long story.
Oh, I've got an idea. Do you know how all the events in Crysis work? Does the word "flowgraph" tell you something? It would be cool to see it in Disorder engine.
nullsquared! Thank you so much! I attempted to edit the shaders before hand but I wasn't sure which ones needed to be changed, now I've edited them but I think I've removed too much, as now there is no light what so ever, but at least it starts!
I'll have another go tonight, and if I get it working I'll post the new files here :)
[b]Edit:[/b]
OK, tried again, following your instructions gets it working, but as I said before there is no light. But I noticed a couple of things that I think were pointed out before, in D3D mode, part of the console text is cut off at the start, but comes back after entering something and pressing enter. From what I could see it looked like Portals were working fine, I just couldn't actually see much :P
I thought I'd try in OGL to see if that made a difference. That also started fine, and the console appeared perfectly, however, when executing dofile(dd.."test_lua.lua"); my system abruptly rebooted, odd indeed, the only other time I have seen this in an OpenGL program was in one of the OGRE demo's, not too sure which one or I'd let you know.
I pastebin'd the log from before the crash, [url]http://pastebin.com/m187e44e[/url]
Hope I've helped somewhat.
[b]Edit:[/b]
I did it! I shall upload some fallback materials soon, just needa download a fresh zip as I lost the original one and my files are messy now >.<
Looks amazing though :D
[b]Edit:[/b]
For people with no Shader Model support, try this :)
Lighting is plain, but better than nothing, simply extract files into appropriate folders, should be a no brainer.
[url]http://www.2shared.com/file/2821507/af7cf2e/fallbacks.html[/url]
Anyway I could bind the console to another button than §?
Well I used that fall back thing and now I can load up the game but it gets to the console and all I can see is a black screen what do I do?
[QUOTE=Flieboy101]Well I used that fall back thing and now I can load up the game but it gets to the console and all I can see is a black screen what do I do?[/QUOTE]
Try reading the OP...
Will it later work on Vista or will the final game only support XP? :(
It says all of my files are corrupted, except some, but most are. I can't play it.
luishi5000, try and download it again, if the files are corrupt its usually either because of your connection or corruption of your memory.
[QUOTE=The Saiko]Will it later work on Vista or will the final game only support XP? :([/QUOTE]
Seems like some people had it work 100% on Vista already.
To me, it seems like most problems stem from thus:
1) [u]lack of operating system[/u] - I'll be making builds for Linux, MacOS will need to be ported by someone [i]with[/i] MacOS, and Windows Vista I'll need to personally install and see how it goes (WinXP build on Vista doesn't go too well, it seems).
2) [u]lack of proper hardware[/u] - lots of cases here seem to fail due to a bad graphics card (either missing [driver] files, or extreme lag, or no shaders, so on). I'll be making proper fallbacks that get lower in quality as they get lower in requirements, and making other ways to lower the hardware necessities (after all, Portal [i]does[/i] run fast enough on my 6200IGP with 1 portal iterations).
3) [u]lack of proper common sense[/u] - yeah, when there's a read me, read it ;). When there's a post describing stuff, read it. When I tell you to post a log, post it ;). This one is a no-brainer - and it's especially needed for development builds where quality (or the ability to run) or speed is no guarentee.
If the files are corrupt, get it from a different mirror and try again (I think I posted 2 other than media fire on page 9 or something). No reason for them to be corrupt if (a) your connection didn't flunk half way through and (b) you have a proper unzipper.
[QUOTE=The Saiko]Will it later work on Vista or will the final game only support XP? :([/QUOTE]
As nullsquared said, it's already working in Vista.
I have Vista Ultimate and Portalized works very well. Although my framerate is about the same as Crysis on medium(20-35fps).
Still need another key for the console.
The X button on the console does not work properly.
[QUOTE=Robber]As nullsquared said, it's already working in Vista.
I have Vista Ultimate and Portalized works very well. Although my framerate is about the same as Crysis on medium(20-35fps).[/QUOTE]
My framerate is great (geForce 8800 GTX) but it is very buggy for me? Maybe that's just the game... If I spawn the second portal it keeps falling through the floor, also I fell out of the map a couple of times D:
That is impossible.
I do not believe it.
P:
Ooobs, doubble post, sorry sorry sorry D:!!
[QUOTE=HashBox]luishi5000, try and download it again, if the files are corrupt its usually either because of your connection or corruption of your memory.[/QUOTE]
I've downloaded it three times already, and it still gets corrupted. I really want to play it. ):
Oh, wait, I just used a different extraction program and it worked. Now I just have to figure out how to load the level.
[QUOTE=luishi5000]I've downloaded it three times already, and it still gets corrupted. I really want to play it. ):
Oh, wait, I just used a different extraction program and it worked. Now I just have to figure out how to load the level.[/QUOTE]
Read the OP...
[QUOTE=Jallen]Read the OP...[/QUOTE]
Yea, I got it to work, I just couldn't get anything to go through the portals.
Sorry about the meaningless post, i just want to help keep Null's thread going.
Sorry, you need to Log In to post a reply to this thread.