Search found 46 matches
- Thu Apr 19, 2012 02:56
- Forum: Help
- Topic: Built-in drag-select?
- Replies: 3
- Views: 2871
Re: Built-in drag-select?
Well my assumption (which might be wrong) is that if you are using interitalpha you should only set the alpha once, for the parent window, and have the rest be the default of 100% opaque. Is that what you tried? Also, when I drag select files in windows explorer, it does get darker when 2 overlappin...
- Wed Apr 18, 2012 08:40
- Forum: Help
- Topic: Using SILLY as an Texture Loader
- Replies: 1
- Views: 2060
Re: Using SILLY as an Texture Loader
I am confused. I wrote an opengl project when I was at university and it was very simple to do this. I do not think you need SILLY at all. I was able to google the required code and insert a .RAW image very easily (use a paint program to convert). However, if you need to bind compressed images to te...
- Wed Apr 18, 2012 08:30
- Forum: Help
- Topic: Two problems with Sample and my own app
- Replies: 3
- Views: 3734
Re: Two problems with Sample and my own app
I don't know what is wrong but I suggest that you edit the config.lua to change the settings and then rebuild the project and examples. It might not help, but its worth a try, and you really should pay attention to what is in config.lua anyways.
- Wed Apr 18, 2012 08:16
- Forum: Help
- Topic: renderGUI() not reached (OpenGL, C++)
- Replies: 1
- Views: 2049
Re: renderGUI() not reached (OpenGL, C++)
If you look at the sample, it does call renderGUI() If you look at one of the sample code... you will see that it uses the following files: CEGuiOpenGLBaseApplication.cpp/.h and CEGuiBaseApplication.cpp/.h So make sure you look at those and incorporate that code. I found it easiest to simply copy pa...
- Fri Mar 09, 2012 07:48
- Forum: Help
- Topic: Opengl not updating image
- Replies: 9
- Views: 6766
Re: Opengl not updating image
Its okay speed wise, 500 fps aint too shabby. I am not sure about the alpha channel. I am using photoshop so its unclear whats going on. Not a big deal though, I don't want to waste more time thinking about it. The stupid berkelium demo doesn't even run properly ... and I really don't want to integr...
- Fri Mar 09, 2012 06:36
- Forum: Help
- Topic: Opengl not updating image
- Replies: 9
- Views: 6766
Re: Opengl not updating image
Thank you for pointing that out kulik... I suspected that too but without forcing vsync off in the nvidia control panel I can't figure out how to disable it. I don't think Cegui or Freeglut have vsync, so would I use opengl commands to turn it off? Also, I figured out whats wrong with the images tha...
- Wed Mar 07, 2012 10:11
- Forum: Help
- Topic: Opengl not updating image
- Replies: 9
- Views: 6766
Re: Opengl not updating image
Thank you for the advice. It looks like I will have to do a bunch of research/guess & check in order to figure this out, since I know nothing about open gl (or direct x for that matter). The enableExtraStateSettings didn't help. As a side note, for some reason my 8800 GT is getting really bad fr...
- Tue Mar 06, 2012 11:24
- Forum: Help
- Topic: Opengl not updating image
- Replies: 9
- Views: 6766
Re: Opengl not updating image
http://img99.imageshack.us/img99/6374/screenshotmj.jpg I have a weird graphical corruption happening now. Most of the images look normal, but a few are skewed diagonally and wrapping around. Also some are black and white. I realize this probably won't be immediatley recognizable, but I thought I wou...
- Tue Mar 06, 2012 11:11
- Forum: Help
- Topic: Opengl not updating image
- Replies: 9
- Views: 6766
Re: Opengl not updating image
Oh, that makes sense. I was thinking it might be something like that. I simply replaced glutmainloop with drawframe() and now it works beautifully.
Thank you for the quick response!
Thank you for the quick response!
- Tue Mar 06, 2012 04:17
- Forum: Help
- Topic: Opengl not updating image
- Replies: 9
- Views: 6766
Opengl not updating image
So I just switched from Direct X to OpenGL so that I can try integrating Berkelium into cegui 7.5 using kulik's code for cegui 8.0. I got everything working by copying code from the CEGuiOpenGLBaseApplication.h into my renderer code and replacing the direct x code. Right now when I run my program, I...
- Fri Sep 23, 2011 05:17
- Forum: Help
- Topic: Windows closing
- Replies: 4
- Views: 4073
Re: Windows closing
This is how I would do it. I think it is the simplest solution. PopupW1->subscribeEvent(FrameWindow::EventCloseClicked, Event::Subscriber(&EventButtonDown::PopupW, EventDown)); PopupW2->subscribeEvent(FrameWindow::EventCloseClicked, Event::Subscriber(&EventButtonDown::PopupW, EventDown)); Po...
- Mon Aug 22, 2011 02:57
- Forum: Help
- Topic: CEGUI 0.7.5 - CEGUIIrrlichtRenderer missing
- Replies: 3
- Views: 3438
Re: CEGUI 0.7.5 - CEGUIIrrlichtRenderer missing
I have no idea what your problem is... but I would avoid using backslashes in file paths. Use forward slashes.
I am guessing that it is turning your ..\..\..\ into ...... because the lua parser sees \. and thinks you are escaping the period character.
Alternatively, use ..\\..\\..\\
I am guessing that it is turning your ..\..\..\ into ...... because the lua parser sees \. and thinks you are escaping the period character.
Alternatively, use ..\\..\\..\\
- Sun Aug 21, 2011 02:45
- Forum: Help
- Topic: CEGUI 0.7.5 - CEGUIIrrlichtRenderer missing
- Replies: 3
- Views: 3438
Re: CEGUI 0.7.5 - CEGUIIrrlichtRenderer missing
I know that its not the same problem, but maybe reading through this thread might help if you are overlooking something.
viewtopic.php?f=10&t=5562&p=26909&hilit=sample+compile#p26909
viewtopic.php?f=10&t=5562&p=26909&hilit=sample+compile#p26909
- Sat Aug 20, 2011 01:27
- Forum: Help
- Topic: Fast method to scale text
- Replies: 1
- Views: 2593
Fast method to scale text
I basically am trying to make a picture-in-picture type of mode for my game. I have a window thats usually 100% of the parent's size and i shrink it down to 75%. This automatically scales down the images but it does not scale down the fonts. It looks like the fonts only scale when the resolution of ...
- Thu Aug 04, 2011 01:34
- Forum: Help
- Topic: [SOLVED] Odd problem with "[" character
- Replies: 3
- Views: 3652
Re: Odd problem with "[" character
have you tried putting a backslash in front of the bracket to escape it? My guess is that theres some regex or similar going on.
"Press the \[ key"
"Press the \[ key"