Hanging banners - Flexi
|
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
08-20-2007 08:03
I am trying to create some flexi-prim banners that will hang from a horizontal top edge, and move slightly while looking right. I got the basic form and settings to work, but the 'wind' seems to be trying to push the banners sideways, edge-on, instead of making them ripple front to back. They only move front to back when I jiggle their positions. Any hints as to how to make that better?
I also would like to try making some tall, narrow Japanese-style banners that are attached to a vertical pole and to a short horizontal bar at the top. Is there any way to make a cube-prim flexi act like two edges are attached to something?
Hummm. A prizm can be flexi, right? Can I use one triangle for the "inner" corner of the Japanese banner as a non-flexi prim, and then attach a triangular flexi-prim to the long diagonal across the resulting rectangle, so the lower/outer triangular part of the banner can flap a bit in the wind?
_____________________
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.
|
|
Reitsuki Kojima
Witchhunter
Join date: 27 Jan 2004
Posts: 5,328
|
08-20-2007 08:09
From: Ceera Murakami I am trying to create some flexi-prim banners that will hang from a horizontal top edge, and move slightly while looking right. I got the basic form and settings to work, but the 'wind' seems to be trying to push the banners sideways, edge-on, instead of making them ripple front to back. They only move front to back when I jiggle their positions. Any hints as to how to make that better?
I also would like to try making some tall, narrow Japanese-style banners that are attached to a vertical pole and to a short horizontal bar at the top. Is there any way to make a cube-prim flexi act like two edges are attached to something? No to your last question. Your first question is just a problem of how SL Wind blows, and how it hits flexi prims. Your best bet, if you don't mind getting your hands dirty with LSL, is to write a script that detects the overall velocity of the wind, and then translates that to an artificially imparted force on the flexi. Takes some doing, but it will probably produce better results.
_____________________
I am myself indifferent honest; but yet I could accuse me of such things that it were better my mother had not borne me: I am very proud, revengeful, ambitious, with more offenses at my beck than I have thoughts to put them in, imagination to give them shape, or time to act them in. What should such fellows as I do crawling between earth and heaven? We are arrant knaves, all; believe none of us.
|
|
Cliffy Palmerstone
Manc in Geordieland
Join date: 15 Sep 2004
Posts: 255
|
08-20-2007 08:11
You can use a force on the chosen (x, y or z) axis instead of relying on the wind (since that is variable in direction).
Not sure about the 2-axis attachment question, I haven't tried that sorry
_____________________
How do I make a signature?
|
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
08-20-2007 08:42
I was able to apply an x-axis force in the features settings that essentially provided a 'steady' wind into the face of the banner. But that didn't make it flap - it just pushed it to a slight angle on the axis I wanted to to move on.
Is there a way to script a variable force value in the flexi-prim's parameters? If I could script a gentle cyclical +/- change in the X-axis force, and have it largely ignore the actual SL wind, that would solve the problem.
Also, the first batch of the non-Japanese style banners are under ground, in a deep hole in the terrain. Does the "wind" in an SL sim blow the same direction and speed in spite of terrain configuration? Or does terrain affect wind?
_____________________
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.
|
|
Cliffy Palmerstone
Manc in Geordieland
Join date: 15 Sep 2004
Posts: 255
|
08-20-2007 08:49
I've been trying a few things out..I see your problem...by applying a gravity of 10 I managed to limit the amount of shear that you mentioned, not completely but I think I've nearly got it..I'll send you my attempt
_____________________
How do I make a signature?
|
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
08-20-2007 09:13
Thanks Cliffy. I appreciate the effort! I'll be in-world briefly on my lunch break today, and will play with it some more.
_____________________
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.
|
|
Reitsuki Kojima
Witchhunter
Join date: 27 Jan 2004
Posts: 5,328
|
08-20-2007 10:23
From: Ceera Murakami I was able to apply an x-axis force in the features settings that essentially provided a 'steady' wind into the face of the banner. But that didn't make it flap - it just pushed it to a slight angle on the axis I wanted to to move on.
Is there a way to script a variable force value in the flexi-prim's parameters? If I could script a gentle cyclical +/- change in the X-axis force, and have it largely ignore the actual SL wind, that would solve the problem.
Also, the first batch of the non-Japanese style banners are under ground, in a deep hole in the terrain. Does the "wind" in an SL sim blow the same direction and speed in spite of terrain configuration? Or does terrain affect wind? You can script the force to be variable, yes, that's what I was talking about before... To make it "semi" wind-driven, you could read the wind value with llWind, then use that to generate a more logical amount of force in the right direction. And wind is wind is wind in SL. Height, terrain, whatever, makes no nevermind.
_____________________
I am myself indifferent honest; but yet I could accuse me of such things that it were better my mother had not borne me: I am very proud, revengeful, ambitious, with more offenses at my beck than I have thoughts to put them in, imagination to give them shape, or time to act them in. What should such fellows as I do crawling between earth and heaven? We are arrant knaves, all; believe none of us.
|
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
08-20-2007 10:53
Cliffy, that example you sent me in-world did help. I had the settings pretty close, and that got me a lot closer.
Reitsuki, thanks also. I'll look into the LSL options, including llWind.
_____________________
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.
|