You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[models] Billboard has different size based on rotation #1762
Billboards change in size if I rotate them in my image editor. I do not know if this is intentional but it would be nice to have consistent sizing for same sized images.
Issue Screenshot
Code Example
Just the basic billboard example, didn't edit the code.
Excuse me but I don't understand the issue, I just tested models_billboard example and it seems to work ok for me.
I just find it odd how the scaling is only based on the width of the image. I would expect the same image but rotated in my image editor would have consistent sizing when drawn.
Yes, this is not a bug, I'm just pointing out that the image scaling is only based on the image width and size (You can see the width on those images is the same). If this seems normal to everyone just close this PR, this is not priority. I opened it more like a discussion.
Activity
raysan5 commentedon May 10, 2021
Excuse me but I don't understand the issue, I just tested
models_billboardexample and it seems to work ok for me.nobytesgiven commentedon May 10, 2021
I just find it odd how the scaling is only based on the width of the image. I would expect the same image but rotated in my image editor would have consistent sizing when drawn.
kayomn commentedon May 19, 2021
If I understand the issue correct, all you have done with the images between those two screenshots is rotated it 90 degrees, correct?
nobytesgiven commentedon May 20, 2021
yes
raysan5 commentedon May 20, 2021
@nobytesgiven Did you try with latest raylib from GitHub?
DrawBillboardPro()was added recently.nobytesgiven commentedon May 20, 2021
Yes, this is not a bug, I'm just pointing out that the image scaling is only based on the image width and size (You can see the width on those images is the same). If this seems normal to everyone just close this PR, this is not priority. I opened it more like a discussion.




nobytesgiven commentedon May 30, 2021
I guess this can be converted to a discussion/deleted, since noone seems to be bothered from it but me.