Author Topic: Some screens of q-gears field background progress.  (Read 7520 times)

Akari

  • Moderator
  • *
  • Posts: 766
    • View Profile
I just want to share my happiness and show you the screens with first layer rendered correctly. This is all field locations that I usually include in binaries.







To tell you the truth, the second layer too rendered correctly, but It was late when I leave work and I forgot sources and binaries there, so I have only this screens.

Cyberman

  • *
  • Posts: 1572
    • View Profile
Re: Some screens of q-gears field background progress.
« Reply #1 on: 2006-11-17 17:15:13 »
1) Woo... looks like you are getting there
2) Walkmeshs and background do not appear to be aligned correctly,  I assume this has to do with screen center versus walkmesh center issues?

Cyb

Akari

  • Moderator
  • *
  • Posts: 766
    • View Profile
Re: Some screens of q-gears field background progress.
« Reply #2 on: 2006-11-17 17:40:31 »
2) Walkmeshs and background do not appear to be aligned correctly,  I assume this has to do with screen center versus walkmesh center issues?

I don't even think about this yet. I planned to do this in 0.10 version together with scrolling and others. In 0.09 I must just implement background, their animation and related opcodes (there are more some minor things really).

nope

  • *
  • Posts: 56
  • nope
    • View Profile
Re: Some screens of q-gears field background progress.
« Reply #3 on: 2006-11-17 18:24:22 »
This looks awesome akari! You're a great coder :-D

Cyberman

  • *
  • Posts: 1572
    • View Profile
Re: Some screens of q-gears field background progress.
« Reply #4 on: 2006-11-17 20:38:06 »
2) Walkmeshs and background do not appear to be aligned correctly,  I assume this has to do with screen center versus walkmesh center issues?

I don't even think about this yet. I planned to do this in 0.10 version together with scrolling and others. In 0.09 I must just implement background, their animation and related opcodes (there are more some minor things really).
Oh... I see, LOL I thought "Wow it almost aligns correctly" now I can say DOH! :D
Erstwhile it does not appear to be just a simple case of alignment, it appears the camera information somewhat distorts things. I'm not sure if it's the perspective you are using for the walkmesh or not but I think it may be.  The scenes may alternatively apply perspective correction or not.  That might be what is at issue.

Cyb

Fergus McMillan

  • Guest
Re: Some screens of q-gears field background progress.
« Reply #5 on: 2006-11-18 23:29:20 »
Holy crap this is awesome! Nice work. I wish I could get involved somehow but, alas, I'm only learning Java at school right now and my self-teaching of C++ isn't going very far.

miketheman123

  • Guest
Re: Some screens of q-gears field background progress.
« Reply #6 on: 2006-12-07 19:25:46 »
I have a question about the different layers in the field screens.

You know how some parts are coloured green to show that that part will be shown *ON TOP* of the the characters, well what do the red ones mean and how do they recognise the fact that the character can be infront of and behind that object (An example would be a fence or a lampost.)

Thanks if anyone can reply.

Akari

  • Moderator
  • *
  • Posts: 766
    • View Profile
Re: Some screens of q-gears field background progress.
« Reply #7 on: 2006-12-07 19:45:27 »
I have a question about the different layers in the field screens.

You know how some parts are coloured green to show that that part will be shown *ON TOP* of the the characters, well what do the red ones mean and how do they recognise the fact that the character can be infront of and behind that object (An example would be a fence or a lampost.)

Thanks if anyone can reply.

AFAIK the green and red means nothing. There are two layers. The first one (bottom) rendered first, then model characters added and lastly rendered second layer that hide some part of models.
The green and red colors appeared when original pictiure was slice into two layers. They filll cuted place with green and red colors... maybe there are even more, but they dont have any special meaning.
« Last Edit: 2006-12-07 19:48:43 by Akari »

Synergy Blades

  • Guest
Re: Some screens of q-gears field background progress.
« Reply #8 on: 2006-12-07 20:10:19 »
Unless I've misunderstood you Akari, that isn't always the case, as Mike seems to be pointing out the same thing I've also wondered. That is - what about areas you can both disappear behind, as well as walk in front? For example - Chocobo farm. You can walk behind the house on the left hand-side, but you can also run in front of it (to go through the front door, for example). In this way you can both appear in front of and behind the same sprites making up that part of the background, depending on the Z-distance of your character; where is this information stored?

Micky

  • *
  • Posts: 300
    • View Profile
Re: Some screens of q-gears field background progress.
« Reply #9 on: 2006-12-07 22:14:12 »
In this way you can both appear in front of and behind the same sprites making up that part of the background, depending on the Z-distance of your character; where is this information stored?
If I had to program this I'd store some kind of layer index on the walkmap's triangles. Like "if object is in triangle x, render it after compositing layer y before rendering the rest". Remeber, the PS1 has neither a Z-Buffer or a complicated pixel-shader system, so information stored in the texture colours is not easily accessible.
« Last Edit: 2006-12-07 22:15:47 by Micky »

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
Re: Some screens of q-gears field background progress.
« Reply #10 on: 2006-12-07 23:11:50 »
Actually, on the PS1, you did not have direct access to the VRAM *at all*. It was in a whole other bank of unconnected memory. You had to go through the GPU and ask it what was at a particular location in VRAM.

Synergy Blades

  • Guest
Re: Some screens of q-gears field background progress.
« Reply #11 on: 2006-12-07 23:26:09 »
Well, for anyone thinking of looking, if you check the Chocobo farm any image areas where you can walk both in front and behind of them are all stored in the foreground layer, so I did wonder if it's not a particular property of those foreground sprites. I did a check on that theory quite a while back and there was a... four-byte? number I suspected of having some part of this, though I never went any further than just rendering out particular sets of tiles and inspecting their value. It seemed that the further away from zero the value was, the sprites that corresponded to areas further away from the walkmesh origin would render, but it could have just been a complete fluke as I didn't look into any more than that cursory glance.

Akari

  • Moderator
  • *
  • Posts: 766
    • View Profile
Re: Some screens of q-gears field background progress.
« Reply #12 on: 2006-12-08 03:13:14 »
Remember that there are some ununderstanded bytes in foreground layer and Z ordering of drawing sprites of the same layer didn't work propely yet. I think that kind of info stored there.

Miketheman

  • Guest
Re: Some screens of q-gears field background progress.
« Reply #13 on: 2006-12-13 21:22:00 »
The Chocobo Farm place was the exact place I also began wondering about different layer positions.