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
Hi tambok just change the Camera Direction and Up properties
Direction x = 0 y = 1 z = 0
Up x = 0 y = 0 z = 1
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
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
Thankyou Jerome
Hai Jerome, Thank you for your sample file following the codes, i succeed to add line axis.
Hi Tambok your welcome nice job :)
Can you attached your sample code, i'll add it in GLScene's sample
Thanks
ofcourse Jerome. hier, i make it as a sample, but these codes must be optimized. Hier's the file.
Hi Tambok,
thanks, i'll take a look. I'll prepare soon the next update for Lazarus branch
Log in to post a comment.
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
Hi tambok just change the Camera Direction and Up properties
Direction
x = 0
y = 1
z = 0
Up
x = 0
y = 0
z = 1
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
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
Last edit: Jerome.D (BeanzMaster) 2018-07-18
Thankyou Jerome
Hai Jerome,
Thank you for your sample file
following the codes, i succeed to add line axis.
Last edit: tambok 2018-09-06
Hi Tambok your welcome nice job :)
Can you attached your sample code, i'll add it in GLScene's sample
Thanks
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
Hi Tambok,
thanks, i'll take a look. I'll prepare soon the next update for Lazarus branch