Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → non-adjoin flags
non-adjoin flags
2003-10-09, 8:42 AM #1
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?
Code:
# 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
Edward's Cognative Hazards
2003-10-09, 9:42 AM #2
Quote:
<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

[Anoying posts] + 1.
Catloaf, meet mouseloaf.
My music
2003-10-09, 10:26 AM #3
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
Edward's Cognative Hazards
2003-10-09, 5:15 PM #4
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!"
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"
2003-10-09, 8:46 PM #5
OF COURSE!!!
FACE FLAGS!!!
*Thud thud thud, bang my head against the screen*
*Rattle rattle rattle, hit myself with keyboard*
Thank you!

/Edward
Edward's Cognative Hazards

↑ Up to the top!