Search found 1734 matches

by Kjell
Tue Jan 15, 2019 1:07 pm
Forum: Bug reports
Topic: OMEGANAUT on Android ZGE bug hunt (split from main topic)
Replies: 24
Views: 15655

Re: OMEGANAUT

Hi guys, That should be pretty straight-forward to test though ... perhaps Ats can run the following project on a Android device that displays the problem and one that doesn't and see whether there's a difference? If not, the problem probably lies elsewhere. <?xml version="1.0" encoding="iso-8859-1"...
by Kjell
Mon Jan 14, 2019 8:32 pm
Forum: Bug reports
Topic: OMEGANAUT on Android ZGE bug hunt (split from main topic)
Replies: 24
Views: 15655

Re: OMEGANAUT

Hey, Yes I saw that but it saves and restores previous setting (via platform_android push/pop attrib). Ah right, the fakePushAttrib / fakePopAttrib procedures .. not sure what's going on then :-( @Ats, I tried to replicate the problem on a couple of Android devices, but no cigar. What Adreno chipset...
by Kjell
Mon Jan 14, 2019 4:40 pm
Forum: Bug reports
Topic: OMEGANAUT on Android ZGE bug hunt (split from main topic)
Replies: 24
Views: 15655

Re: OMEGANAUT

Hi guys,

BitmapCombine does seem to disable face culling inadvertently(?) on Android / ES ( using TBitmapCombine.ProduceOutput > GetCopyAsFloats > GLESPixelsFromTexture ) .. could have something to do with that.

K
by Kjell
Thu Dec 20, 2018 3:16 pm
Forum: General discussion
Topic: ZGameEditor & Android Setting
Replies: 85
Views: 56477

Re: ZGameEditor & Android Setting

Hej Ville, Based on this I would assume that on Android GL_BLEND is enabled by default somehow? That doesn't have anything to do with blending ( vertex colors mix with the material diffuse color without having to use blending ). It's because when you don't explicitly set certain components of the ve...
by Kjell
Thu Dec 20, 2018 2:35 pm
Forum: General discussion
Topic: ZGameEditor & Android Setting
Replies: 85
Views: 56477

Re: ZGameEditor & Android Setting

Hi guys, Keep in mind that currently when you do the following .. - Start a new project - Add a Mesh to App.Content - Add a MeshBox to the Mesh - Select the Mesh component ... the Mesh appears red in the preview window ( don't let that fool you ). Anyway, when you add a MeshExpression ( with VertexC...
by Kjell
Sat Dec 15, 2018 12:51 pm
Forum: Bug reports
Topic: Trivial changes to vertex shader sometimes change vertex positions
Replies: 3
Views: 4645

Re: Trivial changes to vertex shader sometimes change vertex positions

Hi plygon,

Are you sure you're not getting any GLSL compilation errors in the log panel? Some GPU drivers are a bit particular when it comes to defining variables that don't actually get used for anything.

K
by Kjell
Thu Dec 13, 2018 9:17 pm
Forum: General discussion
Topic: ZGameEditor & Android Setting
Replies: 85
Views: 56477

Re: ZGameEditor & Android Setting

Hej Ville,
VilleK wrote:
Thu Dec 13, 2018 8:32 am
do you think I should change so that ZApplication use the alpha value of ClearColor?
Yea, i don't see how it could hurt really .. besides, the default alpha value is 0 anyway.

K
by Kjell
Wed Dec 12, 2018 6:08 pm
Forum: General discussion
Topic: ZGameEditor & Android Setting
Replies: 85
Views: 56477

Re: ZGameEditor & Android Setting

Hi Ats, Then I made some tests with the OpenGL calls. If I put them in App.OnBeginRenderPass, nothing change. That's because when you use the OpenGL calls in OnBeginRenderPass, they get negated by the built-in clear calls shortly thereafter. But if I put them in App.OnRender (with App.RenderOrder = ...
by Kjell
Wed Dec 12, 2018 11:09 am
Forum: General discussion
Topic: ZGameEditor & Android Setting
Replies: 85
Views: 56477

Re: ZGameEditor & Android Setting

Hi guys, Try clearing the screen using a alpha value of 1 ( instead of the default 0 ). Unfortunately you can't do this using App.ClearColor right now ( as the alpha value is ignored ), so you need to execute the following OpenGL calls ( after the screen is cleared by ZGE but before anything is rend...
by Kjell
Fri Dec 07, 2018 3:58 pm
Forum: General discussion
Topic: Chromatic Aberration effect
Replies: 7
Views: 7147

Re: Chromatic Aberration effect

Hi rrTea, I tried the DIY solution, and it works, but there are some cases where it gives unexpected results. For example bitmaps sometimes get a dark outline, and I can't see where would this be coming from. It might not give the results you expected, but it's actually behaving the way it should. W...
by Kjell
Thu Dec 06, 2018 9:19 pm
Forum: General discussion
Topic: ZGameEditor & Android Setting
Replies: 85
Views: 56477

Re: ZGameEditor & Android Setting

Hi guys,

If there's going to be support for on-the-fly orientation changes ( Configuration Changed event ), perhaps it would be a good idea to set the screenOrientation for ZGEAndroid-debug.apk to sensor? Would make it a lot easier to debug portrait-mode projects.

K
by Kjell
Thu Dec 06, 2018 9:25 am
Forum: General discussion
Topic: Chromatic Aberration effect
Replies: 7
Views: 7147

Re: Color refraction effect

Hi rrTea, Ah, i see what you're getting at. I was trying to illustrate in my example that you have to use a black frame-buffer to render your 3 channels onto because of the additive blending, but you wanted to simply clear the RenderTarget with a non-transparent color value. This is a bug / oversigh...
by Kjell
Thu Dec 06, 2018 12:48 am
Forum: General discussion
Topic: Shader messes with the transparency
Replies: 3
Views: 4961

Re: Shader messes with the transparency

Hi jinxtengu, Is there a fix to get this shader to fade gradually and keep transparency with flat models? It's because your alpha test is set to "greater than 0.5". Any pixel that fails that test won't get rendered. Either adjust the threshold value ( why not use greater than 0 ) or mix with "vec4(0...
by Kjell
Wed Dec 05, 2018 2:45 pm
Forum: General discussion
Topic: Bass.dll volume functions
Replies: 2
Views: 4727

Re: Bass.dll volume functions

Hi jinxtengu, Hey does anyone know how to alter the volume parameters using Bass.dll for mod playback? You can use the BASS_SetConfig function to set the global volume level of a MOD. Alternatively, you can use BASS_ChannelSetAttribute to set the volume of a MOD at event-level ( either globally or p...
by Kjell
Wed Dec 05, 2018 12:50 pm
Forum: General discussion
Topic: Vertical sync with monitor refresh
Replies: 3
Views: 5069

Re: Vertical sync with monitor refresh

Hi jinxtengu, Windows Vista & 7 are a bit of a basket-case when it comes to v-sync. Microsoft introduced the DWM ( Desktop Window Manager ) in Vista, but it's disabled when you're using the classic theme in Vista or 7. Anyway, does the tearing of your standalone occur in windowed or full-screen mode...