pouët.net

Noobish question...

category: general [glöplog]
Help me motherfuckers :D

Is Second Reality's two Glenz part:
- glenz is iside the glenz
- glenz is outer but partially intersected the big glenz

Any coders can say which one above is correct, because my 50 euros is on the pot!!

I said that you cant do glenz inside glenz.




added on the 2009-08-22 06:50:15 by moredhel moredhel
There is no stupid question, only stupid people.
added on the 2009-08-22 07:54:09 by BarZoule BarZoule
As I see it in youtube, the big glenz is behind the small glenz but they still glenz each other.

Why you can't do glenz inside glenz? What's the limitation?
added on the 2009-08-22 08:53:10 by Optimus Optimus
I once had an argument with my brother about the direction of the rotation (CW or CCW? :) when the dude in the Barbarian game on CPC makes the decapitation move. I thought he made 180 degrees CW and then 180 back with haste. They thought 360 degrees. Oh well..
added on the 2009-08-22 08:54:44 by Optimus Optimus
you can do glenz inside glenz, but only if it doesn't conflict with your anit-virus.
try turning it off!
It really pisses me off that glenz is considered an effect deserving of its own name. It's just drawing polygons with transparency, for fuck's sake, and you can do that with an OR instruction. If anything it's actually easier than not-glenz polygons, because you don't have to z-sort them. It's like calling "not having a scroller" an effect.
added on the 2009-08-22 13:23:44 by gasman gasman
BB Image
added on the 2009-08-22 13:26:08 by the_Ye-Ti the_Ye-Ti
gasman: its like calling a blur-effect a fire-effect. its not a real fire! but its still a fire-effect
added on the 2009-08-22 14:33:05 by rudi rudi
same with interference effect. its just a xor instruction.
added on the 2009-08-22 14:36:23 by rudi rudi
or with zebras
moredhel:
Quote:
- glenz is iside the glenz
- glenz is outer but partially intersected the big glenz


are you talking about the objects or the glenz-filler?
i think its a big difference between the two.
also a question is if they use z-buffering or not. if they use it, then an intersection would discard pixels behind the nearest object. youtube video is crappy so i cant see the pixels very well. if they dont use zbuffering then an "insersection" would not be the case here. then they just overlap eachother and pixels are overdrawn with or'ing or something.

its better to ask the coders that did 2ndreal demo. they would know the render-code.
added on the 2009-08-22 15:16:08 by rudi rudi
I'm for the cheap OR option suggested by gasman...
z-buffer on a 386...?! At maximum I'd say a painter's algorithm.
added on the 2009-08-22 16:14:24 by bdk bdk
broderick: exactly, and thats why intersection is unlikely to be the case here.
added on the 2009-08-22 16:21:34 by rudi rudi
People what are you talking about please?

Glenz is:
- use 3 bitplanes
- for (all polys)
if (frontside) draw into bitplane 0 and 1
else draw into bitplane 0 and 2

(replace "draw into bitplane x" by "OR bit x into pixels" if you've got a non-planar mode)

If you want two of them, use 6 bitplanes (0,1,2 for the first one, 3,4,5 for the second).

The fun thing is: If glenz 1 is in front of glenz 2 or not, if they're transparent, if they're inside each other etc. is ENTIRELY a matter of writing the right colors into your palette. Once. Done.
added on the 2009-08-22 17:18:20 by kb_ kb_
if it's blending additively than who cares about front/back anyway? it's not like addition isnt commutative :)
added on the 2009-08-22 17:29:23 by Gargaj Gargaj
kb_, come on. You find the silhouette of the object, then you draw it into bitplane 0. Then you draw "a mesh with half of the polys removed" (like in the screenshot above): frontside to bitplane 1, backside to bitplane 2. That's the way you beat records. (the screenshot above is not of a real glenz-thing. it got holes, since they didnt fill in the silhouette. Probably some lame pc-demo ;) )

added on the 2009-08-23 14:15:20 by Hyde Hyde
Yeah, I figured out that I screwed up the explanation shortly after posting but I was quite sure some old Amiga legend/fart will come and correct me :)

Doesn't change the thing about the two glenz objects and "it's all the palette, stupid" tho :)
added on the 2009-08-23 14:18:57 by kb_ kb_
Yep, I'm too old to be posting in the raymarching-thread anyway. But in this thread I AM KING!
added on the 2009-08-23 14:22:14 by Hyde Hyde
ALL HAIL THE KING OF THE GLENZ-THREAD!
added on the 2009-08-23 14:28:10 by kusma kusma
Just a small correction for the king: The screenshot above is from Second Reality 64! With amazing music from kb_ BTW ;-)
added on the 2009-08-23 16:07:08 by RufUsul RufUsul
While we're at it... what's the origin of the name "glenz" for this kind of effect? It's not even a normal word as far as I can tell, so who invented it? :)
added on the 2009-08-23 16:11:43 by jua jua
RufUsul: ah, the enlightenment.. I assumed it was second reality pc :) thanks, humble servants.
jua: Glenz is a swedish term, as far as i remember.
added on the 2009-08-23 19:21:44 by Hyde Hyde
hehe, come to think of it -- wasnt there something called "blenk-vectors" too?? never quite got the hang of the terminology back then :)
added on the 2009-08-23 19:23:35 by Hyde Hyde
I'm sure I read somewhere that it was short for "glass lens". Although that would be a bit silly come to think of it, since they don't behave like a lens in any way.
added on the 2009-08-23 19:41:02 by gasman gasman
"Glins" means something like "shine" in Norwegian. I assume "glens" is the Swedish equivalent.
added on the 2009-08-23 19:49:03 by kusma kusma

login