Page 2 of 5
Re: Animated Vector Graphics Scene Graph
Posted: Fri Oct 17, 2025 11:24 pm
by idle
mk-soft wrote: Fri Oct 17, 2025 5:20 pm
macOS:
No circles are displayed in macOS !?
I still have to apply fix ups for DPI scaling from the recent changes
scale unscale, rescale descale, left = right, up = down, forward = backwards, -1 = 1, a dyslexics nightmare of opposites
Fixed;
I will keep it at 125% for now and added bonus I can see.
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 9:32 am
by mk-soft
Unfortunately, I still don't see any circles here under macOS (Intel).
But I didn't find out why ...
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 9:35 am
by Mindphazer
No circles here neither (MacOS M4)
And the switch button is grey and stays grey even when clicked
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 9:37 am
by Mesa
So fine
To scale the drawing with the wheel mouse, canvas has to have the #PB_Canvas_Keyboard flag (Windows only).
M.
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 10:31 am
by idle
Mindphazer wrote: Sat Oct 18, 2025 9:35 am
No circles here neither (MacOS M4)
And the switch button is grey and stays grey even when clicked
Is that with version 0.2.6a?
here is what it should look like
https://atomicwebserver.com/avgscenegraph.mp4
and the latest version 0.2.7a
I've changed how it does grouped objects so the offset is relative to the parent, so this
Global switchID = AVGCreateObject(*scene,112,480,"Switch")
Global knobID = AVGCreateObject(*scene,23,25,"SwitchKnob", switchID)
vs
Global switchID = AVGCreateObject(*scene,112,480,"Switch")
Global knobID = AVGCreateObject(*scene,-89,-455,"SwitchKnob", switchID)
It sets both the object parameter and cursor to the correct offset
I don't know why you're not seeing any circles?
does commenting out line 2795 to 2797 make any difference?
Code: Select all
;AVGAddPathCircle(*scene, circle1, 0, 0, 20)
; AVGVectorSourceColor(*scene, circle1, RGBA(128, 128, 255, 255),RGBA(255, 255, 0, 255))
; AVGFillPath(*scene, circle1)
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 10:53 am
by mk-soft
Found ...
macOS need right EndAngle.
Line 1513:
Code: Select all
Procedure AVGAddPathCircle(*scene.AVGScene, objectID, x.d, y.d, radius.d, StartAngle.d=0, EndAngle.d=360, flags=#PB_Path_Default,*userdata=0)
Line 1555:
Code: Select all
Procedure AVGAddPathEllipse(*scene.AVGScene, objectID, x.d, y.d, Rx.d, ry.d, sa.d=0, ed.d=360, flags=#PB_Path_Default,*userdata=0)
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 11:07 am
by idle
mk-soft wrote: Sat Oct 18, 2025 10:53 am
Found ...
macOS need right EndAngle.
Line 1513:
Code: Select all
Procedure AVGAddPathCircle(*scene.AVGScene, objectID, x.d, y.d, radius.d, StartAngle.d=0, EndAngle.d=360, flags=#PB_Path_Default,*userdata=0)
Line 1555:
Code: Select all
Procedure AVGAddPathEllipse(*scene.AVGScene, objectID, x.d, y.d, Rx.d, ry.d, sa.d=0, ed.d=360, flags=#PB_Path_Default,*userdata=0)
Thanks and good find. I will add it in the morning
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 11:10 am
by mk-soft
I think its a bug on windows and linux

Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 9:11 pm
by Caronte3D
We passed from only one way to use custom controls, to many ones lately.
Thanks for sharing!
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 10:53 pm
by idle
Caronte3D wrote: Sat Oct 18, 2025 9:11 pm
We passed from only one way to use custom controls, to many ones lately.
Thanks for sharing!
This will also make it easy to make custom controls as you will be able to edit them live and export them.
I need to sort out picking objects so it's easier to move them around.
Then I can add style sheets to the scene so it cascades to objects where the properties can be individually overridden directly in the display list parameters and I can get rid of the monolithic properties structure array as it won't be needed.
Re: Animated Vector Graphics Scene Graph
Posted: Sat Oct 18, 2025 10:53 pm
by idle
mk-soft wrote: Sat Oct 18, 2025 11:10 am
I think its a bug on windows and linux
I think windows is a bug!

Re: Animated Vector Graphics Scene Graph
Posted: Sun Oct 19, 2025 2:20 am
by miso
idle wrote: Sat Oct 18, 2025 10:53 pm
mk-soft wrote: Sat Oct 18, 2025 11:10 am
I think its a bug on windows and linux
I think windows is a bug!
I'm afraid it's a malware

Re: Animated Vector Graphics Scene Graph
Posted: Sun Oct 19, 2025 2:27 am
by idle
miso wrote: Sun Oct 19, 2025 2:20 am
idle wrote: Sat Oct 18, 2025 10:53 pm
mk-soft wrote: Sat Oct 18, 2025 11:10 am
I think its a bug on windows and linux
I think windows is a bug!
I'm afraid it's a malware
It is the definition of malware.

Re: Animated Vector Graphics Scene Graph
Posted: Sun Oct 19, 2025 8:21 pm
by skywalk
Hi idle!
Can you explain the intent of Right-Mouse-Clicks?
It seems to work as a pan feature, but it also seems to jump more than intended?
Maybe the moving objects are confusing the hit spot?
Re: Animated Vector Graphics Scene Graph
Posted: Sun Oct 19, 2025 10:04 pm
by miso
I just missed that. Nice code. I might copy your license header style.