The International Simutrans Forum

 

Author Topic: Bigger level of zoomin  (Read 2847 times)

0 Members and 1 Guest are viewing this topic.

Offline eddielexx

  • *
  • Posts: 46
Bigger level of zoomin
« on: August 05, 2010, 02:55:42 PM »
I wondered if there is any possible level of highr zoom, I don't care if it will look ugly, I just want to see it zoomed. Can I modify smth to get that?

Offline skreyola

  • *
  • Posts: 337
  • Trivial Troubleshooter
Re: Bigger level of zoomin
« Reply #1 on: August 05, 2010, 03:57:53 PM »
I think theoretically, you can develop a patch for this, yes.

Offline eddielexx

  • *
  • Posts: 46
Re: Bigger level of zoomin
« Reply #2 on: August 05, 2010, 04:02:51 PM »
how?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9585
  • Languages: De,EN,JP
Re: Bigger level of zoomin
« Reply #3 on: August 05, 2010, 04:41:13 PM »
You can get 4x zoomed in and 8x time zoomed out. I fail to see the point of further zoom in ... try a nightly first.

Offline skreyola

  • *
  • Posts: 337
  • Trivial Troubleshooter
Re: Bigger level of zoomin
« Reply #4 on: August 05, 2010, 10:42:08 PM »
how?
This is a community developed project, in many (most?) respects, so if you know how to program, write a patch yourself and submit it for consideration. I believe all the simutrans code is done in C and C++. If you don't know anything about programming, this is probably a doomed idea, as I've never seen a request for anything like it before (which indicates to me there's little interest in it, and therefore nobody who's likely to write the code for it).

Offline Spike

  • *
  • Posts: 1361
  • First Simutrans Developer and Graphics Artist
Re: Bigger level of zoomin
« Reply #5 on: August 06, 2010, 08:09:54 AM »
Eddie, since you are working on the Simutrans 3D concept, it might be good to check the current drawing code anyways. Such a patch could be a good training for getting a better understanding of Simutrans' code.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bigger level of zoomin
« Reply #6 on: August 07, 2010, 11:00:05 AM »
I suspect that any further level of zooming in would only make the graphics look rather blocky.

Offline AP

  • Devotee
  • *
  • Posts: 1202
  • Languages: EN
Re: Bigger level of zoomin
« Reply #7 on: August 07, 2010, 01:10:54 PM »
I find myself sometimes wanting further zoomed out though!

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9585
  • Languages: De,EN,JP
Re: Bigger level of zoomin
« Reply #8 on: August 07, 2010, 08:46:04 PM »
Very easy to to this. Just look at simgraph16.cc rezoom_img(). You will need a better interpolations routine; you may find one in OpenTTD extra_zoom_level_branch (which make 4x with more advanced zoom function.)