Team Spartan Cookies & Milk Forums
3D rendering context hook? - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: 3D rendering context hook? (/thread-3562.html)

Pages: 1 2


3D rendering context hook? - frdhog - 01-01-2021

Would it be possible to have a 3D rendering hook for the HUD to allow rendering things in 3D space and with depth, possibly running with the PostDrawTranslucentRenderables hook?
Personally, I would love to render a IMesh in 3D space to allow a 3D building or fancier detailing of ships


RE: 3D rendering context hook? - Blackcrow - 06-01-2021

The possibility of having a "Projector" will be definitely the best addition of the year !
Be able to project a model like this https://cdn.discordapp.com/attachments/633668108468617217/794531678747885618/unknown.png
in game would be just revolutionary, so usefull and helpful.

I support this idea !


RE: 3D rendering context hook? - Sir Peter Weyland - 06-01-2021

Seems like a great idea to me! Not only will we be able to use this for fancy bridge displays but it could help us build new ships with them being rendered in game instead of sifting through several images.


RE: 3D rendering context hook? - Lucyffer - 06-01-2021

Totally for this addition, I have nothing else to add.


RE: 3D rendering context hook? - 57e11a - 06-01-2021

This is an idea I am so in support of, I've wanted depth on 3D rendering on the HUD for a while


RE: 3D rendering context hook? - flyer63 - 06-01-2021

I would love to see this in game Smile


RE: 3D rendering context hook? - Obi - 07-01-2021

This is indeed something TSCM could definitely benefit from, although we'd need to find a way to make it easy and simple to use for the community.


RE: 3D rendering context hook? - Person8880 - 09-01-2021

I'm not going to add a rendering hook for 3D space as that's beyond the scope of a Starfall chip. However, I have enhanced holograms to allow them to render an IMesh object instead of a model, along with being able to override their material using a render target. This should provide most of the functionality you want.

Note that hologram meshes are subject to the same size restrictions as models and will be automatically scaled down if they're too big.


RE: 3D rendering context hook? - frdhog - 09-01-2021

Frankly, I think this addition is better than depth. This is going to allow some great details, especially on smaller ships. The RT material override is also a great unexpected change. For anyone who's still unsure, this is game changing.


RE: 3D rendering context hook? - The17thDoctor - 09-01-2021

PMod when