Deprecated: Function get_magic_quotes_runtime() is deprecated in /home/customer/www/neverforum.com/public_html/fmpbo/include/common.php on line 18

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/customer/www/neverforum.com/public_html/fmpbo/include/common.php on line 22

Deprecated: Function create_function() is deprecated in /home/customer/www/neverforum.com/public_html/fmpbo/include/parser.php on line 811

Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/neverforum.com/public_html/fmpbo/include/common.php:18) in /home/customer/www/neverforum.com/public_html/fmpbo/extern.php on line 107
<![CDATA[Neverforum — curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?id=588 Fri, 22 Apr 2011 15:06:18 +0000 PunBB <![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=25091#p25091 I finally realized that the thickness must be more than the hill value.  Otherwise, there is no output. 

This may be documented somewhere, but I think it would really help if the code just adjusted the thickness value if necessary (if the hill value was higher).  Just to make sure there is *some* output for us noobs learning how to use this tool.

]]>
Fri, 22 Apr 2011 15:06:18 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=25091#p25091
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=25080#p25080 I also noted a bug on line 649.

hill = rndnum(2,(thickness - 16)/8) * 8;

When thickness = 24 (or maybe anywhere between 24 and 32),
we call rndnum(2,1) which generates SIGFPE
(divide by 0 on the mod(%) operator) in rndnum (line 243):

return (rand() % ((high-low) +1)) + low;

Should I fix this, or leave it to Dave or someone else?

]]>
Thu, 21 Apr 2011 05:22:37 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=25080#p25080
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=25079#p25079 I added some code to the curve generator which makes steps a bit smaller and also slices up each step.  This seems to result in much smoother curves (especially in steep banks).  The attached code, *mostly* works.  I post here to simply notify people and ask them to try it out and let me know if this is better or not.  If this is useful, I can fix the known bugs, and provide a more polished version.

http://forum.nevercorner.net/viewtopic.php?id=2339

]]>
Thu, 21 Apr 2011 04:31:31 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=25079#p25079
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=17680#p17680 This is a good idea, mym. It does seems like a big job to do all new pics, but I don't think it actually would be too hard, since one could just plug in the values under the current pictures, and simply increase the <n> value for more lumps. The real time-taker is opening the files in radiant and taking screenshots, etc.

We also need to fix a couple of incorrect statements about aligning to the 1 unit grid, and how a sloped curve will be smoother with less lumps(was true before, but now it isn't).

]]>
Sat, 14 Jun 2008 14:26:59 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=17680#p17680
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=17652#p17652 The new recommendation seems to be using high side number curves, so what about improving examples (values and shots) of the curve documentation ?
By this way, new level designers will tend to use good values.
I know this is a big work though.

]]>
Fri, 13 Jun 2008 15:04:00 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=17652#p17652
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=16760#p16760 Updated again!

Now the output of the curve program will contain decimal values, for much more precise curves (especially when they are of small radii.) The curves generated will only be compatible with the svn version of Neverball, of revisions after Krabby submitted the "use decimal values for geometry" code.

If you are still mapping for 1.4, I've left the old version linked for now, but once 1.5 is released, it'll be gone.

You can see the very nice new smoothness of small radii curves in this post by mym.

]]>
Sun, 06 Apr 2008 21:20:34 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=16760#p16760
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=16327#p16327 Dave wrote:
parasti wrote:

as the curve code be made part of Neverball.  tongue

Oh, that hurts... j/k. Actually, it would hurt a lot more if weren't 100% true. Sorry for the ugly code, guys.

Don't be too upset about it.  As ugly as it is, it is also extremely useful for anyone who's ever done any mapping that involves curves.  I recognise that and I give you a lot of credit for it.  Between nightmares of ugly code and of my own ignorance I'd choose the former any day...  any night, anyway.

I don't see that there's any need to include documentation or examples with the code. There never was anything like that with rlk's... You had to get your info from the web. I'd just leave it in there by itself. If people run it, they'll get the user interface, and that will give them some idea of what it's all about. To learn more, they just need to jump on the wiki.

I don't feel strongly about it either way.  Keeping the docs and the code in one place is generally a good practice, though.  Note that rlk's code was never part of the Neverball distribution and being the simple tool it was it didn't really have a need for documentation.

btw, parasti, how old were you when you discovered neverball? For some reason, I keep thinking you were in your teens... it really has been a few years, hasn't it?

Yeah, it's been a while.  smile  I discovered Neverball some time in 2005;  I think it was April or May (switched to GNU+Linux in April, started looking for games soon thereafter).  I was eighteen, with a birthday in a couple of months.

]]>
Sat, 08 Mar 2008 14:36:54 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=16327#p16327
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=16323#p16323 parasti wrote:

as the curve code be made part of Neverball.  tongue

Oh, that hurts... j/k. Actually, it would hurt a lot more if weren't 100% true. Sorry for the ugly code, guys.

I don't see that there's any need to include documentation or examples with the code. There never was anything like that with rlk's... You had to get your info from the web. I'd just leave it in there by itself. If people run it, they'll get the user interface, and that will give them some idea of what it's all about. To learn more, they just need to jump on the wiki. That's just my idea, and of course, my ideas are not always so great smile

btw, parasti, how old were you when you discovered neverball? For some reason, I keep thinking you were in your teens... it really has been a few years, hasn't it?

]]>
Sat, 08 Mar 2008 04:53:00 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=16323#p16323
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=16321#p16321 Is anyone with HTML knowledge willing to convert the wiki article's XHTML dump to a usable stand-alone HTML (preferably 4.01) document?  If no one volunteers, I can do it, but 1) I'm not very familiar with the curve tool and 2) it could take a while before I can do it.

]]>
Sat, 08 Mar 2008 00:06:33 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=16321#p16321
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=16316#p16316 parasti wrote:

I'm not sure what to do with the documentation and examples;  tracking a "binary blob" PDF in the repository doesn't seem like a good idea.

IMO, It should be html (+ images)...  Like the curve article on neverwiki

]]>
Fri, 07 Mar 2008 22:43:02 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=16316#p16316
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=16313#p16313 I committed the latest curve.c to the repo, in a directory called "contrib".  I figure if I call it "contrib" then I won't have to wake up at nights thinking that I let something as ugly as the curve code be made part of Neverball.  tongue  I'm not sure what to do with the documentation and examples;  tracking a "binary blob" PDF in the repository doesn't seem like a good idea.

]]>
Fri, 07 Mar 2008 20:03:39 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=16313#p16313
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=16287#p16287 Hey folks,
A while ago, paxed sent me a revised version of the curve.c program that cleans up some of my redundant and slightly buggy user-interface code. He reduced the size from 40KB to 25KB! Very nice, paxed! I have replaced the curve.c file with this new version, as well as the curve.exe pre-compiled windows executable. If you are the kind of guy who likes to use just the command line, there is no need to upgrade. But if you like the step by step process, you'll find it has been improved slightly, again thanks to paxed : you can now input a "d" for the default value to be used.

Thanks paxed!

]]>
Wed, 05 Mar 2008 03:56:19 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=16287#p16287
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=10487#p10487 I'm not sure you can replace a file with media management feature while editing  a page. So I've uploaded your file and we're sure that's right now wink

]]>
Thu, 05 Apr 2007 18:26:03 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=10487#p10487
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=10477#p10477 shino, I have finally gotten around to updating my .pdf document, and uploaded to my webspace (the part that was deleted when I moved!!! sad ) Could you please update whatever is pointed to by the pdf link on the wiki? I'm not really sure if it's something that I can do, or not, so sorry if it is something that I should be able to do! I'm just a big newbie at heart... tongue Anyway, thanks for doing it!

Also, I have taken the liberty of cleaning up a little bit of the wiki on the curve page, and adding some more useful information on the issue of Ghost Brushes, and reorganizing the main level creation page, to add a couple of important links (to Entities, and Metadata). Once we get 1.5 finalized, we'll need to do some serious updating on the wiki!

]]>
Thu, 05 Apr 2007 05:01:42 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=10477#p10477
<![CDATA[Re: curve : All you ever wanted to know about curve.c!]]> http://neverforum.com/fmpbo/viewtopic.php?pid=9911#p9911 Sweet. They are very easy to add in, and like I said, add a lot of polish to a level, even when used sparingly.

Thanks for updating the wiki.

]]>
Wed, 21 Feb 2007 03:27:53 +0000 http://neverforum.com/fmpbo/viewtopic.php?pid=9911#p9911