![]() |
Страницы (2): « 1 [2] Показать все 27 сообщений этой темы на одной странице |
HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- [EN] How to implement the Paranoia renderer? (https://hlfx.ru/forum/showthread.php?threadid=4824)
Crystallize Well OK I understand, and videos will allow to look or not?
__________________
ㅤ
Cybermax It's unlisted but I can watch it now, try again for yourself.
What about the clipping frustum? All the bugs I have now are the red lighting and full-bright spots.
Also doing some digging...
What's already been mentioned, animated textures stop playing when flashlight is shone on them.
Grass sprites not being lit by the flashlight.
Decals not spawning on brush entities.
(On a side note, I found a fix in 'gl_renderer.cpp' though. http://pastebin.com/kuKqHEQZ Just compare with the original file!)
Фруструм глючит?
__________________
-Brain is dead-
KiQ правильно писать фрустум.
На самом деле в параное есть хитрый хак, когда mins\maxs уровня помещаются за положением игрока, сделано это для того, чтобы движок офигел и ничего не пытался нарисовать.
Добавлено 29-09-2016 в 11:40:
1 | void DisableWorldDrawing( ref_params_t *pparams ) |
2 | { |
3 | vec3_t wcoord; |
4 | model_t* world = gEngfuncs.GetEntityByIndex(0)->model; |
5 | AngleVectors ( pparams->viewangles, pparams->forward, pparams->right, pparams->up ); |
6 | VectorMA(pparams->vieworg, -100, pparams->forward, wcoord); |
7 | memcpy(savedMinmaxs, world->nodes[0].minmaxs, 6 * sizeof(float)); |
8 | VectorCopy(wcoord, world->nodes[0].minmaxs); |
9 | VectorCopy(wcoord, world->nodes[0].minmaxs + 3); |
10 | } |
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
Gonna try it, thanks.
Wait, it's exactly the same function?
Some more very annoying bugs. https://youtu.be/lO-s-sN3zaA
James Luke may be you forget about another function EnableWorldDrawing
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
Back again, sorry to bump an old post.
I fixed almost every single bug now with adding fixes from ARRANGEMENT and changing the launch parameters of the mod I'm using.
I'm now using: "-gl -32bpp -max_edicts 8192 -nofbo -enable_logging"
The "-nofbo" launch parameter seemed to have made it work. It had something to do with anti-aliasing if I remember correctly.
The only bugs left now are:
- A strange view-model appearing when viewing the game at certain angles. See attachment.
- Lighting is messed up sometimes. See attachment.
- Glass doesn't light up.
- Bump-maps don't appear to work when there is no light shining on them.
- Animated textures don't work. Water is messed up as well.
- Decals not spawning on brush entities.
- Toggling lights, but that is a limit set in by default.
- Grass sprites don't want to work with lighting.
- Some others, but I think I can fix them.
Welp, doesn't seem like a lot are fixed. Just very annoying ones.
Image link because this website doesn't like regular files: http://imgur.com/a/c2xYy
Временная зона GMT. Текущее время 09:10. | Страницы (2): « 1 [2] Показать все 27 сообщений этой темы на одной странице |
На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024