Thank you both for testing!
@Justin: Thanks for the workaround! But I would rather not use OS specific API in my project, but it's good to know it and if there is no other way I have no choice.
@Lord: That's weird, because in the project where I discovered that the mouse wheel is not working I am ...
Search found 39 matches
- Wed Aug 17, 2022 8:17 pm
- Forum: Linux
- Topic: Mouse Wheel not working in Canvas Gadget
- Replies: 4
- Views: 1190
- Tue Aug 16, 2022 8:13 pm
- Forum: Announcement
- Topic: DocMaker for PureBasic
- Replies: 8
- Views: 8921
Re: DocMaker for PureBasic
I want to build in markdown support to easily create Web manuals with static website generators like HUGO or Jekyll in the near future and could add support for modules and macros, but what should projects support look like?
- Tue Aug 16, 2022 8:06 pm
- Forum: Linux
- Topic: Mouse Wheel not working in Canvas Gadget
- Replies: 4
- Views: 1190
Mouse Wheel not working in Canvas Gadget
Hi there,
I just found out that the mouse wheel is not detected (#PB_EventType_MouseWheel) when using the #PB_Canvas_Container flag in a Canvas Gadget. I modified the Canvas Gadget example from the PureBasic manual to show this:
If OpenWindow(0, 0, 0, 220, 220, "CanvasGadget", #PB_Window ...
I just found out that the mouse wheel is not detected (#PB_EventType_MouseWheel) when using the #PB_Canvas_Container flag in a Canvas Gadget. I modified the Canvas Gadget example from the PureBasic manual to show this:
If OpenWindow(0, 0, 0, 220, 220, "CanvasGadget", #PB_Window ...
- Tue Feb 25, 2020 3:33 pm
- Forum: Announcement
- Topic: DocMaker for PureBasic
- Replies: 8
- Views: 8921
Re: DocMaker for PureBasic
@RobertRoija: sqUId is a UI system for PureBasic that I'm developing. But you don't need it to use DocMaker.
- Thu Sep 19, 2019 6:40 pm
- Forum: Announcement
- Topic: DocMaker for PureBasic
- Replies: 8
- Views: 8921
Re: DocMaker for PureBasic
@Mesa:
As written on the homepage of the tool the source code is only included for the sake of completeness and can't be compiled. The UI system I used is not included. The "DocMaker.exe" file is the tool itself and all you need to make everything work.
@wilbert:
The included DocMaker from ...
As written on the homepage of the tool the source code is only included for the sake of completeness and can't be compiled. The UI system I used is not included. The "DocMaker.exe" file is the tool itself and all you need to make everything work.
@wilbert:
The included DocMaker from ...
- Thu Sep 19, 2019 9:53 am
- Forum: Announcement
- Topic: DocMaker for PureBasic
- Replies: 8
- Views: 8921
DocMaker for PureBasic
Hello PureBasicers,
I'd like to announce a little project I released some days ago on my itch.io page. It's called DocMaker and is basically a tool to generate html source code documentations in the style of JavaDoc. The usage is pretty simple and it has some nice features I think. Maybe someone ...
I'd like to announce a little project I released some days ago on my itch.io page. It's called DocMaker and is basically a tool to generate html source code documentations in the style of JavaDoc. The usage is pretty simple and it has some nice features I think. Maybe someone ...
- Sun Apr 27, 2014 8:15 pm
- Forum: 3D Programming
- Topic: BreakOut example
- Replies: 15
- Views: 9147
Re: BreakOut example
Nice example!
No problems here on Windows 7 x64.
No problems here on Windows 7 x64.
- Sun Mar 30, 2014 12:22 am
- Forum: 3D Programming
- Topic: Ocean shader draws black water
- Replies: 12
- Views: 7067
Re: Ocean shader draws black water
Ok, guys, now it works like I wanted it to work. Additive shadows + ocean shader. And it was very simple to achieve: DisableMaterialLighting(OceanMaterial,#True) did the trick! I also added "receive_shadows off" to the ocean.material file but I don't know if has something to do with it. Thanks for ...
- Sat Mar 29, 2014 10:14 pm
- Forum: 3D Programming
- Topic: Ocean shader draws black water
- Replies: 12
- Views: 7067
Re: Ocean shader draws black water
Wow, that is some kind of funny stuff. The shadow types in my program are flipped somehow. In the example you posted they work the opposite like you said. I just double checked the usage of shadow constants in my code and they are ok, as far as I can see. I'll have a deeper look later.
All entities ...
All entities ...
- Sat Mar 29, 2014 11:57 am
- Forum: 3D Programming
- Topic: Ocean shader draws black water
- Replies: 12
- Views: 7067
Re: Ocean shader draws black water
Here is another video showing the differences between the three shadow types in my island scene. I have a directional light working as a sunlight and a spotlight shining straight down to the middle of the island. With additive shadows on the shadows of both light sources are rendered as expected ...
- Fri Mar 28, 2014 11:24 pm
- Forum: 3D Programming
- Topic: Ocean shader draws black water
- Replies: 12
- Views: 7067
Re: Ocean shader draws black water
Got it! The water turns black if you use WorldShadow(#PB_Shadow_Additive). With all other shadow types the water is drawn correctly. Since additive shadow is the only one I can get to work (the others are ugly (modulative) or don't show any shadow at all (texture additive)), this is very frustrating ...
- Thu Mar 27, 2014 8:31 pm
- Forum: 3D Programming
- Topic: Ocean shader draws black water
- Replies: 12
- Views: 7067
Re: Ocean shader draws black water
Yes, Idle, you're demo always works like a charme. I tried to harm it, but no chance! :D
The Ogre.log doesn't give any errors and the only difference between the log of my project and the log of your demo is the following:
From my project:
17:13:15: GLSL compiling: Ocean2VS
17:13:15: GLSL ...
The Ogre.log doesn't give any errors and the only difference between the log of my project and the log of your demo is the following:
From my project:
17:13:15: GLSL compiling: Ocean2VS
17:13:15: GLSL ...
- Thu Mar 27, 2014 5:23 pm
- Forum: 3D Programming
- Topic: Ocean shader draws black water
- Replies: 12
- Views: 7067
Re: Ocean shader draws black water
Yes, I think it's the one from Idle. I didn't change anything in the shaders or scripts. I just made a small video of what it looks like:
http://www.mac-bs.de/temp/Wasser.mp4
As you can see the water is moving and the skybox is showing, too.
http://www.mac-bs.de/temp/Wasser.mp4
As you can see the water is moving and the skybox is showing, too.
- Wed Mar 26, 2014 10:38 pm
- Forum: 3D Programming
- Topic: Ocean shader draws black water
- Replies: 12
- Views: 7067
Ocean shader draws black water
Hi guys,
I tried to implement the water from the ocean demo into my current project and now I have the problem that the water is black, looking like an ocean of tar, no texture showing (should be the skybox texture). I first thought of some missing resources or something, but the shader is loaded ...
I tried to implement the water from the ocean demo into my current project and now I have the problem that the water is black, looking like an ocean of tar, no texture showing (should be the skybox texture). I first thought of some missing resources or something, but the shader is loaded ...
- Fri Mar 21, 2014 9:59 pm
- Forum: 3D Programming
- Topic: SpriteOutput() does not work on fullscreen/OpenGL/3D
- Replies: 2
- Views: 1824
Re: SpriteOutput() does not work on fullscreen/OpenGL/3D
Yes, of course, in my current project I use a camera and also RenderWorld(), but my intention was to point out the error, which is the same in my project and so I altered the sprite example from the manual. I think I should post it in the bugs forum?!?