Skip to content
Forum Archive

fairly realistic fire

44 posts

Jaheckelsafar#
I have a supersope you can pick apart that will do a cube if you want. (and one that does just a cube)
Jaak#
Anubis this what u sayd to me was bit 2 much (i gess i cant sleep 2 days now).
I gess i must learn more obout 3D ssc - ing.
I get the method (spellind) of doing 3D ssc (shadow and the wall. U take random 3D object, U show light on it and here u go there is the kind 3D object on 2D wall, simple isnt it [heh dream on], its all i know but i dont figure out math how to do it in ssc).
Ill check ur link out...
anubis2003#
Jack, Check out Atero's primer and search the forums. There are many places that will tell you how to project into 3-D.
dirkdeftly#
jack the king: i said this in another thread, but i'll say it again here: USE THE DAMN EDIT BUTTON. Don't do double-posts like that, just use the edit button (right under the post) and change the post instead of making a new one.
jheriko#
Originally posted by Jack the king
Anubis this what u sayd to me was bit 2 much (i gess i cant sleep 2 days now).
I gess i must learn more obout 3D ssc - ing.
I get the method (spellind) of doing 3D ssc (shadow and the wall. U take random 3D object, U show light on it and here u go there is the kind 3D object on 2D wall, simple isnt it [heh dream on], its all i know but i dont figure out math how to do it in ssc).
Ill check ur link out...
3d=easy

:

x2d=x3d/(cameradistance + scalefactor*z3d);
y2d=y3d/(cameradistance + scalefactor*z3d);

or, optimised:

buffer=1/(cameradistance + scalefactor*z3d);
x2d=x3d*buffer;
y2d=y3d*buffer;


obviously in avs x2d and y2d ar x and y. i just named the variables in a way that would allow me to explain it all without typing too much 😛
Jaak#
Ok, ok.
That was kinda easy one and i get this part now.
But now im in deem s**t with the 3D rotation.
😛
🙄
😔
jheriko#edited
x2=x1*crz-y1*srz;
y2=x1*srz+y1*crz;
z2=z1;

x3=x2*cry+z2*sry;
y3=y2;
z3=-x2*sry+z2*cry;

x1=x3;
y1=y3*crx-z3*srx;
z1=y3*srx+z3*crx;


i can't be bothered to explain it... download one of my presets to see how it works.

EDIT: I explained this before and forgot about it 😛

Go here: http://forums.winamp.com/showthread....hreadid=108222

There I explained 3d in much better detail than I have here.

There is another good discussion of 3d here too: http://forums.winamp.com/showthread....n&pagenumber=2
Raz#
Atero, just wondering why you care so much that people do double posts? its not that big a deal.
anubis2003#
It causes posts like this to go onto 2 or more pages and can be really annoying when you have to see their avatar, signature and other stuff. Editing the post makes it much easier to read it.
dirkdeftly#
effectively the same reason i get pissed about people asking pointless questions that they could answer themselves in ten minutes or less.