May 23, 2012, 12:01:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please report any bugs or issues that you might be encountering with the Beta in the Support System so that we can better keep track of any oustanding issues that may come up.

GameCore Support System
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: A low priority hiccup with Beta and HDR  (Read 762 times)
Ron
Sr. Member
****
Posts: 326


View Profile
« on: July 28, 2008, 07:19:31 PM »


Glad everything is back, I was suffering from withdrawel Smiley - I did catch up on some modeling though

Not a big deal, but when running the game from the editor, HDR is not working. It works good when I am editing the world and also works on the exported game.
Logged
Ransom
Full Member
***
Posts: 132



View Profile
« Reply #1 on: July 28, 2008, 09:15:03 PM »

You have to enable HDR in your main.gsl script.  I forget the exact code now and I'm at work, but I will post it when I get home in a few hours.
Logged
Ron
Sr. Member
****
Posts: 326


View Profile
« Reply #2 on: July 28, 2008, 11:01:40 PM »

You have to enable HDR in your main.gsl script.  I forget the exact code now and I'm at work, but I will post it when I get home in a few hours.

Thanks, with you're the tip, I was able to find it (google's cache of the old BV forum)

http://72.14.205.104/search?q=cache:hPjN-uA9cdIJ:www.beyondvirtual.com/smf/index.php%3Faction%3Dprintpage%3Btopic%3D3068.0+beyondvirtual+hdr+enabled&hl=en&ct=clnk&cd=6&gl=us

PS - the old forum has a goldmine of information, hope it comes back soon. Maybe it can be locked to new posts, but still available as a knowledge base for searching?
« Last Edit: July 28, 2008, 11:05:40 PM by Ron » Logged
Ransom
Full Member
***
Posts: 132



View Profile
« Reply #3 on: July 29, 2008, 12:22:52 AM »

Cool.  Glad you were able to figure it out.

For anyone else wondering, add the following to your main.gsl...

Code:


GameManager@ game = GetGameManager();

game.SetVideoDriverVariableInt( "HDR",  1);
Logged
pixel_legolas
Hero Member
*****
Posts: 786


View Profile
« Reply #4 on: July 29, 2008, 01:52:43 AM »

I don't know why but things like this annoys me. That stuff that is on in scene viewer is turned off when running and only way is to script it on Smiley I can understand why because when we export game the actual option of HDR and shadows pop up. But anyways Smiley That script can also come in handy when you want to turn HDR off, maybe when being indoor or such
Logged
grubert
Full Member
***
Posts: 183


Everybody is very nice, but my jacket disappeared.


View Profile WWW
« Reply #5 on: August 11, 2008, 07:52:41 PM »

Code:
GameManager@ game = GetGameManager();

game.SetVideoDriverVariableInt( "HDR",  1);

This function should be in the User Guide?s Script Reference.
It is not.

Logged

my portfolio and weekly posting:
http://athossampaio.blogspot.com
gekido
Guest
« Reply #6 on: August 12, 2008, 12:03:59 AM »

this is actually a bug - it should be enabled in-game if you have it enabled in the editor.  for exported games this is configured via the config.cfg file that is in your project directory prior to export (which is used as the default settings when launching your game).

re: the scripting reference - there is a lot of stuff that isn't up to date in the documentation, both from the scripting & properties reference.  we're adding things as quick as we can, but particularly during the beta, documentation for everything is going to be a bit of a work in progress.
Logged
gekido
Guest
« Reply #7 on: August 12, 2008, 12:19:36 AM »

add to scripting documentation as well
Logged
Pages: [1]
  Print  
 
Jump to:  

 
Powered by MySQL Powered by PHP bluBlur Skin © 2006, hbSkins
Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!