PS3 [Research] Modifying the Gaia Visualization (custom_render_plugin/earth.qrc)

Discussion in 'XMB Modifications' started by DeViL303, Jan 9, 2020.

  1. 8,605
    9,692
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,605
    Likes Received:
    9,692
    Trophy Points:
    797
    I am working on a better BAT that allows you to choose exactly which image you want to prepare. So far it only has support for cubemaps and flatmaps (jpg and png). I plan to add all the features from the previous BAT but with better error handling and more flexibility.

    For example I will add options to ONLY prepare stars.jpg or stars.png into a 1024x1024 DDS. Also it will be able to handle images of any resolution.

    This is using the cmdmenusel plugin now so it allows you to use the mouse or keyboard to browse menus, go back etc.

    Its a WIP, any suggestions let me know? :)

    upload_2020-3-6_13-28-26.png upload_2020-3-6_13-28-51.png upload_2020-3-6_13-29-12.png upload_2020-3-6_13-27-44.png upload_2020-3-6_13-30-19.png
     
    Louis Garry, lmn7 and LuanTeles like this.
  2. 1,821
    1,592
    297
    LuanTeles

    LuanTeles Senior Member

    Joined:
    May 15, 2017
    Messages:
    1,821
    Likes Received:
    1,592
    Trophy Points:
    297
    Gender:
    Male
    Occupation:
    Civil Engineer
    Location:
    São Paulo - Brazil
    Home Page:
    Thats really nice, so if i select to only add the stars it will generate a full default earth.qrc with just the stars replaced?

    Make an option to add the changes to a new generated file with the default earth just with the selected options replaced

    and other to add the changes to an already existing qrc
     
    DeViL303 likes this.
  3. 8,605
    9,692
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,605
    Likes Received:
    9,692
    Trophy Points:
    797
    Yeah, you will be able to do all that.

    This will only be a helper to the app that pink1 is working on. His application is much more advanced than anything a bat can do, it's able to build from an extracted earth.qrc. So I am getting this bat ready so it can be used alongside that app to prepare images from flatmaps and cubemaps. You feed this bat your images, and it will create the proper files and folder structure for up to 74 images like this:


    upload_2020-3-6_15-27-52.png


    This way you will be able to use any qrc you want as a base by extracting it with pink1s app, and then individually replace any layer you want using images prepared with this bat, then rebuild from the modified folder with pink1s app.
     
    Last edited: Mar 6, 2020
    Cypher_CG89 likes this.
  4. 7,566
    7,038
    797
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    7,566
    Likes Received:
    7,038
    Trophy Points:
    797
    Location:
    Babylon 20xxE series
    @DeViL303 a single DDS file containing the 6 cubefaces is a cubemap, and the 6 cubefaces stored as separated files is a cubemap too
     
    DeViL303 likes this.
  5. 8,605
    9,692
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,605
    Likes Received:
    9,692
    Trophy Points:
    797
    Yeah there are lots of ways of storing them but I am just going with the "standard" one you find on google images.



    upload_2020-3-6_20-23-56.png


    I guess I could add support for other types but I don't think most earth.qrc modders will be going that deep on it tbh.
     
  6. 7,566
    7,038
    797
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    7,566
    Likes Received:
    7,038
    Trophy Points:
    797
    Location:
    Babylon 20xxE series
    My point is the word "cubemap" is not explicit enought because includes all them, so in some way all them are standards
    The one you like is a "cross cubemap" (sometimes named "cubecross", or "cubex") but even inside this group of "cross cubemaps" there are different styles based in the orientation of the cross


    Edit:
    I dont have a alternative name suggestion for the cubecross style you are using, i guess there must be some technical name for it (and for his orientation), but i dont know
    Probably is so popular because is supported by OpenGL/Vulkan that became very popular (but im not sure im just guessing)
    In that case it would be interesting to know if that cubecross with the same orientation you are using is really the standard for OpenGL... in that case we could say is a "standard OpenGL cross cubemap"
     
    Last edited: Mar 6, 2020
    DeViL303 likes this.
  7. 8,605
    9,692
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,605
    Likes Received:
    9,692
    Trophy Points:
    797
    True, but I don't want to over complicate it with big long names for all the options. I could add the word "cross", and then "left hand" cross etc etc..but I think with the preview shown in the background of the command window and the fact that more than 90% I have come across are like this it will be ok.

    I could add the word "cross" here to be sure the users know.


    upload_2020-3-6_20-49-1.png


    "Flatmap" is just a term I made up too afaik. :)
     
    sandungas likes this.
  8. 8,605
    9,692
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,605
    Likes Received:
    9,692
    Trophy Points:
    797
    On second thoughts, I guess I could add support for cubemap crosses in all 4 orientations easily enough, I have the base there now. Also 6 layer DDS cubemaps...hmm...I will try. Why not.

    I can add sub menus and previews for all orientations of the cross.

    Edit : It seems there is only 3 different orientations really. Left heavy is the most common, then top heavy, then right. I don't see any upside down crosses.
     
  9. 7,566
    7,038
    797
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    7,566
    Likes Received:
    7,038
    Trophy Points:
    797
    Location:
    Babylon 20xxE series
    Just for curiosity sake, i found this sentence in google (it was just a random comment, not a tutorial or serious explaination)
    https://stackoverflow.com/questions...n-opengl-cubemap-from-cross-layout-image-file
    That made me find this, it seems this 6 are popular, additionally with the conversion back to separated CubicFaces there are 7 popular "layouts"

    CubicFaces2HorizontalCross --> http://www.andrewhazelden.com/proje...e-conversions.html#CubicFaces2HorizontalCross
    CubicFaces2HorizontalStrip --> http://www.andrewhazelden.com/proje...e-conversions.html#CubicFaces2HorizontalStrip
    CubicFaces2HorizontalTee --> http://www.andrewhazelden.com/proje...ide-conversions.html#CubicFaces2HorizontalTee
    CubicFaces2VerticalCross --> http://www.andrewhazelden.com/proje...ide-conversions.html#CubicFaces2VerticalCross
    CubicFaces2VerticalStrip --> http://www.andrewhazelden.com/proje...ide-conversions.html#CubicFaces2VerticalStrip
    CubicFaces2VerticalTee --> http://www.andrewhazelden.com/proje...guide-conversions.html#CubicFaces2VerticalTee
     
  10. 8,605
    9,692
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,605
    Likes Received:
    9,692
    Trophy Points:
    797
    Hmmm, Actually on third thoughts forget it. :) Supporting 90% of what is available is enough.. To support the other 10% would take a lot of work. There are other tools for converting anyway.

    Found this site with loads of free horizontal cubemaps, they're the skybox kind though.
    http://www.humus.name/index.php?page=Textures
     
  11. 7,566
    7,038
    797
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    7,566
    Likes Received:
    7,038
    Trophy Points:
    797
    Location:
    Babylon 20xxE series
    For the matter of PS3 earth mapping.... we just need to worry in the "horizontal" ones... because we know sony labeled the equator cubefaces from 0, 1, 2, 3
    If we reorder them in a vertical cubecross that numbers are going to be disaligned (the equator is not going to look like an straight line), this doesnt seems to be how they was working

    Actually... now im thinking in it the one that matches better with earth cubemap from the PS3 is the "horizontal strip". If we reorder the cubefaces in a horizontal strip that numbers are going to be aligned perfectly 0,1,2,3,4,5
    Is just is not much convenient to use the "horizontal strip" because you have 2 cubefaces (for the poles) that doesnt matches in his borders with the other faces next to them


    Edit:
    Not sure though... the 180º rotation of the official images is becoming confusing again :/
     
    Last edited: Mar 6, 2020
  12. 8,605
    9,692
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,605
    Likes Received:
    9,692
    Trophy Points:
    797
    Random COK-002 Motherboard Mod :)

    1.jpg 2.jpg 3.jpg
     

    Attached Files:

    Louis Garry, LuanTeles and sandungas like this.
  13. 1,821
    1,592
    297
    LuanTeles

    LuanTeles Senior Member

    Joined:
    May 15, 2017
    Messages:
    1,821
    Likes Received:
    1,592
    Trophy Points:
    297
    Gender:
    Male
    Occupation:
    Civil Engineer
    Location:
    São Paulo - Brazil
    Home Page:
    This one looks nice, do you still have it?
     
    DeViL303 likes this.
  14. 1,821
    1,592
    297
    LuanTeles

    LuanTeles Senior Member

    Joined:
    May 15, 2017
    Messages:
    1,821
    Likes Received:
    1,592
    Trophy Points:
    297
    Gender:
    Male
    Occupation:
    Civil Engineer
    Location:
    São Paulo - Brazil
    Home Page:
    DeViL303 likes this.
  15. 8,605
    9,692
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,605
    Likes Received:
    9,692
    Trophy Points:
    797
    No, cant find it now. I must have over wrote it. It was just a texture from Genetica viewer with matching "noise" map.

    upload_2020-3-9_4-15-2.png

    Yeah, Its cool. That is a scan of my own old COK-002 motherboard, I scanned it with a professional photo scanner. Its over 14000x11000. Really we need to get scans like that of every board.

    http://xmbmods.com/temp/COK002_1.jpg
     
    LuanTeles likes this.
  16. 1,906
    2,056
    397
    pink1

    pink1 Moderator Developer

    Joined:
    Feb 25, 2015
    Messages:
    1,906
    Likes Received:
    2,056
    Trophy Points:
    397
    Gender:
    Male
    Has anyone been playing with the fpo/vpo files. I’ve been looking at them on and off and have a pretty good idea about most of the format but if anyone has any info they’d like to share that’d be awesome :)

    I’ve also tried playing with the gtf files but have had mixed results with them. Some are fine but others the dds isn’t quite right.
     

Share This Page