Recent

Author Topic: Graphic Engine  (Read 8338 times)

owndante

  • New member
  • *
  • Posts: 7
Graphic Engine
« on: January 12, 2011, 10:35:46 am »
Hello,

I want to create a CAD app but I dont know which Lazarus compatibile graphic engine is better for this task.
In the begining just 3D line, circle, arc etc. later a want to use also 3D solids.

             GlScene
             Kambi
             TOpenGl component

Let me know if you know something else suitable for this task.

Or is there a possibility to use Blender with Lazarus?

Thanks

Leledumbo

  • Hero Member
  • *****
  • Posts: 8273
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Graphic Engine
« Reply #1 on: January 12, 2011, 11:10:03 am »
Kambi is actually a game engine, so you probably don't want to use it since it would give big overhead. GLScene is powerful (it has a lot of components and you can see them at design time) but it's kinda heavy, no problem if your computer has a plenty of RAM and quite good processor. TOpenGLContext is a plain component (say... a canvas) that allows you to write any OpenGL thing in it. Nothing more.

owndante

  • New member
  • *
  • Posts: 7
Re: Graphic Engine
« Reply #2 on: January 12, 2011, 02:54:58 pm »
Thanks for the info

zamtmn

  • Sr. Member
  • ****
  • Posts: 378
Re: Graphic Engine
« Reply #3 on: January 12, 2011, 03:47:24 pm »
Simple unfinished CAD program written by LAZARUS - ZCAD
svn - http://svn.shamangrad.net/zcad/trunk/
exe (WinXP) - http://download.shamangrad.net/zcad/cad.7z

BlueIcaro

  • Hero Member
  • *****
  • Posts: 604
Re: Graphic Engine
« Reply #4 on: January 12, 2011, 04:31:46 pm »
Did you see allegro?

http://allegro-pas.sourceforge.net/

/BlueIcaro
Remenber, the lazarus wiki is your friend: http://wiki.lazarus.freepascal.org/Main_Page
General questions (several lenguages) http://wiki.lazarus.freepascal.org/

PAEz

  • New Member
  • *
  • Posts: 29
Re: Graphic Engine
« Reply #5 on: January 12, 2011, 07:15:37 pm »
If your going to do a cad program then your going to want a vector graphics library.
Heres two good ones.....
http://code.google.com/p/luipack/source/browse/trunk/cairo/
or in the lazarus directory in components look for aggpas.
Ive never used either of these pascal implementations but I can tell you their both based on two very good library's for this task, cairo and antigrain...
http://www.cairographics.org/
http://www.antigrain.com/
Lazarus 0.9.29  Windows XP sp3
E6400 2gig ram 7900GTX 512meg

I have a shocking memory and am a crap coder, so take everything I say with a grain of doubt

zamtmn

  • Sr. Member
  • ****
  • Posts: 378
Re: Graphic Engine
« Reply #6 on: January 13, 2011, 07:26:54 am »
Quote
In the begining just 3D line, circle, arc etc. later a want to use also 3D solids.
2d graphics library will not work. OpenGL and components based on it - a good choice

 

TinyPortal © 2005-2018