Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет nancygold ([info]nancygold)
@ 2023-12-26 00:02:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Настроение: contemplative
Entry tags:gamedev

Square Root of Aspect Ratio
Some years ago while working on the screen to scene projection, I experimentally found that I need to use square root of the aspect ratio to transfer x and y coords into screen space. I still don't get why, since nowhere else in the transformation any square exists. So that must be some 3d distance factor being cancelled? Yet how could the aspect ratio got inside the distance?

BTW, I have converted my voxel editor to use the ECS driven UI. So now it properly resizes to match any resolution, instead of running at fixed 800x600. Surprisingly $800 laptop is fast enough to run a single threaded CPU raytacer in full screen. I still remember the time when realtime raytracing was just a dream even for a few spheres.



(Добавить комментарий)


(Анонимно)
2023-12-26 03:15 (ссылка)
пиздец ты дебил

(Ответить) (Ветвь дискуссии)


[info]nancygold
2023-12-26 10:41 (ссылка)
plz no misgender

(Ответить) (Уровень выше)


(Анонимно)
2023-12-26 11:04 (ссылка)
Very nice project!
Dear Nancy, are you familiar with Perl programming language?

(Ответить) (Ветвь дискуссии)


[info]nancygold
2023-12-26 11:30 (ссылка)
I tried using Perl 6, but not a fan.

(Ответить) (Уровень выше)


(Анонимно)
2023-12-26 23:02 (ссылка)
кто зайцу жопу откусил?

(Ответить)