Author Topic: Beam helixes  (Read 5502 times)

0 Members and 1 Guest are viewing this topic.

Offline phreak

  • Gun Phreak
  • 211
  • -1
I'm taking a break from graphics work to work on "Beam helixes".  In the few anime shows i've watched, i notices a few types of beams that have spirals around the central beam.  I'm trying to recreate such an effect in FS2.  Basically, the helix would spriral at three different modes

1 - sine wave (starts at zero, goes to maximum peak at 1/4 the period and minimum peak at 3/4 the period, crosses beams at 0, 1/2, 1)

2 - cosine wave (starts peaked, minimum at 1/2 the period; maximum at 0 and 1, crosses beam at 1/4, 3/4)

3 - spiral (helix stays fixed distance around beam, looks like a spring with a rod through the middle)
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Solatar

  • 211
Cool.:thepimp:

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
hmm... I was thinking about doing something like this,
but you can have it,
the trail code may have some stuff in it of use for getting started
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Fetty

  • 27
something like that with a beam in the middle ?
(i know it isnt a space sim :D )

edit : was a bit big ill do a link
click me :D

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
that would be type three
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
that mech beam thing would actualy be rather easy to do
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
the effects i plan on doing won't work with beam tiling and translation.

basically - fire three beams, and have the two outer ones spiral around the middle one
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Fetty

  • 27
ugh that sounds rather complicated

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Quote
Originally posted by PhReAk
the effects i plan on doing won't work with beam tiling and translation.


well that is understandable, odds are you're going to have to break the beam up into a whole buch of segments, and the tileing code would be hard to move into the rendering code for those segments,
though it may be a good idea to use the table entries for them to controle some things like the frequency of the helix and the speed at wich it moves,
the tileing entry has a flag for setting what sort of style you want.

but paresing code is extreemly simple so it doesn't realy mater
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Quake 2 Rail gun looks something like that

 

Offline Grey Wolf

Quote
Originally posted by Bobboau
that mech beam thing would actualy be rather easy to do
Actually, that's a Gauss Rifle. Nasty weapon, especially mounted in combo with 2 mounted w/ a Thunderbolt.....
You see things; and you say "Why?" But I dream things that never were; and I say "Why not?" -George Bernard Shaw

 

Offline Fetty

  • 27
well i didnt want to go into detail:D (bgetter with 6erlarge btw:D )

but i got a question also
since im a complete , terrible and total newb about this
it also can be mod related idk :)
is it possible to have 3 beams joined up into 1 huge beam ? (like b5 excalibur...) that sounds similar to what your doing phreak
or im totaly wrong and in that case im gona jump out of the window :D

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
No, he wants a beam helix.  Ie....a central beam with a rotating beam around the outside that twists and turns through the center one.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Fetty

  • 27
ye i understood that ;)
just another question from a noob :)

 
Might you be able to something like that with the lightning code(from the nebula), Or you might create a new nebula only weapon with lightning effects.

Just a thought

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Having tinkered with the beam tiling and translation code a fair bit, I think one and two could easily be done with the code as it is now if the rate at which flickering happens could be set by a table value.  Number 3 is a bit tougher if you want the helices to actually respond in 3d to the position of the player like in the pic Fetty posted, since beams right now render in 2D.

But with precise control of the flicker rate, all one would need is an image of a sine wave or cosine wave with which to flicker (since flickering is simply the widening and narrowing of a beam section)
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Quote
Originally posted by PhReAk
I'm taking a break from graphics work to work on "Beam helixes".  In the few anime shows i've watched, i notices a few types of beams that have spirals around the central beam.  I'm trying to recreate such an effect in FS2.  Basically, the helix would spriral at three different modes


Which shows?

and I like the idea!
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

  

Offline phreak

  • Gun Phreak
  • 211
  • -1
Quote
Originally posted by TrashMan

Which shows?
 


DBZ mostly
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Killfrenzy

  • Slaughter-class cruiser
  • 210
  • Randomly Existing
Vandread uses them as well.....I think.

But if you can do these helixes (as well as keeping the original beams) I can put them to VERY good use! :D
Death has more impact than life, for everyone dies, but not everyone lives. [/b]
-Tomoe Hotaru (Sailor Saturn
------------
Founder of Shadows of Lylat

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
most likely i will have a working demo up by friday (hopefully earlier).

nothing special, just beams with lines twirling around them just to demonstrate the idea.  I will supply instructions on how to add helixes to a beam.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord