Main forum > GLBasic - en

great nebula effect

(1/3) > >>

djtoon:
hi look at this
http://www.youtube.com/watch?v=CaTI2d0tQME

i creatd this but i cant get the part where the angel of the plane is faceing the camera

any help whold be appriciated

10x

mentalthink:
Hi DJtoon, it´s very Nive the FX, I think the better way for make this effect not it´s whit planes... yes a lot of planes are very low consume of CPU, but using a couple of Spheres whit a very few polygons you can have very interenting FX, whitpout complication whit maths...

About the movement of the camera... I don´t know if can help you, the Gernnot code int the 3D part of the forum... I don´t think if billboarding can help you...

Very Nice FX !!!

FutureCow:
That looks brilliant!
I'm not 100% sure what you mean by "the angle of the plane facing the camera". Are you saying you're not sure what the angle is of the current polygon relative to the camera?
3D maths is really not my strong suit (as I'm likely about to display!) but it occurs to me that if you know the position of two opposite corners and their distance from the camera, you'd end up with a triangle you may be able to calculate it from? ie. as per this page (http://www.sparknotes.com/testprep/books/sat2/math2c/chapter9section9.rhtml) a2=b2+c2-2bc*cos a or similar.

That probably doesn't help in any way, but I'm hoping it does!!!

Love the effect!

kanonet:
Looks nice.
Maybe i didnt understand this right, but wouldnt using sprites/billboards be a better idea? Did you try X_SPRITE (or my Replacement)?

djtoon:
nope this is the besy way becuse when you enter the nebula you still get the 3d effect

and yes
im trying to get the angel of the plane in relation to the camera, becuse when the plane is flat it sapposed to disapear or lower alpha.

its all explaned in the move

Navigation

[0] Message Index

[#] Next page

Go to full version