SergioFeitoza Posted August 11, 2020 Share Posted August 11, 2020 Do any of you know about some published site using games or even animations, using Unigui + Delphi ? If you know please indicate me the link. Thanks 1 Link to comment Share on other sites More sharing options...
Fred Montier Posted August 12, 2020 Share Posted August 12, 2020 Any thing in Jscript should do the job. Already published an example with simple animating that work very well with image and panel inside unigui. That is the basics. Link to comment Share on other sites More sharing options...
SergioFeitoza Posted August 12, 2020 Author Share Posted August 12, 2020 Hi Fred. Now taht my code is working I will go to the 3D views I mentioned before. Before going to JS, that I would have to study a lot, I will try to do a conversion of my GLScene sources If I succeed to put in the browser , simply the edges of a single cube I think I will do it. I will post here Regards Link to comment Share on other sites More sharing options...
Mehmet Emin Posted August 13, 2020 Share Posted August 13, 2020 Hi Sergio, If you prefer the pascal language to target internet browser/javascript environments, there are already wrappers for GLScene in pascal language for this, they compile/transpile your code to javascript. So uniGUI has nothing to do there. If one day uniGUI decides to integrate one of those (for example pas2js) to uniGUI then it would be a beautiful thing. Link to comment Share on other sites More sharing options...
SergioFeitoza Posted August 13, 2020 Author Share Posted August 13, 2020 Hi Mehmet … Thanks for the info …. , Yes, I prefer the pascal language to target internet browser. If I have the GLScene part of my code working with my Delphi + Unigui code it will become 100% ready as it is in VCL (figure below). I am looking for a wrapper for GLScene in pascal language for this. Actually, I posted, in the last 2 years, suggestions for this in GLScene forum. As I could not find I will try to do something by myself. An open code for doing the first steps would be good because I have some experience with GLScene. I collected some material about how to compile/transpile pascal codes to javascript (pas2js) . However I did not find a wrapper with free code. Can you give an example of existing wrappers for GLScene ? The references I have up to now listed here. Next wek I will start to read them in more details to see what I can get inside. PAS2JS https://github.com/Kryuski/pas2js-for-delphi SCENEJS http://scenejs.org/ GLGE http://www.glge.org/ WEBGL https://www.delphitools.info/2012/05/31/webglscene-something-is-brewing-in-the-lab/ SMART PASCAL https://en.wikipedia.org/wiki/Smart_Pascal Any additional information is very welcome. Link to comment Share on other sites More sharing options...
Mehmet Emin Posted August 13, 2020 Share Posted August 13, 2020 20 minutes ago, SergioFeitoza said: However I did not find a wrapper with free code. Can you give an example of existing wrappers for GLScene ? I don't know if they are free code (probably not). But have a look at this link, it will give you a good start: https://www.delphitools.info/2012/05/31/webglscene-something-is-brewing-in-the-lab/ Link to comment Share on other sites More sharing options...
Mehmet Emin Posted August 13, 2020 Share Posted August 13, 2020 To be more precise, this one has the wrapper (commercial) https://en.wikipedia.org/wiki/Smart_Pascal Link to comment Share on other sites More sharing options...
Mehmet Emin Posted August 13, 2020 Share Posted August 13, 2020 But since pas2js is open source I would go that way and develop the wrapper yourself. Link to comment Share on other sites More sharing options...
SergioFeitoza Posted August 13, 2020 Author Share Posted August 13, 2020 30 minutes ago, Mehmet Emin said: But since pas2js is open source I would go that way and develop the wrapper yourself. The three ones are useful. Next week I start to go deep on this to understand better. I knew about WebGl but not about Smart_Pascal. I will try to develop by myself . The learning time with the other options may be longer than try to do based in GLScene that I know well several of the unis Regards and Thanks I will post here the advances Link to comment Share on other sites More sharing options...
Phxtecno Posted March 22, 2023 Share Posted March 22, 2023 Hi Sergio, did you any progress with the attempt to bring GLScene in UniGui ? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now