Search found 152 matches
- Mon Jun 22, 2015 1:17 pm
- Forum: Bug reports
- Topic: [no bug] Bug in COGLES2MaterialRenderer
- Replies: 6
- Views: 1836
Re: [no bug] Bug in COGLES2MaterialRenderer
It has crashed because of this issue. I compiled it with GCC with debug symbols and identified the Problem with gdb. BTW: You can not know if every compiler with every settings does evaluate the disjunctions as you describe.
- Wed Jun 17, 2015 11:34 pm
- Forum: Bug reports
- Topic: [no bug] Bug in COGLES2MaterialRenderer
- Replies: 6
- Views: 1836
[no bug] Bug in COGLES2MaterialRenderer
Hi, there's a bug in COGLES2MaterialRenderer.cpp in both implementations of setPixelShaderConstant: original code: if(index < 0 || UniformInfo[index].location < 0) return false; If index is <0 it will crash because of UniformInfo[index]. Please replace it (both times) with (or similar): if(index...
- Mon Dec 29, 2014 9:15 pm
- Forum: Code Snippets
- Topic: TIFF Image Loader
- Replies: 0
- Views: 1968
TIFF Image Loader
Hi, I created an IImageLoader implementation for TIFF files: TIFFImageLoader.h: #include <irrlicht.h> class TIFFImageLoader : public irr::video::IImageLoader{ public: TIFFImageLoader(irr::video::IVideoDriver* driver); bool isALoadableFileExtension(const irr::io::path &filenam...
- Tue Aug 26, 2014 9:50 am
- Forum: Bug reports
- Topic: [fixed]Empty ListBox Bug when pressing end -> any character
- Replies: 2
- Views: 838
[fixed]Empty ListBox Bug when pressing end -> any character
There's a bug with empty ListBoxes: If you press the end button and after that any character button in a focused empty ListBox it will crash. This ist because of the following code in CGUIListBox.cpp (CGUIListBox::OnEvent) : if (Selected >= (s32)Items.size()) Sele...
- Mon Aug 25, 2014 4:58 pm
- Forum: Bug reports
- Topic: u16 on Android propably signed
- Replies: 4
- Views: 1079
Re: u16 on Android propably signed
Ok I have tested it. Surprisingly it is not signed.
But why does it behave this way on android? Has anybody an idea?
But why does it behave this way on android? Has anybody an idea?
- Fri Aug 22, 2014 4:06 pm
- Forum: Bug reports
- Topic: u16 on Android propably signed
- Replies: 4
- Views: 1079
u16 on Android propably signed
I noticed when I created a SMeshBuffer (16 Bit Indices) with 256^2=65536 Vertices (256x256 regular grid) that it worked well on Linux but not on Android. After some experimenting I noticed that the maximum amount of Vertices in a regular grid is 181^2 (181x181 grid), if u16 is signed this would be t...
- Mon Mar 10, 2014 10:07 am
- Forum: Bug reports
- Topic: [fixed]Ogles: TRANSPARENT_ALPHA_CHANNEL_REF Material colors
- Replies: 3
- Views: 884
Re: Ogles/Android: TRANSPARENT_ALPHA_CHANNEL_REF Material co
I don't think so.
The OpenGL driver uses also textures and colors.
This makes also sense because if you don't want to use colors, just use white and you can get the same behaviour than without colors.
The OpenGL driver uses also textures and colors.
This makes also sense because if you don't want to use colors, just use white and you can get the same behaviour than without colors.
- Fri Mar 07, 2014 3:50 pm
- Forum: Bug reports
- Topic: [fixed]Ogles: TRANSPARENT_ALPHA_CHANNEL_REF Material colors
- Replies: 3
- Views: 884
[fixed]Ogles: TRANSPARENT_ALPHA_CHANNEL_REF Material colors
Hi,
I noticed that with EMT_TRANSPARENT_ALPHA_CHANNEL_REF the colors in the SMaterial are ignored.
This can be fixed by replacing:
with:
in the COGLESMaterialRenderer.h
I noticed that with EMT_TRANSPARENT_ALPHA_CHANNEL_REF the colors in the SMaterial are ignored.
This can be fixed by replacing:
Code: Select all
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
Code: Select all
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
- Wed Feb 19, 2014 4:58 pm
- Forum: Bug reports
- Topic: slerp Bug
- Replies: 4
- Views: 846
Re: slerp Bug
That's a good idea, but unfortunately I wasn't able to get ndk-gdb running. I'm using the internal sensors of my Nexus 7 for both rotations, so I can't test it on my pc.
- Wed Feb 19, 2014 12:18 pm
- Forum: Bug reports
- Topic: slerp Bug
- Replies: 4
- Views: 846
Re: slerp Bug
I used slerp for sensor fusion to interpolate between a slow changing reference rotation and a fast changing gyroscope rotation (which has an accumulating error) to eliminate the error. For testing purposes I used a predefined rotation in exchange for the gyrosope output which converges then to the ...
- Wed Feb 19, 2014 1:20 am
- Forum: Bug reports
- Topic: slerp Bug
- Replies: 4
- Views: 846
slerp Bug
Hi, I noticed that quaternion::slerp may calculate a not normalized quaternion (because of rounding errors and epecially in the lerp case). In my case the slerp result was sometimes up to 10° off. After I added the normalization the problem disappeared: Please change: if (angle <= (1-threshol...
- Wed Dec 04, 2013 4:02 pm
- Forum: Advanced Help
- Topic: Weird error on Android 2.3 (Samsung Galaxy Y)
- Replies: 5
- Views: 1209
Re: Weird error on Android 2.3 (Samsung Galaxy Y)
I tried it with ogl-es 2.0 (blank screen + error "11-30 17:52:23.789: E/(10922): Unable to Find Phys Addr for 1c7628" in the logcat)
and ogl-es 1.0 (only blank screen)
and ogl-es 1.0 (only blank screen)
- Mon Dec 02, 2013 2:18 am
- Forum: Advanced Help
- Topic: Weird error on Android 2.3 (Samsung Galaxy Y)
- Replies: 5
- Views: 1209
Re: Weird error on Android 2.3 (Samsung Galaxy Y)
Thanks for your reply. egl version 1.4 is used according to the logcat. When I use ogles 1 I don't get the error in the logcat, but nothing is displayed on the screen except of the background color. (With ogles2 I get also only a blank screen with the background color and of course the error in the ...
- Sat Nov 30, 2013 6:28 pm
- Forum: Advanced Help
- Topic: Weird error on Android 2.3 (Samsung Galaxy Y)
- Replies: 5
- Views: 1209
Weird error on Android 2.3 (Samsung Galaxy Y)
Hi, On my tablet (Android 4.0.3, mips cpu, Vivante GC800 core gpu) everything works fine but I get a weird error an a Samsung Galaxy Y smartphone (Android 2.3.5, arm cpu, Broadcom VideoCore IV HW gpu). The logcat prints always "11-30 17:52:23.789: E/(10922): Unable to Find Phys Addr for 1c7628&...
- Wed Nov 06, 2013 6:02 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Useful modifications to the android port (ogles-branch)
- Replies: 3
- Views: 2844
Re: Useful modifications to the android port (ogles-branch)
I now implemented the CursorControl for Android, because I think it should be there for compatibility reasons (most software will propably not check if the CursorControl is NULL, for example the FPS Camera). Unfortunately it's afaik not possible to change the visibility and cursor position if an ext...