Graphics3D gadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Graphics3D gadget

Post by applePi »

the following suggestion are for the scientific graphics easy plotting
every one knows that purebasic now is almost the only player in the basic language arena for 64Bit and multi platform support and other infinite features.
the purebasic have a great 3D functions to plot 3D curves, but it is hidden in the complexity, and it is apparently unknown to many users and finding it difficult to use. so i suggest a new gadget such as Graphics3D gadget customizable in color/size/position. and somehow resembles the opengl gadget but it is using here the Ogre3D engine.
we can plot on it using usual names such as Plot3D, and Line3D, ... the gadget may not need explicit init3D engine, or CreateMesh, it will prepare everything by itself.
the plotted 3D point can be normal or have more size, the point can be a point sprite using a picture. i have posted here an example
http://www.purebasic.fr/english/viewtop ... 50#p431525 with a very big help from Samuel.
i can see the merchant who want to plot his points as banana and rose, or a student in a school smiling for his creation of points represented as apples and oranges in space with 3D coordinates.
the gadget should accept mouse and keyboard to rotate and zoom the easy way
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Graphics3D gadget

Post by IdeasVacuum »

....sounds more like a complete app than just a Gadget ApplePi - something I would think of asking your advice about if I wanted to write one. Why not make one as a project, a .pbi?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Re: Graphics3D gadget

Post by applePi »

IdeasVacuum:
sounds more like a complete app than just a Gadget
it is only representing a tiny part of the engine, such as MeshVertexPosition, createMesh, AddSubMesh, SetMeshData,
it is for the majority who find it too clumsy to plot a 3d data. on the other hand how a new user or a general users will find that MeshVertexPosition is for plotting a 3d point , let alone the problem of learning the ideas of a mesh and using SetMeshData or GetMeshData. it is not easy to unite different functions to plot just a simple one point in space !!.
Why not make one as a project, a .pbi?
i have no idea how to map a function like Plot3D to the purebasic function meshVertixPosition. this is a wrapper . and i am looking for the whole universal users now and in the future.
once this possibility are true you will find it used by millions instead of the current <= 10

PS:this is not an attempt to downgrade the importance of the 3D engine, it can be considered an appetite, and a beautifying very small part of the engine for the sake of encouraging the others to plot naturally using purebasic. this will not touch the MeshVertexPositions and its sisters since this is the skull (the ugly skull but the origin ,this is the life) and the requested features is the skin with plastic.

the pbi with subroutines will be lost in the dusk the next day and not like genuine functions
Post Reply