HLFX.Ru Forum Страницы (25): « 1 2 [3] 4 5 6 7 » ... Последняя »
Показать все 372 сообщений этой темы на одной странице

HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Обзоры (https://hlfx.ru/forum/forumdisplay.php?forumid=29)
-- Обзор Trinity Renderers (буржуйский вариант HLFX на базе паранойи) (https://hlfx.ru/forum/showthread.php?threadid=3020)


Отправлено Дядя Миша 14-11-2011 в 17:15:

Вопрос снят

C++ Source Code:
1
if(m_bShadowSupport)
2
{
3
  for(int i = 0; i < MAX_DYNLIGHTS; i++)
4
  {
5
    if(m_pDynLights[i].depth)
6
      glDeleteTextures(1, (const GLuint *)m_pDynLights[i].depth);
7
  }
8
}

Здесь надо брать адрес на depth, а не конвертировать ID текстуры в указатель. Каким чудом это не вылетает под халфой - мне неизвестно.
Вот так надо:
C++ Source Code:
1
if(m_bShadowSupport)
2
{
3
  for(int i = 0; i < MAX_DYNLIGHTS; i++)
4
  {
5
    if(m_pDynLights[i].depth)
6
      glDeleteTextures(1, &m_pDynLights[i].depth);
7
  }
8
}

Пусть исправляют и опять "забудут" добавить меня в кредитсы.
Пусть покажут свою капиталистическую сущность как следует.

__________________
My Projects: download page

F.A.Q по XashNT
Блог разработчика в телеграме

Цитата:

C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'


Отправлено thambs 14-11-2011 в 17:19:

Mr.Nameless
seems like little overbright

__________________
http://www.moddb.com/mods/monorail-quest


Отправлено CrazyRussian 14-11-2011 в 17:26:

Цитата:
Дядя Миша писал:
glDeleteTextures(1, (const GLuint *)m_pDynLights[i].depth);

Да это же жесть!

__________________
Трагическая новость: Пятеро инженеров Casio умерли от смеха, узнав что Samsung анонсировали часы с заявленным временем работы в 25 часов


Отправлено Mr.Nameless 14-11-2011 в 17:59:

Crashing should be fixed in this version:

https://skydrive.live.com/self.aspx...9a&sc=documents


Отправлено Дядя Миша 14-11-2011 в 18:15:

Yes this now working correctly.

__________________
My Projects: download page

F.A.Q по XashNT
Блог разработчика в телеграме

Цитата:

C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'


Отправлено PLut 14-11-2011 в 18:33:

Mr.Nameless Are you gonna fix it?
#1
#2

Transparent model parts shades as non-transparent.

__________________
Base Defense on Steam, ModDB


Отправлено Mr.Nameless 14-11-2011 в 18:42:

I'm not directly working on the thing, I'm just friend of author of both Trinity and shadows. You've gotta credit Andrew Lucas for this stuff, not me. Anyway, told him about the issue, I'll edit this post if update will be online.

EDIT: Transparent objects should be fixed, download as usual, here: https://skydrive.live.com/self.aspx...9a&sc=documents


Отправлено PLut 14-11-2011 в 19:00:

Mr.Nameless Thank you, but unfortunately nothing's changed

__________________
Base Defense on Steam, ModDB


Отправлено Mr.Nameless 14-11-2011 в 19:19:

Alpha testing is enabled only on "item_generic" model entities, so make sure you use those for that grass, as well to render any static props in your levels (the data is stored in VBO, so to save performance, it's recommended). So change those grass entities to the item_generic, but leave name of entity empty, just specify the model path. That should do it.

EDIT: Transparent shadows got enabled for engine managed entities as well, so you shouldn't have problem with rendering anymore, but anyway, it's still highly recommended to change all your static props to be item_generics. Download here: https://skydrive.live.com/self.aspx...9a&sc=documents


Отправлено Дядя Миша 14-11-2011 в 19:21:

PLut у тебе ксаш старый, уже билд 1742 доступен.

Добавлено 14-11-2011 в 23:21:

Цитата:
Mr.Nameless писал:
Alpha testing is enabled only on "item_generic" model entities, so make sure you use those for that grass, as well to render any static props in your levels (the data is stored in VBO, so to save performance, it's recommended). So change those grass entities to the item_generic, but leave name of entity empty, just specify the model path. That should do it.

Там у ксаша и Trinity пересекаются EF_флаги.
Вот билд, где я сдвинул флаги ксаша.

__________________
My Projects: download page

F.A.Q по XashNT
Блог разработчика в телеграме

Цитата:

C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'


Отправлено thambs 14-11-2011 в 19:43:

забавный глюк. для какого ни будь ужастика можно использовать

__________________
http://www.moddb.com/mods/monorail-quest


Отправлено PLut 14-11-2011 в 20:11:

Mr.Nameless There's no shadow for env_model transparent parts.
item_generic works fine, but have another issue. Blue dots around leaves.

I think it can be solved by changing texture background from blue to black, but it's not very good way. (Many mods - many models)

Дядя Миша Спасибо за новый билд

__________________
Base Defense on Steam, ModDB


Отправлено Mr.Nameless 14-11-2011 в 20:29:

Alright, all the issues with transparency got fixed, download here https://skydrive.live.com/self.aspx...9a&sc=documents. The blue dots around the leaves are texture releated issue.


Отправлено Дядя Миша 14-11-2011 в 21:21:

Цитата:
Mr.Nameless писал:
The blue dots around the leaves are texture releated issue.

You need the overwrite blue dots with black color manually, like in Xash3D

__________________
My Projects: download page

F.A.Q по XashNT
Блог разработчика в телеграме

Цитата:

C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'


Отправлено marikcool 15-11-2011 в 09:02:

для чего в мод тринити эвент файлы положили? они вскоре проигрываться будут?


Временная зона GMT. Текущее время 19:01. Страницы (25): « 1 2 [3] 4 5 6 7 » ... Последняя »
Показать все 372 сообщений этой темы на одной странице

На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024