Basically it boils down to having to handle the "moc" thingy and qt5 specific stuff, for a simple GL hello world example cmake should look like this:
cmake_minimum_required(VERSION 2.8.8)...
Type: Posts; User: bird1500; Keyword(s):
Basically it boils down to having to handle the "moc" thingy and qt5 specific stuff, for a simple GL hello world example cmake should look like this:
cmake_minimum_required(VERSION 2.8.8)...
I'd like to use Qt5 to do OpenGL but I wanna use CMake instead of qmake to compile it cause I know it already, but a simple example with Qt5+OpenGL doesn't compile (all files attached):
Linking...
Hi,
wireframe mode [glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)] is useful and stays part of the OpenGL core profile, yet in WebGL it's been removed, any ideas why or how one can work around?
Point...
EDIT: the solution is to add "--static":
g++ test.cpp -o test `pkg-config glfw3 --static --cflags --libs`
Hi,
I installed from source GLFW 3.0, no errors reported.
But when I try to test it by...
void
ScaleImage(float img_w, float img_h, float w, float h,
float &scale_w, float &scale_h)
{
if(img_w > w || img_h > h) { // scale down below natural size
const float r_w =...
Thanks, I'm trying to solve this issue for like 3 days and I played with aspect ratio, the problem is there are different aspect ratios:
image width to height, or image width to viewport width -...
Hi,
I learned some OpenGL and wanna display an image in a viewport so that the image fills in the viewport as much as possible yet maintains its aspect ratio.
E.g. if viewport width/height =...
- Gee, the kernel doesn't need "rt" to handle rates > 50
- almost every card can handle this, if the OP reported this I'm sure he's not running legacy hw.
- LCDs are designed around 60 FPS,...
Anything's by default except what I've been asked to do in this forum, thanks anyone, I'll mark the thread as solved and move on since I don't think the (rest of the) issue's gonna get solved, the...
It's not the router, I don't have this problem with Fedora or Win7 on same computer, only with Ubuntu/Debian derivatives.
ifconfig (with teredo which didn't help):
ifconfig
eth0 Link encap:Ethernet HWaddr e0:cb:4e:c4:24:cf
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
...
It's pretty quick
The interesting thing is, it also pings archive.ubuntu.com quickly, then I type "wget http://archive.ubuntu.com/ubuntu/ls-lR.gz"
and it waits for like 10 seconds with "Resolving...
You did the unthinkable, you fixed my oldest gripe about Ubuntu, Firefox now works fine, thank you, I'm shining and it's all rainbows and ponies all around!
The rest of the OS (wget, apt-get) still...
Well it looks like it's a mess, the Thunar source code uses a "special gnome copied files" atom and a slew of hooks, gee, I hoped for an easy solution.
thunar-clipboard-manager.c:
struct...
Thanks tgalati4, but here's what baffles me: how can you explain that with Google Chrome I don't experience this issue at all - e.g. google.com, phoronix.com and other on-line sites always load up...
Hi,
I'm using Gtk's Clipboard class (Gtk::Clipboard::get()), I can get the list of URI's in the clipboard (clipboard->wait_for_uris()) but can't figure out how to detect if the file URIs have been...
Each row (ping) below took like a second, I'm not sure if it's fast or slow:
Created the tail file, rebooted, and
Though google.com in Firefox still took like 6-10 seconds to load.
Thanks, took like 2-3 minutes:
I don't have a "tail" file as in /etc/resolvconf/resolv.conf.d/tail
only a head and base file(s), both empty.
Now I'll change to 8.8.8.8 and 8.8.4.4, reboot,...
Thanks, though I think it's not (only) a Firefox bug cause apt-get (hence in my case the OS in general) has the same problem.
Hi,
For the last several releases (and 13.04 is no exception) I get random and often high network latency on all Ubuntu/Debian based OSes (like Mint) - be it Firefox slow to resolve an address, or...
Thanks, done, hopefully soon a new forum update will fix this inconvenience.
Thanks a bunch, indeed, there's a line (I'll comment out):
GRUB_CMDLINE_LINUX="noapic nolapic edd=on nodmraid"
Problem solved.
Apparently one can't mark the thread as solved anymore.
Hi,
When booting the Raring live iso I specified in grub2 additional boot settings: "noapic nolapic edd=on nodmraid" otherwise the installer would not install.
These additional settings have also...
Then in "Software and Updates" change "raring" to "quantal" as shown on screenshot.