Message to the Devs(about spark)

InkInk Join Date: 2009-08-15 Member: 68499Members
Well ive mapped for years now on goldsrc and source. The one thing i hate or always hated was a leak.

There anoyying. Extremely hard to find (especially in goldsrc) and make compiling either very very long and ###### or really fast and nothing good.

I dunno how or what leaks will do in ns2. But heres my suggestion for the compile process.

If you can some how make it so when it notices there is a leak it will create 16x16 bright neon orange boxes where it is till the leak is filled. So when you run your map you can very quickly find that leak and fix it.

Now im just saying this i dunno how leaks or skyboxes or compiling will work for ns2 until it comes out. But heres just an idea if you have nothing yet.

Comments

  • Evil_bOb1Evil_bOb1 Join Date: 2002-07-13 Member: 938Members, Squad Five Blue
    I've forgotten what a leak was. I don't think this one leaks? I don't think it compiles the way we perceive it neither. Spark is the microwave of mapping.
  • ComproxComprox *chortle* Canada Join Date: 2002-01-23 Member: 7Members, Super Administrators, Forum Admins, NS1 Playtester, NS2 Developer, Constellation, NS2 Playtester, Reinforced - Shadow, WC 2013 - Silver, Subnautica Developer, Subnautica Playtester, Pistachionauts
    There is no leaks in this engine so no need for this method :)
  • PipiPipi Join Date: 2009-12-09 Member: 69550Members
    <!--quoteo(post=1747034:date=Jan 12 2010, 07:46 PM:name=Evil_bOb1)--><div class='quotetop'>QUOTE (Evil_bOb1 @ Jan 12 2010, 07:46 PM) <a href="index.php?act=findpost&pid=1747034"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Spark is the microwave of mapping.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Haha, I like that.
  • murphyt4murphyt4 Join Date: 2003-12-12 Member: 24297Members, Constellation
    <!--quoteo(post=1747034:date=Jan 12 2010, 04:46 PM:name=Evil_bOb1)--><div class='quotetop'>QUOTE (Evil_bOb1 @ Jan 12 2010, 04:46 PM) <a href="index.php?act=findpost&pid=1747034"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I've forgotten what a leak was. I don't think this one leaks? I don't think it compiles the way we perceive it neither. Spark is the microwave of mapping.<!--QuoteEnd--></div><!--QuoteEEnd-->

    It's a hole in the map, where players could slip out and fall forever, or leak lighting, etc.

    Basically a black hole of doom hidden in some 1x1 square in your map.
  • BeaconBeacon Join Date: 2010-01-13 Member: 70121Members
    <!--quoteo(post=1747038:date=Jan 13 2010, 01:10 AM:name=Comprox)--><div class='quotetop'>QUOTE (Comprox @ Jan 13 2010, 01:10 AM) <a href="index.php?act=findpost&pid=1747038"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->There is no leaks in this engine so no need for this method :)<!--QuoteEnd--></div><!--QuoteEEnd-->

    Really? That's amazing, could you explain?

    - Beacon
  • WatchMakerWatchMaker Join Date: 2003-09-26 Member: 21233Members, Constellation
    <!--quoteo(post=1747123:date=Jan 13 2010, 07:51 AM:name=Beacon)--><div class='quotetop'>QUOTE (Beacon @ Jan 13 2010, 07:51 AM) <a href="index.php?act=findpost&pid=1747123"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Really? That's amazing, could you explain?

    - Beacon<!--QuoteEnd--></div><!--QuoteEEnd-->

    Information about the engine is all over the place. Just watch a video and you'll see.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    Whatever the techincal term is for the method used, The world seems to be made in the same way as any open space game like EVE online, Crysis, X3 and so on where its is all open and just has a simple skybox render.
    if nothing is blocking your view you can see the whole level or as far as the clipping plane is set.

    For me I dont find this amazing, What amazes me is a game that has leaks like Half-Life and Source.
    Source has poor slow pre-calculated VIS, NS2 has superior <a href="http://en.wikipedia.org/wiki/Algorithm" target="_blank">Algorithms</a> to calcualte what can/cant be seen on the fly.

    All the lighting is Dynamic, so there is no need to pre-calculate any single light in the game.
  • InkInk Join Date: 2009-08-15 Member: 68499Members
    ya i still dont get how like 4 guys made this. or 2. Ns2 is like unknownworlds Half life. Or GTA.
  • Draco_2kDraco_2k Evil Genius Join Date: 2009-12-09 Member: 69546Members
    Yep, there's nothing to leak: NS2 doesn't do pre-computed portals or lighting, and there are no brushes to produce leaks themselves.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    So what would happen if I created a character spawn, compiled, and ran the map? Would he just fall towards a never ending skybox?
  • Evil_bOb1Evil_bOb1 Join Date: 2002-07-13 Member: 938Members, Squad Five Blue
    I was being sarcastic about it but I see you guys like it technical :p

    A HL map was made of brushes. It had to go through a process we called 'VBSP' to basically strip down all the unnecessary faces. There will surely be something like this for spark because not all the information in our .level files will be needed for the game.

    For this compiling process to be successful (for HL), the compiler had to know where was the inside and where was the useless faces it could get rid of. It used the entities to know which side was which. That's why, apart from exceptions, you couldn't place entities outside of your map in HL.

    If there was no distinction between the inside from the outside, that was called a leak.

    Spark doesn't work like this.:

    A map is basically a model, and hopefully, if you've worked well there's no unnecessary faces to discard.
    >No VBSP

    The occlusion and visibility is done in real time by the engine.
    >No VVIS

    Lighting is also done in realtime.
    >No VRAD

    Spark does everything in real time, something that wasn't possible for games in the times of HL. UWE has worked like this because it is a small team, it can't afford to wait for a compiler to be done. They need everything to spark right out into place.

    And to answer your question ScardyBob, I guess it's a yes.
  • AnthoniAnthoni Join Date: 2009-04-10 Member: 67129Members
    UE2 didn't have leaks and it used BSP... maybe it didn't do a VIS Compile Phase. Now days UE3 just uses geometry just like the geo. in NS2's Engine.
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    <!--quoteo(post=1747190:date=Jan 13 2010, 11:50 AM:name=Evil_bOb1)--><div class='quotetop'>QUOTE (Evil_bOb1 @ Jan 13 2010, 11:50 AM) <a href="index.php?act=findpost&pid=1747190"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->And to answer your question ScardyBob, I guess it's a yes.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Uh Oh! My first map might have to be ns2_neverendingfall :) :) :)
  • marksmarks Join Date: 2008-07-28 Member: 64720Members
    edited January 2010
    <!--quoteo(post=1747198:date=Jan 13 2010, 08:37 PM:name=Anthoni)--><div class='quotetop'>QUOTE (Anthoni @ Jan 13 2010, 08:37 PM) <a href="index.php?act=findpost&pid=1747198"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->UE2 didn't have leaks and it used BSP... maybe it didn't do a VIS Compile Phase. Now days UE3 just uses geometry just like the geo. in NS2's Engine.<!--QuoteEnd--></div><!--QuoteEEnd-->

    UE2 didn't have leaks because it used a Subtractive BSP method, rather than the Additive BSP method used in Half-Life and Quake etc. Instead of creating geometry in an empty space, you basically carved geometry OUT of a big lump of 'bsp'. When you're carving out, there can't be any leaks. UE3 has the option of using either the Subtractive or Additive BSP methods. UE3 does not work in a similar way to the NS2 engine, if anything NS2 is closer to the Reality engine (which Epic incidentally bought out a few years ago, and appear to have done nothing with the tech).

    NS2 doesn't leak because theres nothing to leak - there's no compile process. Everything is realtime (which btw is a pretty major accomplishment).
  • The Happy FriarThe Happy Friar Join Date: 2010-01-15 Member: 70174Members
    So in NS2 you can make a map that's 100% open, like a space map, and you don't need to make faux "walls" for the skybox? Wow... nice. :) Very happy to see mapping advancements since Doom 3. Can you also place entities in the map while "playing" a map?
  • BiglinesBiglines Join Date: 2003-12-07 Member: 24094Members, Constellation
    <!--quoteo(post=1747500:date=Jan 15 2010, 09:23 PM:name=The Happy Friar)--><div class='quotetop'>QUOTE (The Happy Friar @ Jan 15 2010, 09:23 PM) <a href="index.php?act=findpost&pid=1747500"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->So in NS2 you can make a map that's 100% open, like a space map, and you don't need to make faux "walls" for the skybox? Wow... nice. :) Very happy to see mapping advancements since Doom 3. Can you also place entities in the map while "playing" a map?<!--QuoteEnd--></div><!--QuoteEEnd-->
    while it won't leak in the compile process, it will probably still be a hit on system resources to have a map that "leaks" won't it? and in order to make a space map, wouldn't you want stars and nebulas and all that stuff?
  • Dalin SeivewrightDalin Seivewright 0x0000221E Join Date: 2007-10-20 Member: 62685Members, Constellation
    UE2 <b>does</b> leak. Perhaps not how Half Lifes maps leak, but Unreal Engine 1, 2 and most likely 3 have several BSP errors that occur. Namely the "Hall of Mirrors" effect, and sometimes you'll get areas that will just instantly kill people unexplicably (which is caused for leaks). Half Life and UE2 are more alike than the NS2 engine. Both used AFAIK, Binary Space Partioning, and both had to precompute practically everything before you got to play your map, although as I understand it UE was a lot more forgiving as far as compilation time goes.

    NS2s engine probably isn't that different from UE or Source. It might not use BSP, but it probably uses some similar tree or it falls back on the power of DirectX/OpenGL to decide what to and what not to render (OpenGL at least can occlude geometry not visible by the camera - your viewport into the game world) and I'm not sure how quick that is, but there would hopefully be some sort of mechanism to decide which geometry to draw and which to not draw before it passes to the renderer.
  • BiglinesBiglines Join Date: 2003-12-07 Member: 24094Members, Constellation
    there's a blog post <a href="http://www.unknownworlds.com/ns2/news/2009/03/occlusion_culling" target="_blank">here</a> that their engine does real time occlusion
  • Skyforger2Skyforger2 Join Date: 2007-10-19 Member: 62681Members
    <!--quoteo(post=1747031:date=Jan 13 2010, 12:39 AM:name=Hoodedsniper)--><div class='quotetop'>QUOTE (Hoodedsniper @ Jan 13 2010, 12:39 AM) <a href="index.php?act=findpost&pid=1747031"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Well ive mapped for years now on goldsrc and source. The one thing i hate or always hated was a leak.

    There anoyying. Extremely hard to find (especially in goldsrc) and make compiling either very very long and ###### or really fast and nothing good.

    I dunno how or what leaks will do in ns2. But heres my suggestion for the compile process.

    If you can some how make it so when it notices there is a leak it will create 16x16 bright neon orange boxes where it is till the leak is filled. So when you run your map you can very quickly find that leak and fix it.

    Now im just saying this i dunno how leaks or skyboxes or compiling will work for ns2 until it comes out. But heres just an idea if you have nothing yet.<!--QuoteEnd--></div><!--QuoteEEnd-->


    In what hole u have been hiding all this time :D There are no such thing as a compile and leaks in ns2.
  • The Happy FriarThe Happy Friar Join Date: 2010-01-15 Member: 70174Members
    <!--quoteo(post=1747520:date=Jan 16 2010, 09:37 AM:name=Biglines)--><div class='quotetop'>QUOTE (Biglines @ Jan 16 2010, 09:37 AM) <a href="index.php?act=findpost&pid=1747520"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->and in order to make a space map, wouldn't you want stars and nebulas and all that stuff?<!--QuoteEnd--></div><!--QuoteEEnd-->

    depends. By "space" I mean "floating in nowhere". Some really good Quake 1, 2 & 3 maps were like that.


    <!--quoteo(post=0:date=:name=Draco_2k)--><div class='quotetop'>QUOTE (Draco_2k)</div><div class='quotemain'><!--quotec-->Yep, there's nothing to leak: NS2 doesn't do pre-computed portals or lighting, and there are no brushes to produce leaks themselves.<!--QuoteEnd--></div><!--QuoteEEnd-->

    really, no precomputed lighting? Worst part of doom 3 was no option for that. :( So many times it would be useful. But no portals either? D3 tech didn't just use portals to block vis (entitys didn't, so a door would need a portal to break the vis, for example) but it also used it for AI, sound travel & separating rooms so you could name them. What does NS2 use for those or are those not an issue?
  • InkInk Join Date: 2009-08-15 Member: 68499Members
    Let me ask u this. Say i make a hole in my map that just falls right off the level. What happens?
  • The Happy FriarThe Happy Friar Join Date: 2010-01-15 Member: 70174Members
    i'm thinking you can't make a hole to fall out the map, there's always a wall there.
  • ThaldarinThaldarin Alonzi&#33; Join Date: 2003-07-15 Member: 18173Members, Constellation
    <!--quoteo(post=1747587:date=Jan 16 2010, 09:03 PM:name=Hoodedsniper)--><div class='quotetop'>QUOTE (Hoodedsniper @ Jan 16 2010, 09:03 PM) <a href="index.php?act=findpost&pid=1747587"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Let me ask u this. Say i make a hole in my map that just falls right off the level. What happens?<!--QuoteEnd--></div><!--QuoteEEnd-->

    That's a pretty useless thing to add to your level.
  • Dalin SeivewrightDalin Seivewright 0x0000221E Join Date: 2007-10-20 Member: 62685Members, Constellation
    <!--quoteo(post=1747587:date=Jan 16 2010, 03:03 PM:name=Hoodedsniper)--><div class='quotetop'>QUOTE (Hoodedsniper @ Jan 16 2010, 03:03 PM) <a href="index.php?act=findpost&pid=1747587"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Let me ask u this. Say i make a hole in my map that just falls right off the level. What happens?<!--QuoteEnd--></div><!--QuoteEEnd-->


    Just speculation, but you would likely fall out of the map and see either the Skybox or you'll have a Hall Of Mirrors effect (just like Gold Source) . After awhile of falling, I suspect that you would end up hitting the minimum height requirement by a level and the fall might kill you, but then again, it might not. You also might fall forever and ever until your client crashes.
  • The Happy FriarThe Happy Friar Join Date: 2010-01-15 Member: 70174Members
    most games you fall forever. I've never fallen to death in Quake 1, 2 3 or doom 3. Just keep falling...
  • InkInk Join Date: 2009-08-15 Member: 68499Members
    Looks like goldsrc made infinitie possible lol.
Sign In or Register to comment.