Search found 1883 matches
- Tue Feb 08, 2022 5:31 pm
- Forum: Bug reports
- Topic: Timer.CurrentRelativeTime behavior
- Replies: 2
- Views: 5962
Re: Timer.CurrentRelativeTime behavior
Hi Ats, Is it a bug? Or is it normal? It's not a bug. A timer will only run as long as the node that contains it is active. Here's a similar example to yours except that you have to hold the "S" key on your keyboard to keep the timer active. Hopefully that will clear things up for you. <?x...
- Mon Feb 07, 2022 12:46 pm
- Forum: Extensions
- Topic: Deploy DLL
- Replies: 10
- Views: 33746
Re: Deploy DLL or use DLL's on current Windows 10 64 bit?
- Fri Feb 04, 2022 4:25 pm
- Forum: General discussion
- Topic: Variable length?
- Replies: 2
- Views: 5688
Re: Variable length?
Hi Ats, Is there a simple way to get the length of a string var? Sure, just use length() string myString = "Hello"; int myStringLength = length(myString); And what about the length of an int? Same thing, just convert your int to a string first before using length() int myInt = 12345; int m...
- Thu Dec 30, 2021 8:16 pm
- Forum: Extensions
- Topic: 3D Physics with ZgeBullet
- Replies: 104
- Views: 277035
Re: 3D Physics with ZgeBullet
Hi zakkwylde, Have been trying to make sense of quarternions and how we can code this in ZGE but no, i am still stumped. Quaternions are pretty unintuitive yes. However, once you get familiar with them they're not that difficult to use & don't require a ton of code either. Below is a very basic ...
- Thu Dec 23, 2021 2:27 pm
- Forum: General discussion
- Topic: Intro (a sequence of images Gif style) options?
- Replies: 7
- Views: 12543
Re: Intro (a sequence of images Gif style) options?
Hi jinxtengu, There's no easy way to play a video without a DLL. On Windows there's the AVIFile interface .. but you can't use that from ZGE ( you'd need to write a wrapper ). And MCI commands don't really play nicely with a OpenGL application, it's possible to make it work but it's not exactly clea...
- Fri Dec 17, 2021 4:54 pm
- Forum: General discussion
- Topic: A few questions relating to Y rotation
- Replies: 5
- Views: 7728
Re: A few questions relating to Y rotation
Hi guys, The default camera axis in ZGE have not changed since version 1.0 as far as I can remember so not sure what is going on in your case. This doesn't have anything to do with the camera, it's because the axis rotation order for models got fixed / reversed in 2010. It used to be ZYX but was cha...
- Mon Nov 01, 2021 2:49 pm
- Forum: Your projects
- Topic: OMEGANAUT
- Replies: 96
- Views: 165771
Re: OMEGANAUT
Hi Ats, This is actually very easy to solve .. the only thing you need to do is to clear the depth buffer after rendering your planet. Here's your example with one OpenGL call added to the last ZExpression in PlanetModel.OnRender :wink: <?xml version="1.0" encoding="iso-8859-1" ?...
- Fri Jul 23, 2021 11:45 am
- Forum: General discussion
- Topic: Questions about ES2/GL3 shaders
- Replies: 76
- Views: 84891
Re: Questions about ES2/GL3 shaders
Hi Ats, I'm experiencing a new problem with my conversion to ES2/GL3: a Material with DrawBackFace is showing up on Windows, but not on Android. Just double-checked this on Android myself and i'm experiencing no problems. I used the following example to test this: <?xml version="1.0" encod...
- Tue Jul 20, 2021 9:07 am
- Forum: Off-topic
- Topic: Windows 11
- Replies: 3
- Views: 19521
Re: Windows 11
Hej Ville, That sounds strange. How can a requirement for a certain level of DirectX compatibility end up with some GPUs only supporting OpenGL 1.1? It's not the DirectX part, it's the WDDM 2.0 requirement. GPUs that have reached EOL will ( probably ) not get drivers for Windows 11 and thus get stuc...
- Tue Jul 20, 2021 8:57 am
- Forum: General discussion
- Topic: Questions about ES2/GL3 shaders
- Replies: 76
- Views: 84891
Re: Questions about ES2/GL3 shaders
Hi Ats, I believe the problem is coming from the RenderParticles.PColor that doesn't seem to be working. Hmm .. i'm not having any trouble with RenderParticles.PColor here. Does the following ES3 example work for you? <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Nam...
- Mon Jul 19, 2021 3:31 pm
- Forum: Off-topic
- Topic: Windows 11
- Replies: 3
- Views: 19521
Windows 11
Hi guys, Bit of a troubling development that started in Windows 10 and is taking another step in Windows 11: Windows 11 requirements Graphics card: Compatible with DirectX 12 or later, with a WDDM 2.0 driver. The result of this is that any Intel GPU up to 7th generation chipsets ( Ivy Bridge ) will ...
- Sun Jul 18, 2021 6:38 pm
- Forum: General discussion
- Topic: Questions about ES2/GL3 shaders
- Replies: 76
- Views: 84891
Re: Questions about ES2/GL3 shaders
Hi Ats, I can't display sprites correctly (colors + transparency). Perhaps you forgot to multiply the texture coordinates by the texture matrix? In any case, here's a quick GL3 example: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="...
- Mon Jul 05, 2021 6:40 pm
- Forum: Feature requests
- Topic: [FIXED] Same background color for PC and Android
- Replies: 9
- Views: 10949
Re: Same background color for PC and Android
Hi Ats, Oh nice, I didn't know about that. You can do fully transparent as well of course, which makes the behavior similar to Android / WebGL. Below is what a simple RenderParticles project looks like with the Spotify website in the background ( click image for short video ). https://i.imgur.com/RL...
- Mon Jul 05, 2021 3:49 pm
- Forum: Feature requests
- Topic: [FIXED] Same background color for PC and Android
- Replies: 9
- Views: 10949
Re: Same background color for PC and Android
Hi Ats, Setting the Android activity background to black is probably the easiest OS "solution" yea 8) By the way, when you enable background transparency in Windows you actually get a semi-transparent result by default ( which is different from Linux ). Not that it matters, but just to ind...
- Mon Jul 05, 2021 1:03 pm
- Forum: Feature requests
- Topic: [FIXED] Same background color for PC and Android
- Replies: 9
- Views: 10949
Re: Same background color for PC and Android
Hi Ats, That is what I suspected in my first post. If you start a new project and right-click on the color box of App.ClearColor you can see that its alpha value is 0 :wink: In which case it interesting to start with {0,0,0,0} since the exe can't be transparent? You mean a Windows standalone executa...