Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

BezierGen 1.01 - makes bezier curves

Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
11-02-2006 14:36
I've made a new build tool called BezierGen that assembles box prims into Bezier curves. The user positions four control points to determine the shape of the curve. It operates very similarly to ShapeGen. In addition to the shape and dimensions of the curve, you can adjust the color, texture, texture scale and alpha of the the various sides of the building blocks. For now it only makes curves in the xy plane (imagine a wavy wall), although I suppose the resulting shape could be linked and rotated about. I'm not sure exactly how many uses people might find for it, but it is kind of fun. Below is a snapshot of something I threw together with the tool.

If you would like to give it a try, please IM me and I'll give you a copy. It's kind of in an informal beta stage, but if there are no problems I hope to make it available like my other free tools.
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
11-02-2006 14:44
Cad, that's awesome! You never cease to impress me.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
11-02-2006 14:50
Oh my! That's certainly intriguing!

*Gets all sorts of ideas for irregularly shaped swimming pools and landscaping ponds!*

Yes, I would definitely like to play with that!

Question: Can you adjust the thickness of the walls that it produces? I'm thinking in terms of making an irregular wall for a pool, and then generating the same shape but with prims that are 'thicker' but 'shorter', so you can make a flagstone rim around the pool that matches the curve of the wall. Or maybe a curving patio around the pool?
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
11-02-2006 14:54
Hey, thanks Chosen :) I'll drop a copy on you (to play with or not at your leisure).
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
11-02-2006 15:02
From: Ceera Murakami

Question: Can you adjust the thickness of the walls that it produces? I'm thinking in terms of making an irregular wall for a pool, and then generating the same shape but with prims that are 'thicker' but 'shorter', so you can make a flagstone rim around the pool that matches the curve of the wall. Or maybe a curving patio around the pool?


Ceera - Yup, you can adjust the height and the width. One caveat is that unlike the rings and spheres made by ShapeGen, the curve can't be seamless where the edges of the blocks meet. The thicker the curve, the more obvious that will be. It might make a pretty cool swimming pool slide. I dropped a copy on you :)
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-02-2006 15:35
Another great product Cadroe! But still waiting for you to throw together a 2V to 6V Fuller dome generator(hint, hint, hint). A lot of uses for such a creation with a lot less prim required as opposed to a ShapeGen sphere.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
11-02-2006 15:52
hmmm sounds interesting, i'll pick one up laters.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
11-02-2006 16:06
From: Cadroe Murphy
Ceera - Yup, you can adjust the height and the width. One caveat is that unlike the rings and spheres made by ShapeGen, the curve can't be seamless where the edges of the blocks meet. The thicker the curve, the more obvious that will be. It might make a pretty cool swimming pool slide. I dropped a copy on you :)
Really? I can't see why it shouldn't be possible to cannibalise bits from my Path Maker script to get the edges to match nicely. There used to be a pic of it in action linked from that page, but it seems to have gone now.
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
11-02-2006 16:33
From: Seifert Surface
Really? I can't see why it shouldn't be possible to cannibalise bits from my Path Maker script to get the edges to match nicely. There used to be a pic of it in action linked from that page, but it seems to have gone now.


Oops, it looks like can't wasn't the right word. I didn't look at the problem too closely after recognizing that the angles between blocks wouldn't be the same on either side of a prim, and that the gaps would be oriented in opposite directions on the same side of an s-shaped curve. Perhaps your Path Maker script makes BezierGen unnecessary. I originally made this tool to generate splines to use with my ring making script as a lathe operator, so neat edges wasn't a concern.
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
11-02-2006 16:56
From: Cadroe Murphy
Perhaps your Path Maker script makes BezierGen unnecessary.
No, the path maker script is pretty laborious, setting up each prim with the orientation and thickness you want, rather than doing a whole bunch of them at once in a calculated curve. I did a catenary generator for making bridges that does the necessary tapering, but that only needs tapering in one direction so it was easier.
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
11-03-2006 04:59
Seifert - It does seem then like our tools are doing somewhat different things. If I can find the time I will look at your code to see if I can glean how to handle the edges.

Jesse - Maybe I should finally look at other kinds of spheres :) But it's all a historical accident you know. You can form spheres out of tilted rings, thus ShapeMaker was born of RingMaker...
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
11-03-2006 05:33
I don't suppose you could whip up a "natural spline", a clamped cubic spline generator?

Back in the dim dark days of prehistory I digitized art on a digitizing tablet using DesignCad version 2 for DOS.

The "natural spline" is a good one for use in manual digitizing because the curve pass through all the control points, it is smooth and continuous. It would be good for building in SL too.


This isn't a real request, more of a fond memory of the insufficiently used natural spline.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
11-03-2006 07:29
From: SuezanneC Baskerville
I don't suppose you could whip up a "natural spline", a clamped cubic spline generator?


Actually I think that's a good idea, Suezanne. I looked into natural splines and they seem pretty useful. If I can find a good explanation of how to solve the equations or some sample code, I might try to add them to the tool. Besides, then I'd change the name to CurveGen, which is a more natural fit with ShapeGen anyway :)
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Fredrick Moore
Registered User
Join date: 14 May 2006
Posts: 2
Looks like a cool tool.
11-03-2006 09:04
Where can I pickup the tool? I would love to play around with it.
Sara Sullivan
Registered User
Join date: 21 Nov 2005
Posts: 211
Id love to try out your tool and check it out
11-03-2006 09:21
Count me in too please, If you want to do some high stress tests IM me in world and Ill show u a 256m x 256 playground u can have private access too.
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
11-03-2006 11:12
From: Cadroe Murphy
Seifert - It does seem then like our tools are doing somewhat different things. If I can find the time I will look at your code to see if I can glean how to handle the edges.
There's a slightly less ugly version of the code I did since we were able to taper either end of a prim, but it's not in the library, I'll send you a copy.
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG
Classy Patton
Registered User
Join date: 21 Nov 2005
Posts: 172
11-04-2006 04:45
Hi Cadroe,

Oh oh, I'd LOVE to see this wonderful new toy of yours - may I have a copy, please? ;)

Classy
Wes Malan
Registered User
Join date: 31 Oct 2006
Posts: 3
11-06-2006 11:01
Heya,

I would be interested in testing this tool out as well for you... let me know and look forward to it.

Cheers,

Wes
Cro Sola
Registered User
Join date: 19 Jul 2006
Posts: 34
11-08-2006 07:57
nice work cad, me and a freind where just talking of this idea the other day thinking how cool it would be for someone to make this.

awesome work
Desmond Shang
Guvnah of Caledon
Join date: 14 Mar 2005
Posts: 5,250
11-08-2006 08:12
This is beyond awesome!

I'm constantly impressed with this stuff.

Now if I could only find time to make anything any more.... *cries*
_____________________

Steampunk Victorian, Well-Mannered Caledon!
Artillo Fredericks
Friendly Orange Demon
Join date: 1 Jun 2004
Posts: 1,327
11-08-2006 09:13
:: drools :: can I get a copy please? :D Thanx for all your great work!
_____________________
"I, for one, am thouroughly entertained by the mass freakout." - Nephilaine Protagonist

--== www.artillodesign.com ==--
Cadroe Murphy
Assistant to Mr. Shatner
Join date: 31 Jul 2003
Posts: 689
11-08-2006 15:59
Hey folks, thanks for the kind words. I added the ability to make vertical or horizontal curves (you switch between them with "yaxis" and "zaxis";). If you'd like a copy of BezierGen 1.1 and I haven't already sent you one, just let me know. Here's a pic of a "vertical" curve.
_____________________
ShapeGen 1.12 and Cadroe Lathe 1.32 now available through
SLExchange.
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-08-2006 17:28
From: Cadroe Murphy
Jesse - Maybe I should finally look at other kinds of spheres :) But it's all a historical accident you know. You can form spheres out of tilted rings, thus ShapeMaker was born of RingMaker...


Sorry But I had missed this reply. No problem Cadroe. It is giving me something to aspire to someday. I feel I am about two months away from tackling it. Already have the formulas and of course I have one of each of your products. I'll always be able to look at yours to get clues. A tremendous amount of work you have given to the scripting community at large. It is much appreciated.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
11-08-2006 22:09
!

*Faints*

Cadroe - incredible! Could I have one, please?
Woody Blair
Registered User
Join date: 7 Feb 2004
Posts: 18
11-09-2006 07:49
OMG, Wonderful work, the imagination soars! Please add me to your list of subscribers, thx :)
1 2