PDA

View Full Version : non-adjoin flags



Edward
10-09-2003, 11:42 AM
Hi!
I have a problem. The COG here is made to turn 24 surfaces transparent. Now the surfaces I've selected are not adjoining surfaces, which will result in semi-HOM (motion blur). But it ain't happeneing! Why?


# Motion Blur!
#
# By Edward
symbols

message startup
message user0

surface m0
surface m1
surface m2
surface m3
surface m4
surface m5
surface m6
surface m7
surface m8
surface m9
surface m10
surface m11
surface m12
surface m13
surface m14
surface m15
surface m16
surface m17
surface m18
surface m19
surface m20
surface m21
surface m22
surface m23

int i=0 local

int z local

end
#
code
startup:
for(z=0; z<24; z=z+1)
{
ClearAdjoinFlags(m0[z],0x4);
}
return;
user0:
If(i==0)
{
i=1;
for(z=0; z<24; z=z+1)
{
SetAdjoinFlags(m0[z],0x2);
}
print("Blur");
}
else
{
i=0;
for(z=0; z<24; z=z+1)
{
ClearAdjoinFlags(m0[z],0x2);
}
print("UnBlur");
}
return;
end


/Edward

DogSRoOL
10-09-2003, 12:42 PM
<font face="Verdana, Arial" size="2">Now the surfaces I've selected are not adjoining surfaces</font>I think that speaks for itself.

If there's no adjoin, you can't use adjoin flags.

------------------
"The Just shall live by faith." - Galatians 3:11
I am DogSRoOL; Lord of the Onion Rings
The Giant Internet IC Masturbator (http://www.ionpool.net/arcade/giicm/GIICM.html)

[Anoying posts] + 1.

Edward
10-09-2003, 01:26 PM
Well, it is possible to set adjoin flags to non-adjoined surfaces in JED. I was hoping to have a movie where I get motion blur in some parts of the movie.
I guess that's out of the question.

/Edward

SG-fan
10-09-2003, 08:15 PM
Actually it is possible.
Use face flags, not adjoin flags. Set it to transparent and it should work.

------------------
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"

Edward
10-09-2003, 11:46 PM
OF COURSE!!!
FACE FLAGS!!!
*Thud thud thud, bang my head against the screen*
*Rattle rattle rattle, hit myself with keyboard*
Thank you!

/Edward