project-navigation
Personal tools

Author Topic: Current issues with 2.3 PPC build (Now with Graphics!)  (Read 16677 times)

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #30 on: May 25, 2010, 01:50:54 am »
29998, reversed: iBook g4 is fine, mac mini has bad shadows.

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #31 on: May 25, 2010, 02:09:41 am »
30030, mac mini good, ibook has bad shadows.
Retesting 29998.
... and the list of what gets recompiled is NOT the same on both machines.

Full wipe and recompile next.

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #32 on: May 25, 2010, 03:15:38 am »
29998: iBook G4 initially was perfect display. After either f8 or f9 (expose/spaces), it changed and added in some shadows.

It altered shadows if I used f8, f9, or f10. It never removed the shadows completely.

Macmini had extra shadows the entire time.

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #33 on: May 28, 2010, 08:03:17 am »
NAARG.

I thought I had tracked down the spectacular failure case to being the downloaded maps. But "farm" displays perfectly with the downloaded map.

Sigh. The downloadeds seem to be worse, but not guaranteed bad.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #34 on: May 28, 2010, 08:49:54 am »
that sounds like there is an endian issue in loading or saving the lightmap data - because they are calculated on a little endian system

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #35 on: May 28, 2010, 09:36:29 pm »
Which is what I thought, and was hoping to find.

But as I said, I got a perfect load on "Farm" (downloaded). Other than it looks like completely flat ground, I didn't see anything else different from the other maps.

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #36 on: May 29, 2010, 01:23:57 am »
... and 4 more loads of farm all gave the "spectacular failure" that I'm used to.

Compiling all the farm tiles locally now...

Offline keybounce

  • Sergeant
  • *****
  • Posts: 330
    • View Profile
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #37 on: May 31, 2010, 07:30:06 pm »
that sounds like there is an endian issue in loading or saving the lightmap data - because they are calculated on a little endian system

Ok, where in ufo is the lightmap data read in, and what values should be seen? Do the lightmap values change as you rotate the map? (What's displayed does change as the map is rotated, and sometimes on a per-frame toggle.)

Lets see if we can get some debugging patches, and then see what values are read/used on ppc/x86.

Oh yea -- Local compiled farm maps are "mostly good" with minor issues, and the rare, occasional good.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Current issues with 2.3 PPC build (Now with Graphics!)
« Reply #38 on: May 31, 2010, 09:18:15 pm »
the lightmap data does not change - it's loaded to a texture in r_model_brush.c R_ModLoadLighting - but this data is only stored in byte - so there can't be any endian issue - so it must be later (when uploading - maybe wrong opengl pixel format) - R_CreateSurfaceLightmap or somethign like that.