engine 3D simple

Everything related to 3D programming
User avatar
SPH
Enthusiast
Enthusiast
Posts: 571
Joined: Tue Jan 04, 2011 6:21 pm

engine 3D simple

Post by SPH »

Hi all,
who would know if there is a basic 3D engine (OpenGL or not) in PB? Ultra basic: just a triangle that can rotate on the 3 axes and the same for the camera. No shadows, textures, etc... SIMPLE

Thx A Lot :idea:

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: engine 3D simple

Post by Tenaja »

The documentation is your friend.
https://www.purebasic.com/documentation/
User avatar
SPH
Enthusiast
Enthusiast
Posts: 571
Joined: Tue Jan 04, 2011 6:21 pm

Re: engine 3D simple

Post by SPH »

Excuse me: I was talking about an engine completely independent of Ogre and which would have been coded in PB.
A simple routine rotating a triangle (no texture, no light, etc.)
A routine using Sin and Cos which create 3D. :idea:

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
SMaag
Enthusiast
Enthusiast
Posts: 325
Joined: Sat Jan 14, 2023 6:55 pm
Location: Bavaria/Germany

Re: engine 3D simple

Post by SMaag »

See Draw3D from Stargate
https://www.purebasic.fr/german/viewtop ... 3d#p305196

and take a look at my Vector libraries where I started to implement the Vector and Matrix functions in SSE Assembler and classic code!
But it is not ready developed.

https://github.com/Maagic7/PureBasicFra ... VECTORd.pb
https://github.com/Maagic7/PureBasicFra ... VECTORf.pb

and here the Demo from Stargate modified to test my Vector library
https://github.com/Maagic7/PureBasicFra ... main/Demos Demo3D_with_VECf.zip
Post Reply