Game Engine Forum - Grit Open Source Streaming Game Engine
Site Header
It is currently Sun Aug 25, 2019 4:57 pm

All times are UTC




Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Sun Aug 17, 2014 5:41 am 
Offline
Supreme Tyrant of All
Supreme Tyrant of All
User avatar

Joined: Sat Mar 27, 2010 1:13 pm
Posts: 769
Not tested but this will probably work:

lens_flare.enabled = false


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Sun Aug 17, 2014 10:12 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:06 am
Posts: 440
Will give it a try soon.

Or maybe put some more subtle textures on it and see what everyone thinks of them.

So distracting though :o

edit: It worked, with no error. Maybe it can be a graphics option or something.

I am not dissing the work on it, I just am of the physical side on that, rather than the cinematic.


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Sun Aug 17, 2014 10:03 pm 
Offline
Newbie
User avatar

Joined: Fri Mar 21, 2014 12:25 am
Posts: 117
Location: Rio Grande do Sul
You can easily remove it adding this command:
Code:
safe_destroy(lens_flare)
at the user_script.lua file on media folder (it's a good way to disable or modify things on grit, if you don't have this file just create it)


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Sun Aug 17, 2014 10:13 pm 
Offline
Newbie
User avatar

Joined: Fri Mar 21, 2014 12:25 am
Posts: 117
Location: Rio Grande do Sul
But disabling it on graphical options is a good idea


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Wed Aug 20, 2014 7:18 pm 
Offline
Newbie
User avatar

Joined: Mon Feb 20, 2012 9:31 am
Posts: 21
Augusto Moura, updated lens flare is amazing! Liked it a lot. Nicely done! Now grit looks more crysis-ish :D


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Fri Aug 22, 2014 2:22 am 
Offline
Newbie
User avatar

Joined: Fri Mar 21, 2014 12:25 am
Posts: 117
Location: Rio Grande do Sul
Thank you :D


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Fri Aug 22, 2014 9:43 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:06 am
Posts: 440
A lot less distracting now, nice and subtle. Wonder if that small blue should switch places with the bigger green before it, though.


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Fri Aug 22, 2014 3:11 pm 
Offline
Newbie
User avatar

Joined: Fri Mar 21, 2014 12:25 am
Posts: 117
Location: Rio Grande do Sul
Great, done :)


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Mon Sep 01, 2014 6:17 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:06 am
Posts: 440
Yea, that's even better, makes it have more depth and you can visualize the lens thickness easier. Well done. Way better than the first pass.


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Mon Sep 01, 2014 7:43 pm 
Offline
Supreme Tyrant of All
Supreme Tyrant of All
User avatar

Joined: Sat Mar 27, 2010 1:13 pm
Posts: 769
It's subtle and gives a nice feel.


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Fri Aug 28, 2015 5:48 pm 
Offline
Newbie
User avatar

Joined: Fri Mar 21, 2014 12:25 am
Posts: 117
Location: Rio Grande do Sul
i should post this here, where i first mentioned it :roll:


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Fri Aug 28, 2015 8:17 pm 
Offline
Newbie
User avatar

Joined: Mon Feb 20, 2012 9:31 am
Posts: 21
Augusto, that is amazing!


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Sat Nov 19, 2016 8:06 am 
Offline
Newbie
User avatar

Joined: Fri Mar 21, 2014 12:25 am
Posts: 117
Location: Rio Grande do Sul
The right way to implement lens flare occlusion: http://http.developer.nvidia.com/GPUGem ... _ch29.html
Also i think it should render as "add" (just adding luminosity to the given pixel) and not as "replace" (can sometimes darken some already lightened pixels)

So, probably not rendering it as HUD or particle (billboard), but a custom approach as we need to have a tight relation to occlusion queries and depth test


Top
 Profile  
 
 Post subject: Re: Additional Libraries and Functionalities
PostPosted: Sun Nov 20, 2016 7:21 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:06 am
Posts: 440
actually, yeah, I think you Are right: if we want to render cinema and not the human eye, it should be that way. Easily. I like human eye, but I can't argue against that argument!

PS I have a map to port to the engine. I will release it soon when i finish working out my own bugs! but you have to port it from obj to engine!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Localized by Maël Soucaze © 2010 phpBB.fr