Menu

3d Axes

Help
tambok
2018-07-18
2018-09-11
  • tambok

    tambok - 2018-07-18

    Hallo everyone,

    i want to make 3d coordinat axes cartesian. But i donno how to?
    is there sample that could i learn.
    )

    i use lazarus 1.8.4 with glscene 1.4. thanks

     
  • Jerome.D (BeanzMaster)

    Hi tambok just change the Camera Direction and Up properties

    Direction
    x = 0
    y = 1
    z = 0

    Up
    x = 0
    y = 0
    z = 1

     
  • tambok

    tambok - 2018-07-18

    Hi Jerome,

    Yes, i did it.
    But how to make divider/ruler with numbers and axis font (like X, Y and Z at arrowheads).
    Thank you
    TB

     
  • Jerome.D (BeanzMaster)

    Hi tambok
    See the attached sample, now just change Axis by three TGLArrowline object and set camera like you want.

    Shit+Left mouse button or right mouse button to zoom
    Left Mouse Button to move around

    AxisRuler sample

     

    Last edit: Jerome.D (BeanzMaster) 2018-07-18
  • tambok

    tambok - 2018-07-20

    Thankyou Jerome

     
  • tambok

    tambok - 2018-09-06

    Hai Jerome,
    Thank you for your sample file
    following the codes, i succeed to add line axis.


     

    Last edit: tambok 2018-09-06
  • Jerome.D (BeanzMaster)

    Hi Tambok your welcome nice job :)

     
  • Jerome.D (BeanzMaster)

    Can you attached your sample code, i'll add it in GLScene's sample

    Thanks

     
  • tambok

    tambok - 2018-09-09

    ofcourse Jerome.
    hier, i make it as a sample, but these codes must be optimized.
    Hier's the file.

     

    Last edit: tambok 2018-09-09
  • Jerome.D (BeanzMaster)

    Hi Tambok,

    thanks, i'll take a look. I'll prepare soon the next update for Lazarus branch

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.