Questions tagged [cogl]

COGL is an open source GPU graphics & utilities API.

COGL provides a hardware accelerated graphics API, math utilities such as matrices including Matrix Stacks, Vectors, Euler angles, Quaternion rotations and Colors, texturing utilities such as atlasing, sub textures, sliced textures, X11 Texture from pixmap, and Wayland texture from buffer.

Source: http://www.cogl3d.org/

10 questions
23
votes
1 answer

The relationship between libraries: Clutter, Cogl, Clutter, GTK+, etc

I'm a little confused about the relationship of the libraries listed above, here are what I think: Cairo is a 2D graphic library, and GTK+ uses it to render widgets. Cario is low-level. Cogl is a 3D graphic library based on OpenGL(or a fork? I…
molikto
  • 536
  • 3
  • 15
3
votes
1 answer

Programming using pyclutter

I am new to clutter (and pyclutter). I have been trying to use pyclutter. I haven't found any good tutorial for it so far. I mean nothing that really explains properly. I saw a couple of example programs but when I tried to use pyclutter I didn't…
Ani
  • 41
  • 3
2
votes
1 answer

programming using pyclutter

I am new to clutter (and pyclutter). I have been trying to use pyclutter. I haven't found any good tutorial for it so far. I mean nothin that really explains properly. I saw a couple of example programs but when I tried to use pyclutter I dint get…
Ani
  • 21
  • 1
2
votes
2 answers

How to compile Cogl hello example

My environment is Fedora 21, i play around with hello tutorial from http://www.cogl3d.org/hello.html, it shows: Building the example If you save the above code to a file named hello.c then you can compile the example as follows: gcc -o hello…
林果皞
  • 7,539
  • 3
  • 55
  • 70
2
votes
2 answers

draw 3D with cogl?

Cogl is a modern 3D graphics API with associated utility APIs designed to expose the features of 3D graphics hardware using a more object oriented design than OpenGL. The library has primarily been driven by the practical needs of Clutter but it is…
user69969
  • 341
  • 2
  • 10
2
votes
0 answers

Efficient reflections in Clutter/COGL?

I'm working on a program that uses Clutter (1.10) and COGL to render elements to the display. I've created a set of ClutterTextures that I am rendering video to, and I'd like the video textures to have reflections. The "standard" way to implement…
jldeon
  • 363
  • 2
  • 11
2
votes
0 answers

Filling a custom-shaped Clutter Actor with a Cairo-drawn canvas

Clutter 1.12 Cogl 1.10 Vala or C or Python. I might have a fundamental misunderstanding here — I think of "Actors" as 3D polygon things. I think of their colours as either vertex colors or as texture-mapping. In this light, I have been trying to…
Donn
  • 121
  • 1
  • 8
0
votes
0 answers

Draw custom Clutter::Actor using cairo

I want to create a custom actor using cairo graphic. I am using cluttermm and clutter-gtkmm. According to some recommendations and codes of friends, this way it can be implemented in the clutter(not cluttermm). an example in vala : using…
mohamadp91
  • 47
  • 9
0
votes
1 answer

Drawing in a Clutter Texture with Cairo

I have a collection of objects that I use for drawing and have always used Cairo for that. I've decided to switch to Clutter with Cogl for the drawing, but Cogl seems to be somewhat limited for 2D. So far I'm already missing being able set the dash…
0
votes
1 answer

How to build cogl and clutter on mingw?

I'm going to build clutter on mingw environment, but when I try to build Cogl, there are some compling errors, unknow type: GLchar, GLintptr, GLsizeiptr. The source code version I used is: clutter(1.8.4), cogl(1.10.2), can anybody give me some…
liuhua
  • 63
  • 4