comp.lang.ada
 help / color / mirror / Atom feed
* Ann: GLOBE_3D Release 2016-07-05 - "Blender edition"
@ 2016-07-06  1:54 gautier_niouzes
  2016-07-08 23:35 ` Aurele
  2016-07-09  2:20 ` Aurele
  0 siblings, 2 replies; 4+ messages in thread
From: gautier_niouzes @ 2016-07-06  1:54 UTC (permalink / raw)


GLOBE_3D is a GL Object Based 3D engine realized with the Ada programming language. 
URL: http://globe3d.sf.net 

Latest additions:

* Use of Generic Image Decoder (GID) in GL.IO; now most image formats are supported for textures and other bitmaps to be used with GLOBE_3D (or any GL app)
* New Wavefront format (.obj / .mtl) importer
* Doom 3 / Quake 4 map importer more complete
* Unified GNAT project file (.gpr), allowing to selected the target Operating System (Windows, Linux, Mac) and compilation mode (fast, debug, small) for demos, tools, etc.
* Project file for ObjectAda 9.1+ updated

The first two points facilitate the import of 3D models from software such as Blender.
Here is an example: http://globe3d.sf.net/g3d/futj.jpg
Coincidentally, the Wavefront file format so simple that you can also write 3D models "by hand" in that format.
An example made in an Excel sheet is provided along with the importer, in the ./tools/wavefront directory.

Enjoy!
_________________________ 
Gautier's Ada programming 
http://gautiersblog.blogspot.com/search/label/Ada 
NB: follow the above link for a valid e-mail address 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ann: GLOBE_3D Release 2016-07-05 - "Blender edition"
  2016-07-06  1:54 Ann: GLOBE_3D Release 2016-07-05 - "Blender edition" gautier_niouzes
@ 2016-07-08 23:35 ` Aurele
  2016-07-09  0:21   ` gautier_niouzes
  2016-07-09  2:20 ` Aurele
  1 sibling, 1 reply; 4+ messages in thread
From: Aurele @ 2016-07-08 23:35 UTC (permalink / raw)


Wow Gautier, lots of great work there. But the biggest difficulty I have, atm anyway, is most of it seems undocumented (maybe I'm wrong?). You also did lots of rework on the GL file with new and very cool stuff which I assume is your version of OpenGL. The types and functions are for most part alien to me in your version.

Anyway, I'll keep at it but I'm  especially by your Generic Image Decoder (GDI) package. Very cool !


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ann: GLOBE_3D Release 2016-07-05 - "Blender edition"
  2016-07-08 23:35 ` Aurele
@ 2016-07-09  0:21   ` gautier_niouzes
  0 siblings, 0 replies; 4+ messages in thread
From: gautier_niouzes @ 2016-07-09  0:21 UTC (permalink / raw)


Le samedi 9 juillet 2016 01:35:11 UTC+2, Aurele a écrit :
> Wow Gautier, lots of great work there.

Thanks! Note that I'm note alone working on the project: Rod Kay has set up a unified GNAT project file that facilitates tremendously the portability and also the addition of other projects using that 3D framework. Moreover the build phase is a lot faster.

> But the biggest difficulty I have, atm anyway, is most of it seems undocumented (maybe I'm wrong?).

No, you are right alas. However there is a short guide (A (too) short guide about how GLOBE_3D works) in ./globe_3d_info.html. Then having a look how a cube is built and displayed in ./demo/mini.adb will already bring you most of the know-how - a few loops later, and you have your Minecraft clone ;-).
Don't hesitate to tell me what seems obscure to you. It's always difficult to guess...

> You also did lots of rework on the GL file with new and very cool stuff which I assume is your version of OpenGL. The types and functions are for most part alien to me in your version.

Do you mean the gl.ads file ? The changes over the last 10 years or so are less terrible than that... There are 6 smallish changes since the first commit on SF:
https://sf.net/p/globe3d/code/343/log/?path=/bindings/gl.ads
One is a 1-liner fix, one is a style-check pimping (casing & white space corrections), and so on.

> Anyway, I'll keep at it but I'm  especially by your Generic Image Decoder (GDI) package. Very cool !

Thx!
From the G(raphics) to the A(udio): are you still providing / maintaining OpenALAda ? It would be interesting to combine both things...

Gautier


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ann: GLOBE_3D Release 2016-07-05 - "Blender edition"
  2016-07-06  1:54 Ann: GLOBE_3D Release 2016-07-05 - "Blender edition" gautier_niouzes
  2016-07-08 23:35 ` Aurele
@ 2016-07-09  2:20 ` Aurele
  1 sibling, 0 replies; 4+ messages in thread
From: Aurele @ 2016-07-09  2:20 UTC (permalink / raw)


"Are you still providing / maintaining OpenALAda ? It would be interesting to combine both things... "

Well OpenALAda still runs but its no longer hosted, it did not get that much attention. I thought you already had a copy of it.

More recently, I implemented a kind of replacement for GLUT in Ada.  I think it has its pluses over GLUT and uses newer 'RawInput' interfaces (on Windows XP, 7 and 10). I can send you a simple demo and specs if you like.  In fact, I was trying to replace GLUT in your demo program with my newer interface but hit a wall when I failed to recognize the GL (OpenGL++) stuff in your code.  I'll keep at it but I'm currently having difficulty binding the GL libraries you provided.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-09  2:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-06  1:54 Ann: GLOBE_3D Release 2016-07-05 - "Blender edition" gautier_niouzes
2016-07-08 23:35 ` Aurele
2016-07-09  0:21   ` gautier_niouzes
2016-07-09  2:20 ` Aurele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox