3D point and line graphs in PB

Just starting out? Need help? Post your questions and find answers here.
hgcoon
New User
New User
Posts: 9
Joined: Wed Feb 19, 2014 11:09 pm

3D point and line graphs in PB

Post by hgcoon »

Hi all,
I have never used the 3D pkg in PureBasic but now I find that I'd like to make 3D graphs (point and line). Is PB 3D the way to go? or must I break out the matrix books and see if I can work out how to pitch and yaw such graphs after they are plotted? I searched without result for simple rotating cube code and the like. I can do these graphs easily in Mathematica but the interface with PB seems difficult -- maybe impossible.
Are there code examples buried in the PB archives? If not, can you suggest a place for me to start without using OpenGL etc.?
Thanks for your thoughts as always, hgc
T4r4ntul4
Enthusiast
Enthusiast
Posts: 119
Joined: Tue Mar 04, 2014 4:15 pm
Location: Netherlands

Re: 3D point and line graphs in PB

Post by T4r4ntul4 »

hi, its not impossible.
3d points here: http://www.purebasic.fr/english/viewtop ... oint+cloud
and 3d lines example can you find in the examples folder named: CreateLine3D.pb

(edit: btw post 3D questions in the 3D forum. the more like you get answers there instead of here.)
Post Reply