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

1

Topic: Online curve tool ... with 3d preview

Here's a HTML5 canvas & javascript page that allows you to generate curves like the curve tool does: http://bilious.alt.org/~paxed/curve.js/

Drag with mouse to rotate the preview.


Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/neverforum.com/public_html/fmpbo/include/parser.php on line 814

2

Re: Online curve tool ... with 3d preview

Nice work, paxed big_smile

Cheese
==========
cheesetalks.net

3

Re: Online curve tool ... with 3d preview

This is very, very cool. Wish I had the drive to finally do a Radiant plugin, but this is the next best thing.

BTW, I notice there's no way to specify texturing?


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

4

Re: Online curve tool ... with 3d preview

parasti wrote:

This is very, very cool. Wish I had the drive to finally do a Radiant plugin, but this is the next best thing.

BTW, I notice there's no way to specify texturing?

I first thought of doing a radiant plugin, but didn't bother after trying to find the API docs was a near impossibility (and a mving target).

Yes, no texturing is shown, because I'm cheating - the code doesn't calculate the vertexes for the lumps, it just directly uses the plane points given by curve.

Although I could add the ability to define the textures, even though they wouldn't show up in the preview...

5

Re: Online curve tool ... with 3d preview

8-O
WOW!
standing ovation over here. I hope Dave manages to see this.
Thanks paxed! I love the rotation bit. Brilliant.

6

Re: Online curve tool ... with 3d preview

paxed wrote:

I first thought of doing a radiant plugin, but didn't bother after trying to find the API docs was a near impossibility (and a mving target).

I once turned the original curve.c into a plugin. I figured out the API from the other plugins. If I would ever do it again, I'd probably fork NetRadiant, implement it there and put up a build on neverball.org (labelled as a custom build or whatever).

Yes, no texturing is shown, because I'm cheating - the code doesn't calculate the vertexes for the lumps, it just directly uses the plane points given by curve.

Although I could add the ability to define the textures, even though they wouldn't show up in the preview...

Yeah, that would still be helpful. Otherwise it seems you still have to resort to invoking curve with the provided parameters or, worse, texturing it all manually.

7

Re: Online curve tool ... with 3d preview

I can't take credit for the rotation - I just slapped together some already existing stuff.

The page now allows setting the textures (although only a limited set is there), and saves the selections to a cookie.

8

Re: Online curve tool ... with 3d preview

Nice, though I was thinking of an input box, since listing them all would be both impractical and wouldn't cover custom materials anyway. I guess that's not doable for whatever reason?

9

Re: Online curve tool ... with 3d preview

parasti wrote:

Nice, though I was thinking of an input box, since listing them all would be both impractical and wouldn't cover custom materials anyway. I guess that's not doable for whatever reason?

Updated. I think it now has the best of both worlds... You can either type in the texture name manually, or pick from a drop down.


Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/neverforum.com/public_html/fmpbo/include/parser.php on line 814

10

Re: Online curve tool ... with 3d preview

Wonderful, paxed! Earlier this month, I was considering publishing a similar front-end of my own to this section as well. I may still consider it, but I will need to give it some more pep before doing so

Welcome... to the Nevergalaxy!

11

Re: Online curve tool ... with 3d preview

Totally sweet! Wish I could've come up with something like this. Nice work, paxed!


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

Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/neverforum.com/public_html/fmpbo/include/parser.php on line 814

12

Re: Online curve tool ... with 3d preview

awesome!

I'm SuperBallMaster, but i like MSB <3
My last set: MSB part THREE!
Come to my page: Msb Neverpage
Youtube channel: MsbOfficial