Attn: Esp. beta-Testers...Kind of an Urgent Request

Discussion forum for G-Force users

Moderators: BTT, andy55, b.dwall, juxtiphi

Post Reply
User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Attn: Esp. beta-Testers...Kind of an Urgent Request

Post by JayPro »

If anyone has the code to Andy's "Two Worlds" waveShape, could you post it up here? Or to make it eassier, just the LWdt statement?

I'm trying to "retro-code" it to make it work for my plain-jane older version (3.0.1). I seem to have encountered much success in this endeavor with his other newbies, too. And I do like what I see.

Thanks.
"God is syntax."

User avatar
juxtiphi
Moderator
Posts: 1471
Joined: Sat Jan 15, 2005 1:29 pm

Re: Attn: Esp. beta-Testers...Kind of an Urgent Request

Post by juxtiphi »

JayPro wrote:If anyone has the code to Andy's "Two Worlds" waveShape, could you post it up here? Or to make it eassier, just the LWdt statement?

I'm trying to "retro-code" it to make it work for my plain-jane older version (3.0.1). I seem to have encountered much success in this endeavor with his other newbies, too. And I do like what I see.

Thanks.
here ya go

// "Two Worlds" by Andy O
Aspc=1
/*
See Generator.txt for relevent equations.
*/
NUM="3 + rnd( 5 )"
A0=""
A1=""
A2=""
A3="50" // perspective factor
A4="1" // 2D scaling factor
A5=""
A6="1.6 + rnd( .2 )" // Sphere radius
A7=""
A8=""
A9=".1 + rnd( .15 )" // Sphere rotate rate
A10="1.8 + rnd( .4 )" // Initial torus radius
A11="PI / 2 * round( rnd( 1 ) )" // XY rotation factor
B0=""
B1="wrap( ID / NUM - t * A9 / NUM )" // Rotation 1 angle (y-axis)
B2="A10" // torus radius
B3="A11" // Rotation 2 angle (z-axis)
B4="PI * ( s + .5 )"
B5="( PI / 2 ) * ( B1 - 1 + .5 * 4 / ( 4 * NUM ) )"
C0=""
C1=""
C2="A6 * cos( B4 )" // x'
C3="A6 * sin( B4 )" // y'
C4="0" // z'
// First, rotate around the y axis and add the x offset
C5="C2 * cos( B5 ) + C4 * sin( B5 ) + B2" // x
C6="C4 * cos( B5 ) - C2 * sin( B5 )" // z
// Next, rotate around z
C7="C5 * cos( B3 ) + C3 * sin( B3 )" // x
C8="C3 * cos( B3 ) - C5 * sin( B3 )" // y
C9=""
C10="C7" // final x
C11="C8" // final y
C12="C6 + A3" // final z
// Make the closest meridian fade (vs. vanish)
Pen="B1^.01 + B1 * .1"
// Perform perspective transformation
C13=" A3 * A4 * C10 / C12"
C14=" A3 * A4 * C11 / C12"
X0=" C13"
Y0=" C14"
X1="-C13"
Y1="-C14"
Pen=".96"
LWdt=" min( 10, 1.1 / ( C12 - A3 + 1.8 ) + .1 )"
ConB=1
Meta="reactive=1 detail=2 density=4 morphable=2"
Vers=350

User avatar
markofkane
Posts: 346
Joined: Thu Feb 03, 2005 3:08 pm

Post by markofkane »

That must be too old for the current G-Force. :?

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Why would you say that? It has all the fingerprints of a current config, what with the mainstreamed code and all.
"God is syntax."

User avatar
markofkane
Posts: 346
Joined: Thu Feb 03, 2005 3:08 pm

Post by markofkane »

I tried adding it to my waveshapes(folder in G-Force), and it does not show up in G-Force as a choice.

User avatar
juxtiphi
Moderator
Posts: 1471
Joined: Sat Jan 15, 2005 1:29 pm

Post by juxtiphi »

JayPro wrote:Why would you say that? It has all the fingerprints of a current config, what with the mainstreamed code and all.
Hi jaypro


did you get my email?

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

I just looked. I don't see anything new. What's your addy?

EDIT: Strike the last question. No, I didn't.
"God is syntax."

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

OIC. You did send me it; but I was checking my more recent messages.

Rest assured, I'll be on the situation.
"God is syntax."

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Back to the topic:

There were two Pen params; I got rid of the lesser one.

I'm checking all over for syntax errors and I see none there, also.
"God is syntax."

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

Big Bump.

Has anyone at all had any issue with the config above-cited?

I've tried sixteen ways to Sunday to see what's wrong here, but it fails to work for me and at least one other current-version user.
"God is syntax."

User avatar
juxtiphi
Moderator
Posts: 1471
Joined: Sat Jan 15, 2005 1:29 pm

Post by juxtiphi »

JayPro wrote:Big Bump.

Has anyone at all had any issue with the config above-cited?

I've tried sixteen ways to Sunday to see what's wrong here, but it fails to work for me and at least one other current-version user.

I did tighen up the spaces between all the lines of type when I posted.

that wouldnt /shouldnt have any bearing on the issue?

if so i can repost it without tightening the lines of type.

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

The spacing between the statements has nothing to do with it. I've seen code typed with no spaces in between the lines and I've encountered no problems.

I'm sure Andy knew what he was doing when he jotted it all down (i.e. left so many variable statements empty); but I think at least for both of us, a great puzzlement remains firmly in place.

I tried futzing around with an extra "s" or two along with an "fft" and "mag" thrown in; but nope. I adjusted the Vers number. I tried "retro-coding" in places where the more modernized syntax was. Again, I absolutely *combed* the whole thing for mistakes; but no. Every other of his beta waveshapes work just fine but thissun. :?
"God is syntax."

User avatar
juxtiphi
Moderator
Posts: 1471
Joined: Sat Jan 15, 2005 1:29 pm

Post by juxtiphi »

JayPro wrote:The spacing between the statements has nothing to do with it. I've seen code typed with no spaces in between the lines and I've encountered no problems.

I'm sure Andy knew what he was doing when he jotted it all down (i.e. left so many variable statements empty); but I think at least for both of us, a great puzzlement remains firmly in place.

I tried futzing around with an extra "s" or two along with an "fft" and "mag" thrown in; but nope. I adjusted the Vers number. I tried "retro-coding" in places where the more modernized syntax was. Again, I absolutely *combed* the whole thing for mistakes; but no. Every other of his beta waveshapes work just fine but thissun. :?
I became curious to see what the two worlds fig looks like so i opend the toolbar and many of the configs in the wave shape folder are not even listen in the toolbar.


Two Worlds is in a folder named Gold , I put it in the main wave shape folder and it still does not appear in the toolbar list of configs there a few others not showing also.

do you know anything about why they might not be showing up in the toolbar?

User avatar
JayPro
Posts: 738
Joined: Sat May 01, 2004 10:51 pm
Location: Huntington Station, Long Island, New York

Post by JayPro »

See, that's why I'm still on 3.0.1.; before all the bells and whistles. With 3.1>, I've had tons of issues of my configs either not showing up in the pull-down lists or having them show differently than what I know they should look like.

As for this config, I'm even more confused as to why it doesn't show up for you.

SOS Andy! ;)
"God is syntax."

Post Reply