Skip to content
Forum Archive

Moon buggy fun

74 posts

Raz#
this is 5 world class presets almost finished and its been what, a few months since you left and wouldn't come back to the forums or avs because you had no ideas. We never asked you to be as active as you once were all we ask is that next time you toy around in your spare time for about an hour and out-avs the rest of us for years to come 😉 you withhold it until you have 10 more sweet world class presets, make an intro in your spare time and shove it out there. This is my final plea and i won't harass you any longer or mention it again if you refuse. It's just that you could've been half way there already and it's rather obvious you want to avs. So, final plea.
UnConeD#
The current preset is APE-less, but I intend to use the globvar hack to add something new and unseen-in-AVS...
AVS Axer#
Ok, im convinced and humbled. Sorry about that.

mk2:
"shadows are nothing new in AVS. for the voxel height, it was probably calculated using a pseudo random number generator, or his global variables hack."
I wasnt saying it cant be done, just that it would be near impossible to comute in lousy old AVS.

edit:
by the way, ucd, why are you at uni unitl friday, is there a hostage situation or something?
We can come rescue if you wish..
sidd#
"I can't post the preset cos it's on my PC at home and I'm at univ until friday, but just for you I'll post it along with a little surprise "
--Unconed's promise

"fridays come, fridays go...wheres my moon buggy?"
--Billy Corgan, well, he said the first bit, i said the second bit.
UnConeD#
Sorry too busy this weekend. If you really want I could email home instructions for my dad to go rummage through my dump of AVS presets and try to find the correct one to mail through though :P.
UnConeD#
Here it is, but I really didn't do much with it anymore because its visualisation value is 0. By the way the steering and physics is far from perfect and it can still get stuck backwards sometimes.
Phaze1987#
WHOA...Its sweet,looks like smth made in a proffesional 3d graphic program like Cinema XL or 3D max 🙂 Btw,it looked better in the .avi
sidd#
Very friken nice!!!! what can one say??

I just found this, one single line of code:

py=(sin(x1*0.61+1)*sin(z1*0.4333)+sin(x1)*sin(z1+sin(c2*5)*20)*.6+sin(x1*1.419+c2*10+1.5)*sin(z1*1.6333+c1*20)*.4+sin(x1*3.197+2+c1*17)*sin(z1*2.954)*.2+sin(x1*3.714)*sin(z1*3.911)*.1)*.8-1.90+pz*elevz;

haha, thats insane..

btw, sorry to pressure you, but what did this mean?
"I'll post it along with a little surprise"
Raz#
pfffbt, thats not a long line of code. This is one line out of the main DM from my alien material preset:
x1=1/(1+((sin((sqrt(sqr(x-(sin(sin(s*0.1)*cos(s*0.5-rx1)*5-cos(t*0.5))))+sqr(y-(sin(sin(s*0.2)*cos(s*0.3)*5-cos(s*0.2))))))*3-s*2)+sin((sqrt(sqr(x-(sin(sin(s)*cos(s*0.3)*5-cos(s*0.4))))+sqr(y-(sin(sin(s*0.2+rx1)*cos(s*0.5)*5-cos(s*0.4))))))*4+s*0.1)+sin(x*(cos(sin(sin(s*0.03)*cos(s*0.1)*5-cos(s*0.1))+2)*5)+y*(sin(sin(sin(s*0.03)*cos(s*0.1)*5-cos(s*0.1))+2)*5)-s*6))*0.2+0.5));

I say the terrain looks more like an ocean myself but jesus man, that movement is perfect. I could sit there and watch this for ages. Amazing job once again. You continue to astound the entire community 🙂
UnConeD#
axer: that py line is the terrain, composed of several octaves of sines. You can change it around if you don't mind copy/pasting it to all the other scopes 😉. Same for the shading. I know it looks kind of oceanish, I could try making it more crater-shaded but that would probably be slower.

Btw Raz, that line could use a lot of optimizing... e.g.
"sin(s*0.03)*cos(s*0.1)*5-cos(s*0.1))"
=
"(sin(s*0.03)*5-1)*cos(s*0.1))"

If you further cache s*0.1 (a commonly used value in your code), you can get rid of a lot of multiplies. Remember that getting rid of one statement in a DM means getting rid of gridsize-amount of operations, for a 20x20 DM that means 400 operations.
Raz#
I was going to optimise it at some point, just kept putting it off, i mean look at it. I just did it though, thanks for noticing.
sidd#
so what's 'elevz' then..x rotation?

also, im gonna ask you once more:

wtf is this?
I'll post it along with a little surprise
UnConeD#
elevz is the vertical position of the camera (affects the fake tilting up/down of the terrain).

Oh and there is no surprise sorry 😉. It's fun to keep people in pointless suspension (though the not-posting-the-first-weekend was not intentional). Do you always focus on the details? :P
sidd#
lol.. what a bitch of a thing to do..

whatdo you mean about 'the details'? if your wondering why im so curious of your code, it was cuz i finally decided to try and work out how you did the whole voxel terrain thing..

ive now decided that anything that requires more than 5 ssc's for any result isnt worth the headfuck!

btw: i think that the terrain map from mision to mars was nicer. this one seems too bumpy, which doesnt work aswell because the voxels are so inprecise along xaxis. But then again, if you used a smoother map, the buggy physics wouldnt be as noticable.
Warrior of the Light#
What's this GlobVars hack? If it doesn't screw up any .ini's and stuff, it sounds VERY interesting...

And Deamon, please stick to English... Ook al spreken er hier meerdere mensen Nederlands.
^^^
'Even if several people aroud here speak Dutch.'
anubis2003#
the glob vars hack uses the spectroscope stuff to store variables. These variables can then be accessed using getspec(). Don't think we'll ever see this released though. Just wait for the next avs update.