Go to advanced search

by Vasya131
Mon Apr 27, 2015 1:38 pm
Forum: OpenGLES
Topic: Drawing textures with primitives.
Replies: 11
Views: 4370

Re: Drawing textures with primitives.

Use of glPushMatrix() and glPopMatrix() doesn't work.

Use of glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE) works fine.
Paeryn, thanks very much!
by Vasya131
Thu Apr 23, 2015 1:18 pm
Forum: OpenGLES
Topic: Drawing textures with primitives.
Replies: 11
Views: 4370

Re: Drawing textures with primitives.

Paeryn, thanks for advice.
It had partly helped me.
Now i have this image. It's yellow and partly transparent.

P.S. I use memset in draw_xxx functions to free memory.
I'm doing that because there is no automatic garbage collector.
by Vasya131
Sun Apr 19, 2015 7:06 am
Forum: OpenGLES
Topic: Drawing textures with primitives.
Replies: 11
Views: 4370

Re: Drawing textures with primitives.

How can i work with textures without glEnable? Here is part of my code. If it will be necessary i will show entire code but it's big. It's based on hello_triangle example and draws one line and texture. Textures and primitives are driven in function redraw_scene. Printscreens of work are in applied ...
by Vasya131
Thu Apr 16, 2015 1:47 pm
Forum: OpenGLES
Topic: Drawing textures with primitives.
Replies: 11
Views: 4370

Drawing textures with primitives.

Good afternoon. My task is to create application which draws one panel. This panel consist of primitives(triangles, rectangles, circles) and labels (textures). For this task I'm using Open GL ES 2.0 and language C (gcc compiler). Now I can draw primitives and textures separately. When I'm trying to ...
by Vasya131
Mon Sep 08, 2014 8:29 pm
Forum: Troubleshooting
Topic: Trouble with X Window System
Replies: 8
Views: 1822

Re: Trouble with X Window System

Guys, i'm grateful to you!
All is working!

At the beginning i checked file sources.list: there was just one link on the Raspbian's official site.
After that I used command apt-get, as you have advised and all errors disappeared!
System is working correctly!

Thank you!
by Vasya131
Mon Sep 08, 2014 12:35 pm
Forum: Troubleshooting
Topic: Trouble with X Window System
Replies: 8
Views: 1822

Re: Trouble with X Window System

rpdom, fruitoftheloom thanks for advices.
I'll try to apply them.
I was installing libudev because before it i tried to install libusb. And libusb asked me to install libudev.
What is AFAIAA?

P.S. rpdom, when you was speaking about Raspbian site, did you mean this one: http://raspbian.com?
by Vasya131
Mon Sep 08, 2014 11:19 am
Forum: Troubleshooting
Topic: Trouble with X Window System
Replies: 8
Views: 1822

Re: Trouble with X Window System

Operation system is Raspbian.
Library was downloaded from this site: https://packages.debian.org/wheezy/armh ... 0/download
I suggested that it will be run on Raspbian because Raspbian is a version of Debian.
by Vasya131
Sat Sep 06, 2014 6:53 pm
Forum: Troubleshooting
Topic: Trouble with X Window System
Replies: 8
Views: 1822

Trouble with X Window System

Good evening! I have trouble with booting X Window System after I was trying to install libudev. Libudev was installed with help of command dpkg: dpkg –install libudev0_175-7.2_armhf.deb. This command wrote that it’s unpackaged libudev and that was all. I decided to reboot system. During rebooting I...
by Vasya131
Tue Aug 05, 2014 8:16 am
Forum: Troubleshooting
Topic: Raspberry doesn't boot
Replies: 1
Views: 360

Raspberry doesn't boot

Good morning. I have Raspberry Pi, model A and OS Raspbian on it. Yesterday I was working on it for 4 hours. After installing of new library (libudev) I decided to reboot it. First problem I met was that I couldn't open shut down menu for rebooting. For rebooting device I used command "shut down -r ...
by Vasya131
Tue Aug 05, 2014 7:57 am
Forum: Beginners
Topic: Software for Raspberry
Replies: 2
Views: 521

Software for Raspberry

Good morning. I have Raspberry Pi, model A and software (OS Raspbian) for it. I'm going to buy model B. Can I use software from model A on model B? Or there are differences and I need to change something? I know that main difference between these models is that model B has RAM 512 MB. Is there somet...
by Vasya131
Sat May 03, 2014 3:27 pm
Forum: OpenGLES
Topic: Language for Open GL ES 2.0
Replies: 1
Views: 2049

Language for Open GL ES 2.0

Good evening. Maybe my question is very frequent, but i couldn't find complete answer on it. What language can you advise for work with Open GL ES? C++ or C? Are they equal for this graphic library? The reason for this question is that I found a big count of examples of working with this library on ...

Go to advanced search