Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
3D component palette for lazarus as in Delphi (DeleD?)
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
FAQ
Wiki
Bugtracker
Packages
IRC channel
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: 3D component palette for lazarus as in Delphi (DeleD?) (Read 2053 times)
apeoperaio
Jr. Member
Posts: 81
3D component palette for lazarus as in Delphi (DeleD?)
«
on:
January 11, 2017, 09:10:18 am »
Delphi 10 (DX) offers some 3D visual components (
http://docwiki.embarcadero.com/RADStudio/Seattle/en/FireMonkey_3D
):
- TViewPort3d (something like lazarus TOpenGLControl?);
- 3D scene components: TCamera, Tlight, TDummy and TProxyObject;
- a set of 3D Shapes components (TPlane, TDisk, TCube, TMesh, TSphere...);
- a set of 3D Layers components;
- a set of Materials components.
There is something similar in Lazarus?
I know there is GLScene as a separated package, I was just wondering if there is the chance to introduce these 3D components in lazarus existing component palette.
DeleD has something similar.
andrea
Logged
Thaddy
Hero Member
Posts: 5760
Re: 3D component palette for lazarus as in Delphi (DeleD?)
«
Reply #1 on:
January 11, 2017, 09:16:25 am »
Yes. Install GLScene
Logged
recommends {$macro on}{$define Silly:=ObjFpc}
JuhaManninen
Global Moderator
Hero Member
Posts: 3355
I like bugs.
Re: 3D component palette for lazarus as in Delphi (DeleD?)
«
Reply #2 on:
January 11, 2017, 11:29:54 am »
Quote from: Thaddy on January 11, 2017, 09:16:25 am
Yes. Install GLScene
Exactly. It registers its components to the existing component palette, just as you wished.
Unfortunately GLScene seems to support only Windows. Somebody should fork it and make a cross-platform version.
«
Last Edit: January 11, 2017, 11:41:41 am by JuhaManninen
»
Logged
marcov
Global Moderator
Hero Member
Posts: 6093
Re: 3D component palette for lazarus as in Delphi (DeleD?)
«
Reply #3 on:
January 11, 2017, 12:37:42 pm »
Firemonkey is a different thing altogether, but afaik newer Delphi's even have directwrite components in the VCL.
I assume it is possible, but somebody simply has to find or create direct* headers, maintain them, and work on the components.
Logged
Cyrax
Hero Member
Posts: 574
Re: 3D component palette for lazarus as in Delphi (DeleD?)
«
Reply #4 on:
January 11, 2017, 06:19:44 pm »
Here is few links for pascalized DirectX headers:
http://clootie.ru/delphi/download_dx92.html
https://sourceforge.net/projects/delphi-dx9sdk/
http://directxfordelphi.blogspot.com/
http://www.jsbmedical.co.uk/DirectXForDelphi/
Logged
Akira1364
Sr. Member
Posts: 335
Re: 3D component palette for lazarus as in Delphi (DeleD?)
«
Reply #5 on:
January 15, 2017, 04:32:35 am »
One more link to add to the list Cyrax provided:
https://github.com/CMCHTPC/DelphiDX12
Despite the name, it is fully FPC compatible, and definitely the most up-to-date DirectX header I am aware of.
I would also agree that GLScene might be what you're looking for. (Fun fact: FireMonkey (the Delphi component you referenced) is actually itself based on a FORK of GLScene, which was called DXScene (and was really just a stripped down version of GLScene that used DirectX 9 instead of OpenGL as a rendering backend.) To be quite honest, as well, I would say that the current revision of FireMonkey has
far
from caught up to where the current revision of GLScene is today, in terms of features/e.t.c.
You might also want to try out the Castle Game Engine, which is extremely robust (and
much
more modern "internally" than GLScene... far less slow GLBegin/GLEnd stuff), but is also perhaps a little less easy to get started with due to the lower number of "visual" components it provides.
https://github.com/castle-engine/castle-engine
Logged
apeoperaio
Jr. Member
Posts: 81
Re: 3D component palette for lazarus as in Delphi (DeleD?)
«
Reply #6 on:
January 16, 2017, 10:52:56 am »
thanks a lot for all hints and suggestions
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
3D component palette for lazarus as in Delphi (DeleD?)
Recent
macOS 32-bit app warning
by
Phil
[
Today
at 02:34:41 am]
Strange problem
by
HeavyUser
[
Today
at 01:53:27 am]
CAD program written in La...
by
benohb
[
Today
at 01:32:13 am]
Umlaut UTF-8 Question
by
guitarmang
[
Today
at 01:27:44 am]
Ubuntu Launcher not using...
by
jamie
[
Today
at 12:57:08 am]
how to hide this in mac o...
by
jamie
[
Today
at 12:25:20 am]
Operator += not working w...
by
Jurassic Pork
[
Today
at 12:19:16 am]
Advise on how to create a...
by
jamie
[
Today
at 12:16:46 am]
how can i show two digit ...
by
Bart
[April 19, 2018, 11:00:54 pm]
Deleting selection
by
wp
[April 19, 2018, 10:39:36 pm]