Half-Life Trinity Engine Created 12 years ago2011-12-09 11:31:35 UTC by Suparsonik Suparsonik

Created 12 years ago2011-12-09 11:31:35 UTC by Suparsonik Suparsonik

Posted 12 years ago2011-12-09 11:31:54 UTC Post #301407
The Trinity Rendering Engine is a replacement of Half-Life's model renderer and world renderer, it augments original functionalities with new assets, like TGA decals on models and world objects, it allows for advanced lighting effects and fully reflective water, shadow mapping on projective lights. Also supported is the ability to load external textures for existing ones in the game, with unlimited resolution. Model lighting is overall improved and supports light entities in the world that allow for fast, correct per-vertex lighting.
It also allows for more space, some entities can be taken out of the engine's hands and into those of Trinity, allowing for unlimited, fast rendering of props on the client side without filling Half-Life's model cache at all. An advanced particle engine allows for any kind of particle effects with high quality texture support, support for animated textures.
Performance is overall improved on all aspects of the engine, world rendering is faster than previously and the same goes for model rendering. This was done with numerous optimizations to rendering code and the techniques.

A full list of features, detail descriptions and entity entries can be found in the package of the download. The engine was mostly programmed by Andrew "CastleBravo / Highlander" Lucas, but numerous parties were involved. For a complete list of credits, see the description in the files.

Hope you all have fun using it, this is pretty much my parting gift from the modding community to everyone still active and making mods.

Andrew "CastleBravo / Highlander" Lucas.

Download!

Update:
A new version of Trinity got released. It includes some improvements over old code, some new additions and a few bugfixes. For a full list of changes, please see "Changes to v2.0".
Also, don't forget to read the files in order to know how it works. Any bugs you might see, report them to my e-mail address.

https://skydrive.live.com/redir.aspx?cid=ce9cc3fbfe20ab9a&resid=CE9CC3FBFE20AB9A!163&parid=CE9CC3FBFE20AB9A!161
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2011-12-09 12:08:46 UTC Post #301409
Is this a game mod?
Stojke StojkeUnreal
Posted 12 years ago2011-12-09 12:22:34 UTC Post #301411
I guess you could say that.
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2011-12-09 17:28:41 UTC Post #301414
Sounds awesome. ;o
Could do with a demo vid or something though.
Daubster DaubsterVault Dweller
Posted 12 years ago2011-12-09 20:40:52 UTC Post #301415
You'd have to ask Highlander for that, heh.
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2011-12-09 21:42:24 UTC Post #301416
Goldsource will never die. It's too simple and fun to mess with.
Rimrook RimrookSince 2003
Posted 12 years ago2011-12-10 09:06:54 UTC Post #301431
hmm, is it openGL only?
Posted 12 years ago2011-12-10 11:17:01 UTC Post #301432
HLFX allowed dynamic shadows, projected textures, shaders and so on like 5 years ago. But it's cool, maybe this is more optimized because HLFX ran like 30fps as far as I remember.
Posted 12 years ago2011-12-11 09:37:00 UTC Post #301439
Bruce can u explain those projected textures and dynamic shadows? Also, pleez explain how you got to learn so much knowledge about GS!?
Captain Terror Captain Terrorwhen a man loves a woman
Posted 12 years ago2011-12-11 10:02:08 UTC Post #301442
Also, pleez explain how you got to learn so much knowledge about GS!?
All i can say is Russians.
They have A LOT of resources on their native language web sites, plus its pretty popular there, lots of communities, lots of resources. Most, if not all, dont follow piracy rules, giving them more freedom to do what they want and improve faster.

I know a few people from the days i played CS on IgroNET, there were mappers that were ultra pro, i learned the basics from them.
And than there are people like Skaarj, and others.

Basically, lots of resources, people and freedom.
Stojke StojkeUnreal
Posted 12 years ago2011-12-11 10:45:19 UTC Post #301443
yea russians are good in modding HL1
Posted 12 years ago2011-12-11 11:08:29 UTC Post #301444
Russians lived through wars and other shit they're very strong, talented and determined people. While Americans and others are lazy pussies.
Posted 12 years ago2011-12-11 11:15:44 UTC Post #301445
Lol
Stojke StojkeUnreal
Posted 12 years ago2011-12-11 11:18:12 UTC Post #301447
Truth hurts sometimes, well, usually most the time. =)
Captain Terror Captain Terrorwhen a man loves a woman
Posted 12 years ago2011-12-11 11:28:34 UTC Post #301449
I wouldn't say that. Check China.
Striker StrikerI forgot to check the oil pressure
Posted 12 years ago2011-12-11 11:32:12 UTC Post #301451
I managed to get HL1 to run in DX9 without having to even modify my game...

Jest do a simple search for the simple program called GLDirect...

It makes any opengl software/program render in true DX9 instead...
Posted 12 years ago2011-12-11 11:47:00 UTC Post #301452
Tried it before, thought could run hl in nvidia 3d, but turned out that i could only see white walls with black sky :D, worked great on quake 2 though

Also imo, opengl is underused nowadays, it has much more potential than dx
rufee rufeeSledge fanboy
Posted 12 years ago2011-12-11 11:52:58 UTC Post #301454
I have HD videos of me running Goldsrc mods and games on my youtube channel clearly showing how much better DX9 looks than opengl...

If ya wanna example visit here: http://youtu.be/6MoLJVjOxzU?hd=1
Posted 12 years ago2011-12-11 12:02:59 UTC Post #301458
Hmm, only noticed a slight lighting improvement
rufee rufeeSledge fanboy
Posted 12 years ago2011-12-11 12:05:46 UTC Post #301459
Hehe...I too at first had tuff times viewing/seeing any diffs between DX9 and opengl but if you watch the video in 1080p HD and pay close attention to details...you can see a slight improvement in lighting and texturing...

Btw did yall know that I can also use the cgshader bloom mod with GLDirect and still get DX9 rendering with that mod running 100% fine? Bet not...but it IS possible...I jest dont feel that it is a need tho...
Posted 12 years ago2011-12-11 12:37:14 UTC Post #301462
Rewatched some parts, textures are not blurred like in default mode but looks as if some film grain is applied now to the perceived image
rufee rufeeSledge fanboy
Posted 12 years ago2011-12-11 16:28:51 UTC Post #301476
The engine offers some graphical improvements, but it's mostly got utilities that extend engine usage and are meant to make the game faster. A major feature though is the particle engine and the client side entity manager, read up on these in the documentation in the package.

YES RUSSIA STRONG THEY LIVE THROUGH WARS THAT MAKES THEM GOOD MODDERS OH YES YEP INDEED EVERYONE ELSE SUCKS ASS RUSSIANS ROCK OH YEAH AMERICANS ARE THE WORST

Next time, think before you post. That was the dumbest statement I've ever read.
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2011-12-11 16:45:59 UTC Post #301480
Well I have tried using this rendering mod or w/e and well from what ive expereienced...no blood splatter ingame with it...makes barney's entire body except his face dark as ever and well his face becomes pale as ever...

Besides that nothing really noticeable...
Posted 12 years ago2011-12-11 16:53:47 UTC Post #301481
I don't think this engine is meant for use with Low Definition models.

e/ It's a texture flag. Remove the entry from gfx/textures/texture_flags.txt
Then remove the model. He used barney to demonstrate the uses of texture flags.
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2011-12-11 17:48:10 UTC Post #301482
I jest tried again with HD models...still no blood splatter...and not much else noticeable that you cant get from using GLDirect to run in DX9...
Posted 12 years ago2011-12-11 19:15:02 UTC Post #301484
It's not meant to upgrade your normal Half-Life. Most of it's features are meant to be experimented with with your own work you made for it. It has shadows and mirrors. Look at the documentation package that came with it.
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2011-12-11 23:49:12 UTC Post #301489
This is a pretty slick system. Goldsource finally has those 'pain skin' NPC decals Valve had to cut from HL1, as well as brilliant smokey explosions, nice impact particles, and even still-decent performance while fighting a spawned battalion of HD grunts with a bunch of grenades involved. Which would be enough rendering to choke vanilla HL to death. Not without its bugs, but all in all, a shiny new rendering system that I'd be more than happy to work with if Hammer 3.x wasn't so clunky now that I've tried source mapping. Any chance of getting this stuff into a custom build of Spirit, or should I start learning C++ and do it myself?
Notewell NotewellGIASFELFEBREHBER
Posted 12 years ago2011-12-12 11:26:44 UTC Post #301504
Hmm, I'm not sure but I think he actually based the engine off of Spirit's code.
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2011-12-12 11:48:02 UTC Post #301505
Which version of Spirit?
Daubster DaubsterVault Dweller
Posted 12 years ago2011-12-12 20:25:12 UTC Post #301519
1.2, I think.
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2011-12-17 07:48:39 UTC Post #301658
Link no worky.
monster_urby monster_urbyGoldsourcerer
Posted 12 years ago2012-02-22 20:38:59 UTC Post #303631
As posted by KotKillerKot:

"Highlander asked me to post this on some sites:
A new version of Trinity got released. It includes some improvements over old code, some new additions and a few bugfixes. For a full list of changes, please see "Changes to v2.0".
Also, don't forget to read the files in order to know how it works. Any bugs you might see, report them to my e-mail address."

Here's the new link:

Download!
Suparsonik SuparsonikI'm going off the edge to meet my maker.
Posted 12 years ago2012-04-16 10:15:44 UTC Post #305424
Urby&Archie, is The Core based on the original Goldsrc engine, or are you going to upgrade to something like this?
Striker StrikerI forgot to check the oil pressure
Posted 12 years ago2012-04-16 10:22:56 UTC Post #305425
The Core is based on Spirit.
monster_urby monster_urbyGoldsourcerer
Posted 12 years ago2012-04-16 17:48:30 UTC Post #305435
How do they achieve putting new stuff into the renderer if they don't have the gsrc engine. Do they just strip the rendering part and emulate it themselves or is it just hooked up to the engine to inject those features ? Obviously im not a good coder, but i haz to know !? :)
rufee rufeeSledge fanboy
Posted 12 years ago2012-04-16 18:43:35 UTC Post #305439
Well, if I remember correctly, the source code is included in the download, so if you wanted to, you could take a look at that, see how it works, figure out how to implement it.
Talking to both rufee and Urby.
Notewell NotewellGIASFELFEBREHBER
Posted 11 years ago2012-04-27 06:45:46 UTC Post #305758
Bruce is right. We have plenty of genius guys doing some magic with GS.
Posted 11 years ago2012-04-27 07:01:17 UTC Post #305759
can u post some screenshoots in the thread?
Posted 11 years ago2012-05-06 07:43:45 UTC Post #305982
This may sound crazy but would it be possible to implement dynamic radiosity (aka real-time global illumination)? I have seen it done in old games like Quake 2.
Posted 11 years ago2012-05-06 09:28:06 UTC Post #305983
Why do I need to sign in to download? Can someone provide a working direct link?
Edit: just noticed that OP is really old.
Posted 11 years ago2012-05-06 09:31:16 UTC Post #305984
You would still have to pre-compute visibility. Even then it's a pretty slim chance it could work on a modern game, because radiosity generation time scales up with geometric complexity.

Even so I dont see the advantage to dynamic radiosity. Most of a scene stays static and unchanging anyway, so it is a ton of extra GPU work for barely any graphical difference.

Deferred rendering provides more bang for the buck.
TheGrimReafer TheGrimReaferADMININATOR
Posted 11 years ago2012-05-06 10:54:00 UTC Post #305985
Like Grim said it doesn't give you much difference, hl would look exactly the same as it did with static lighting at a performance drop.
Does BF3 look good ? Not really and it also sucks all your cpu out.
rufee rufeeSledge fanboy
Posted 11 years ago2012-05-06 10:58:41 UTC Post #305986
Thanks for finally posting some media, Highlander. I'm sure you can understand why people were hesitant to bother downloading something based on text alone.
I still think it's pretty pointless and your talents would be better served on a modern engine, but it's pretty cool what you've achieved here. Won't be using it myself, but congrats! :crowbar:
Does BF3 look good ? Not really
:| I think you played on the wrong settings...
Archie ArchieGoodbye Moonmen
Posted 11 years ago2012-05-06 13:08:27 UTC Post #305987
Ultra all the way, but the shadows are horrible in MP atleast.
rufee rufeeSledge fanboy
Posted 11 years ago2012-05-06 15:01:59 UTC Post #305990
Most of a scene stays static and unchanging anyway
It's static because static lighting doesn't allow it to be more dynamic.
Posted 11 years ago2012-05-06 17:21:16 UTC Post #305993
It's static because static lighting doesn't allow it to be more dynamic.
Here's a question for you then, what would you do with it ?
rufee rufeeSledge fanboy
Posted 11 years ago2012-05-06 17:46:18 UTC Post #305994
That's my fucking problem, my friend.
Posted 11 years ago2012-05-06 18:13:21 UTC Post #305996
There are multitude of reasons why somebody would use dynamic lighting over static lighting. The problem is whether or not the average half life map would truly make use of it over static lighting to justify it.
Crollo CrolloTrollo
Posted 11 years ago2012-05-06 18:33:33 UTC Post #305998
That's the problem of the mapper, Mr. Problem.
Posted 11 years ago2012-05-06 18:46:05 UTC Post #305999
Well lighting entities is one way i can think this would be useful and even that could be made static. If BF3 is the only game with d.radiosity (correct me if wrong), why isn't it any different from Crysis 2 or some other good looking game?
rufee rufeeSledge fanboy
You must be logged in to post a response.