Page 1 of 1

engine 3D simple

Posted: Tue Nov 21, 2023 12:46 am
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:

Re: engine 3D simple

Posted: Tue Nov 21, 2023 4:00 am
by Tenaja
The documentation is your friend.
https://www.purebasic.com/documentation/

Re: engine 3D simple

Posted: Tue Nov 21, 2023 7:33 am
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:

Re: engine 3D simple

Posted: Sat Nov 25, 2023 12:11 pm
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