GLBasic forum

Main forum => Beta Tests => Topic started by: Paul Smith on 2014-Oct-13

Title: 2 Future Crew style effects
Post by: Paul Smith on 2014-Oct-13
2 Effect from Second Reality
All done with standard GLB commands.

1st Fake plasma Cube: FC used palette rotation , not  sure how to do that  so I did it my way.

2nd Overlapping/bending circles: takes 10 seconds to render.tried this with a rotating palette but it looked bad.

I will upload code once it cleaned and optimized if interested
Let me know if you like or have idea's

circles.exe
cube.exe
Title: Re: 2 Future Crew style effects
Post by: Ian Price on 2014-Oct-14
Both very cool effects :)
Title: Re: 2 Future Crew style effects
Post by: MrPlow on 2014-Oct-14
The circles made me dizzy  :puke:
Cube was nice - very amiga-like
Title: Re: 2 Future Crew style effects
Post by: MrTAToad on 2014-Oct-14
Yes, very nice!
Title: Re: 2 Future Crew style effects
Post by: mentalthink on 2014-Oct-15
Very Interesting the cube with animated maps!!!
Title: Re: 2 Future Crew style effects
Post by: D2O on 2014-Oct-15
 :good: Nice
Title: Re: 2 Future Crew style effects
Post by: Paul Smith on 2014-Oct-15
I guess 99% of you worked out how this was done.I recall someone asking about this ages ago.so this was my take with animation.

The cube was made using AC3D, I then drawn a picture 512x512 with a 3x3 grid 170x170. Using AC3D texture coordinate editor mapped each side to a grid position. save it as .ddd
not sure how easy this is if you built the cube from Code and tried to map it, maybe someone with more experience could shed some light?

The program load 3 sprite pictures(plasma )
stretches the images and grabs a sprite per line. e.g 320x200 would grab 200 sprites 320x1 and does this 3x

using cosine maths it wobbles the whole screen and grabs an image for 2  sides. again 3x
then all is written to the grid  in different  location then grabbed as the texture  map
Title: Re: 2 Future Crew style effects
Post by: kanonet on 2014-Oct-15
Yeah looks nice.
Side note: when texturing a 3D object in GLBasic, you generally should stick with textures with the power of two, e.g. 512x512.
Title: Re: 2 Future Crew style effects
Post by: Paul Smith on 2014-Oct-15
I did map the image on a 512x512 this it just a typo, i'll fix it now. cheers
Title: Re: 2 Future Crew style effects
Post by: erico on 2014-Oct-17
pretty dizzy! well done.