Search found 261 matches

by [blendman]
Wed Jan 04, 2023 5:37 pm
Forum: Applications - Feedback and Discussion
Topic: [2D application] generatoon (character generator)
Replies: 2
Views: 446

[2D application] generatoon (character generator)

Hi here is a little 2D application to create easily some characters : https://www.dracaena-studio.com/cartoonanimation/images/truc/screenshotCHGv0.23.2.jpg The code is open-source (mit licence) with 3 "banks" for the examples - cartoon human : cartoon human - cat : a simple cat but without...
by [blendman]
Tue Feb 15, 2022 11:02 am
Forum: Coding Questions
Topic: SetXMLAttribute and save
Replies: 1
Views: 334

SetXMLAttribute and save

HI I use LMMS (to create songs/music) and it save the document in xml (.mmp). In purebasic, I have created a little tool, to change some attributs of notes : len, pos, vol, note (key) and pan. Thanks to the xml example in the doc, it's ok to loadxml(), get the note and its attributs, and change the ...
by [blendman]
Sun Jan 23, 2022 9:58 am
Forum: Tricks 'n' Tips
Topic: OpenB3D 3D DLL framework include file for PureBasic
Replies: 23
Views: 7722

Re: OpenB3D 3D DLL framework include file for PureBasic

Question... Why use this library instead of the integrted one (Ogre3D)? Hi Ogre and other lib have their advantages and disadvantages : - Ogre is not bad, but the export in .msh is not easy with blender, the materials and shaders are complexe. But the integrated functions are very usefull. - OpenB3...
by [blendman]
Sat Jan 22, 2022 9:47 am
Forum: Tricks 'n' Tips
Topic: MP3D goes OpenGl V.0.00.07
Replies: 9
Views: 3893

Re: MP3D goes OpenGl V.0.00.07

Hi Thank you very much for this great engine ! :) I have tested all your examples and they works fine (except loadmesh() in.x ! That's very good. The loadmesh() doesn't works for the moment. Here the result in mp3d : https://www.dracaena-studio.com/dev/purebasic/loadmesh_x_bug.jpg And what I should ...
by [blendman]
Fri Jan 21, 2022 10:40 am
Forum: Tricks 'n' Tips
Topic: OpenB3D 3D DLL framework include file for PureBasic
Replies: 23
Views: 7722

Re: OpenB3D 3D DLL framework include file for PureBasic

Hi Thank you very much for your code Axeman ! It's great and it works fine (compiled with pb5.73 x64). 1- i want to rotate the cube contentiously by changing the value of rot at the y position, but the cube does not rotate until i move the window and force it to repaint then it will rotate for a few...
by [blendman]
Fri Oct 15, 2021 9:00 am
Forum: Coding Questions
Topic: HSLColor (change hue color)
Replies: 4
Views: 1504

Re: HSLColor (change hue color)

Hi

Sorry to answer so late. I looked at your links, and thank you very much, I found codes that work very well.

Cheers !
by [blendman]
Tue Sep 28, 2021 1:37 pm
Forum: Coding Questions
Topic: HSLColor (change hue color)
Replies: 4
Views: 1504

HSLColor (change hue color)

Hi

I have search in the search, but "hue" or "hsl" is only 3 words, so they are ignored by search ^^.

Do you know if there is some code to change the HUE/saturation colors of an image (or a rgb color()) ?

Thank you :)
by [blendman]
Sun Sep 19, 2021 12:54 pm
Forum: Coding Questions
Topic: Vector drawing : rotation and parenting
Replies: 4
Views: 1328

Re: Vector drawing : rotation and parenting

Hi

Thank you very much !!
I have tried your code and it works fine !
Now, I have to try to understand how to adapt it in my code ;)

Thanks very much again.
by [blendman]
Fri Sep 17, 2021 1:31 pm
Forum: Coding Questions
Topic: Vector drawing : rotation and parenting
Replies: 4
Views: 1328

Vector drawing : rotation and parenting

Hi I would like to create a "bones system" for animation, in my software Cartoon (Which use the 2D vector drawing). So, I would like that a shape (box, circle, curve, line...) get some parameters from its "parent" and give some parameters to its children : - position (x,y) - rota...
by [blendman]
Mon Sep 13, 2021 2:06 pm
Forum: Applications - Feedback and Discussion
Topic: Cartoon ! (Vector drawing and animation)
Replies: 25
Views: 24869

Re: Cartoon ! (Vector drawing and animation)

Hi I have send a new version of my drawing tool on Github ;) (sources). https://github.com/blendman/CartoonAnimation News : - clip layer (Background clip, border, great to create case for comics :)) - we can use layer position (we can now create shape even if a layer position isn't 0,0) - we can sca...
by [blendman]
Thu Aug 26, 2021 8:43 am
Forum: Applications - Feedback and Discussion
Topic: Cartoon ! (Vector drawing and animation)
Replies: 25
Views: 24869

Re: Cartoon ! (Vector drawing and animation)

HI I have send the new sources to github (last version 0.37.2). https://github.com/blendman/CartoonAnimation New features and improvements : - export in SVG (not finished, but it works fine in most of cases (the FX of shapes aren't exported for the moment) : export box, ellipse, line (polyline and s...
by [blendman]
Wed Aug 25, 2021 4:25 pm
Forum: Coding Questions
Topic: Save SVG
Replies: 1
Views: 682

Save SVG

Hi I have found some codes to loadSVG, but I haven' t found a code to save an SVG document. So, I have try to start a SaveSVG() procedure. It doesn't cover all the SVG features, but it work for the main vectordrawing lib features : - shape : box, circle, ellipse, line, curve, text - Paint : fill, st...
by [blendman]
Wed Jul 28, 2021 10:00 am
Forum: Tricks 'n' Tips
Topic: Vectordrawing : Find a point in a path at mouse position
Replies: 0
Views: 2417

Vectordrawing : Find a point in a path at mouse position

Hi I have search how to find a point on a path. I think it could interest someone :) So here is the code (based on the PathPointAngle() example ) : Structure sPoint x.w y.w EndStructure Global Dim CopyPathLength.SPoint(0) Procedure EventCanvas(update=0) Static k If StartVectorDrawing(CanvasVectorOut...
by [blendman]
Wed Jul 28, 2021 9:48 am
Forum: Coding Questions
Topic: Find the position of points
Replies: 11
Views: 2016

Re: Find the position of points

Hi I have seen the example PAthPointX()/pathpointY() and pathpointAngle(). Maybe we can use pathpointAngle() to find the angle in C, and do the transformation with the angle that we get in C : AngleInC = PathpointAngle(pathlength()) newangle = radian(90 - angleInC) DistanceForD = Sqr(Pow(Cx-Ex, 2) +...
by [blendman]
Tue Jul 27, 2021 5:17 pm
Forum: Coding Questions
Topic: Find the position of points
Replies: 11
Views: 2016

Re: Find the position of points

STARGÅTE wrote: Tue Jul 27, 2021 1:13 pm And why the first picture of the second line "seems good"?
I think it seems good because there not too much difference in distance between all points.


But, I should try with several drawings to see if this transformation (calcul) works for most of case :).