Search found 11 matches

by Ezerg
Thu May 31, 2018 6:01 pm
Forum: Using OGRE in practice
Topic: Ogre 1.10.12 inside Qt5
Replies: 1
Views: 138

Re: Ogre 1.10.12 inside Qt5

I've just noticed that when I create a manual texture with: rtt_texture = Ogre::TextureManager::getSingleton().createManual("RttTex", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::TEX_TYPE_2D, m_size.width(), m_size.height(), 0, Ogre::PF_A1R5G5B5, Ogre::TU_RENDERTARGET);//, 0, false...
by Ezerg
Tue May 29, 2018 1:46 pm
Forum: Using OGRE in practice
Topic: Ogre 1.10.12 inside Qt5
Replies: 1
Views: 138

Ogre 1.10.12 inside Qt5

Hey everyone, I'm trying to embed Ogre 1.10.12 inside a QWindow, my goal is to make it run on ARM board (rockchip 3288 SoC), openglES3, running Ubuntu but without X server , this is, using EGLFS as a backend (the same backend that uses Qt). I know that this is possible using Ogre1.9 (I've seen it wo...
by Ezerg
Thu May 10, 2018 12:42 pm
Forum: Using OGRE in practice
Topic: SampleBrowser without X11
Replies: 2
Views: 101

Re: SampleBrowser without X11

Hi paroj,
yes, already tried that and I was able to launch the samples but It would be nice to have keyboard and mouse input for navigation, especially on the terrain demos.
by Ezerg
Wed May 09, 2018 7:29 pm
Forum: Using OGRE in practice
Topic: SampleBrowser without X11
Replies: 2
Views: 101

SampleBrowser without X11

Hello everyone, after a long battle I was able to compile Ogre1.10.12 on an arm device (gles2) with EGL support and some hacks to render a window without using X11. Main problem is that SampleBrowser app starts fine (no errors on console) but I cannot get any input response (mouse nor keyboard) so I...
by Ezerg
Wed May 10, 2017 3:16 pm
Forum: Using OGRE in practice
Topic: Simulate google maps with Terrain component
Replies: 15
Views: 1844

Re: Simulate google maps with Terrain component

Ok, based on your comments my options are: 1) Don't use terrain component, use a custom mesh for tiles and populate them with the correct textures and combine it with Paged Geometry. 2) Use an external app such as Nasa's World Wind and render it's output to a texture and use that texture as with a m...
by Ezerg
Mon May 08, 2017 2:05 am
Forum: Using OGRE in practice
Topic: Simulate google maps with Terrain component
Replies: 15
Views: 1844

Re: Simulate google maps with Terrain component

Thanks everyone for answering! @frostbyte: I've had some issues using paged geometry a few days back (mem alloc errors when instantiating it), I'll give it another try. I really liked your "hack" idea but it seems a little bit too complicated, that made me think if I just could embed a Qt qml window...
by Ezerg
Sun May 07, 2017 3:00 am
Forum: Using OGRE in practice
Topic: Simulate google maps with Terrain component
Replies: 15
Views: 1844

Re: Simulate google maps with Terrain component

Hi syedhs, As there is no need of heightmap, and therefore the terrain will be flat then just use set of planes placed adjacent to each other as think it will be far more efficient this way. However, you may have to do custom grid-management where you only show the nearest grid to camera and hide th...
by Ezerg
Sat May 06, 2017 2:55 am
Forum: Using OGRE in practice
Topic: Simulate google maps with Terrain component
Replies: 15
Views: 1844

Re: Simulate google maps with Terrain component

I've made some progress using the Terrain component, maybe a screenshoot of what I have so far will clarify my idea and what I'm trying to achieve I've setted up a simple Terrain group of size 16x16, as textures I've used tiles retrieved from Google Maps (via google´s api) which are 256x256px. Textu...
by Ezerg
Wed May 03, 2017 3:02 pm
Forum: Using OGRE in practice
Topic: Simulate google maps with Terrain component
Replies: 15
Views: 1844

Re: Simulate google maps with Terrain component

Thanks frostbyte for replying! What I'm trying to do is a map visualizer (almost like Google Earth), currently I have lots of 256X256 jpeg files for texturing the Terrain tiles, so mi prior intention is using several "Terrain group" and load the textures into each Terrain. My concern is if the Terra...
by Ezerg
Mon Apr 24, 2017 7:25 pm
Forum: Using OGRE in practice
Topic: Simulate google maps with Terrain component
Replies: 15
Views: 1844

Simulate google maps with Terrain component

Hello everyone! Need some advice regarding a new game that I'm designing: - My game will use "real world" textures i.e satellite images provided by services such as Google Maps. This means that my "ground" will consists only of 2D textures (no height maps), so my first approach would be using the Te...
by Ezerg
Wed Oct 26, 2016 5:41 pm
Forum: Using OGRE in practice
Topic: Changing overlapping color
Replies: 0
Views: 813

Changing overlapping color

Hello everyone, first post here. To the question: I'm currently trying to build a game that is basically a moving vehicle that leaves a green trail (2D manual mesh) in it's path, what i'm trying to achieve is exactly what this image shows: http://i.stack.imgur.com/cjoKk.png My problem is that i need...