Skip to main content
added 23 characters in body
Source Link
lhk
  • 408
  • 3
  • 18

Please note: The problem is not the white rectangle, it's my player object. The problem is that although the map should have equal width and height it's stretched weirdly. With orthographic rendering I expected the map to be a perfect square.

Please note: The problem is not the white rectangle, it's my player object. The problem is that although the map should have equal width and height. With orthographic rendering I expected the map to be a perfect square.

Please note: The problem is not the white rectangle, it's my player object. The problem is that although the map should have equal width and height it's stretched weirdly. With orthographic rendering I expected the map to be a perfect square.

added 618 characters in body
Source Link
lhk
  • 408
  • 3
  • 18

![isometric ?][1]isometric ?

Can you tell me how to find out correct setting for the FilmSize ?

UPDATE 2:

I can imagine that it's hard to envision the behaviour of the game. At first glance the obvious solution is to pass the window's width and height in pixels to setFilmSize. There are two problems with that approach.

  1. The parameters for setFilmSize are ingame units. You'll get a way to big view if you pass the pixel size
  2. For some strange reason the image is distorted if you pass equal values for width and height.

Here's the output for setFilmSize(800,800) [1]: https://i.sstatic.net/eV35E.pngdefinitely wrong You'll have to stress your eyes but you'll see what I mean

![isometric ?][1]

Can you tell me how to find out correct setting for the FilmSize ? [1]: https://i.sstatic.net/eV35E.png

isometric ?

Can you tell me how to find out correct setting for the FilmSize ?

UPDATE 2:

I can imagine that it's hard to envision the behaviour of the game. At first glance the obvious solution is to pass the window's width and height in pixels to setFilmSize. There are two problems with that approach.

  1. The parameters for setFilmSize are ingame units. You'll get a way to big view if you pass the pixel size
  2. For some strange reason the image is distorted if you pass equal values for width and height.

Here's the output for setFilmSize(800,800) definitely wrong You'll have to stress your eyes but you'll see what I mean

attempted to turn the title into a question
Link
thedaian
  • 4.5k
  • 1
  • 25
  • 24

problem with isometric rendering How do I use setFilmSize in panda3d to achieve the correct view?

added 193 characters in body
Source Link
lhk
  • 408
  • 3
  • 18
Loading
added 607 characters in body
Source Link
lhk
  • 408
  • 3
  • 18
Loading
deleted 3 characters in body
Source Link
lhk
  • 408
  • 3
  • 18
Loading
Source Link
lhk
  • 408
  • 3
  • 18
Loading