SergioFeitoza Posted June 9, 2020 Share Posted June 9, 2020 Is it possible to buy the Unigui source code of some components? I am thinking to write some components of the 3D library GLScene to use with Delphi + Unigui. GLScene is a free library. Do you know if any 3D library is available with the source code? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 10, 2020 Share Posted June 10, 2020 11 hours ago, SergioFeitoza said: Do you know if any 3D library is available with the source code? Hello, JS library? Quote Link to comment Share on other sites More sharing options...
SergioFeitoza Posted June 10, 2020 Author Share Posted June 10, 2020 3 hours ago, Sherzod said: Hello, JS library? Yes. Actually I am trying to follow a suggestion I received last year about how to have a kind of "GLScene for Unigui". Please check this text If you have the source of unigui i think the better should be make a wrapper of TGLSceneViewer like this" Type TGLUniguiSceneViewe = Class(TUniGuiControl) private FGLSCeneViewer : TGLSceneViewer; public // or in protected i don't say procedure Paint; override; // Put GLsceneViewer paint in property GLSceneViewer : TGLSceneViewer Read FGLSceneViewer; end; or something like that (i think is the better way) Type TGLUniguiSceneViewer = Class(TUniGuiPanel) private FGLSCeneViewer : TGLSceneViewer; procedure CreateGLSceneViewer; public // or in protected i don't say constructor Create(AOwner: TComponent); override; published property GLSceneViewer : TGLSceneViewer Read FGLSceneViewer; end; procedure TGLUniguiSceneViewer.CreateGLSceneViewer; begin FGLSCeneViewer := TGLSceneViewer.Create(Self); FGLSCeneViewer.Align := alClient; FGLSCeneViewer.Parent := Self; FGLSCeneViewer.Visible := True; end; constructor TGLUniguiSceneViewe.Create(AOwner: TComponent); begin inherited Create(AOwner); SetSubComponent(True); CreateGLSceneViewer; end; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.