Jump to content

Boston

Community Members
  • Posts

    33
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Boston

  1. Ah cool. Yes, that's exactly what I'm doing. I'm thinking about rolling my own app that uses a true orthogonal camera with various export settings, but I'll see if I can do this simple change and get it added to the game first Boston.
  2. I am attempting to add a button to the Actor Viewer that will toggle between 2d and 3d projection: camera.SetPerspectiveProjection(2.f, 512.f, DEGTORAD(20.f)); found in source/tools/atlas/GameInterface/View.cpp sets the Field Of View, IE how strongly things are effected by perspective. float m_Distance; found on line 38 of source/tools/atlas/AtlasUI/ScenarioEditor/Tools/ActorViewerTool.cpp sets the distance from the object being viewed to the camera, IE how large the object appears on screen. I want to modify both of these at the same time, but I can't for the life of me find a way to send data from source/tools/atlas/GameInterface/View.cpp to source/tools/atlas/AtlasUI/ScenarioEditor/Tools/ActorViewerTool.cpp Any advice would be appreciated. Boston.
  3. I added a button to the Actor Viewer I might fix the problem with having to zoom in and out after toggling the 3d look, later. Boston.
  4. Here is a better demonstration of having a 3d asset rendered as a 2d sprite. I'm off to learn the wxWidgets API and the Coding Conventions. Boston
  5. I got it to work again today, but I had to do a similar change to the code, this time in /source/tools/atlas/GameInterface/ActorViewer.cpp, on line 532. I made a mock-up of the tool that I would like to build: Unfortunately, I'm not so good on C++ What do you think? Boston.
  6. I have modified Atlas to work in isometric. I replaced line 233 of /source/tools/atlas/GameInterface/View.cpp original: camera.SetProjectionFromCamera(*g_Game->GetView()->GetCamera()); new: camera.SetPerspectiveProjection(1, 512, 0.1); It can be done! More work is needed to export the 2d images.
  7. That's unfortunate. Do you think I could muck around and export 2d images from the sources? I only need 1 or 2 units for the time being. How can I download the sources as per the Creative Commons license? Kind regards, Boston.
  8. Hi 0AD community, I'm Boston. I am working on a 2d open source game and I've heard that graphics in 0AD are under a creative commons license. https://bbrooks193.blogspot.com/2021/12/maths-game.html Could someone post a list of steps involved in downloading unit graphics and converting them to 2d sprites? Kind regards, Boston.
×
×
  • Create New...