Opengl in Visual Prolog 6.3x (V0.7) and updated for VIP 7ce

Share Tips, Code Samples, etc. with the Visual Prolog community.
Gildas Menier
VIP Member
Posts: 78
Joined: 8 Jun 2004 23:01

Opengl in Visual Prolog 6.3x (V0.7) and updated for VIP 7ce

Unread post by Gildas Menier » 9 Jan 2006 22:04

The prj is located in VProlog/ogl.

v0.1 : first attempt to add opengl to Visual Prolog
v0.2 : Yuri fixed the drawing issue and the opengl control can now draw in its own area.
v0.3 : fixed the refresh bug + removed the close context problem

v0.4 : - added draw list support
- added texture support
- envmap support
- added glExt* predicates to manage the loading of .bmp textures (must have a power of 2 as size)
- able to load well formed alias .obj meshes (supports only plain "f V/UV/Normal")

http://www.visual-prolog.com/vipdownloa ... ngl_04.zip

Best regards

Gildas
Attachments
openglv04.jpg
openglv04.jpg (36.99 KiB) Viewed 7967 times
Last edited by Gildas Menier on 11 Aug 2006 10:35, edited 6 times in total.

ferdrg
Posts: 1
Joined: 7 Jun 2005 20:40

Unread post by ferdrg » 11 Jan 2006 1:28

Fernando Garza

Gildas Menier
VIP Member
Posts: 78
Joined: 8 Jun 2004 23:01

Unread post by Gildas Menier » 20 Apr 2006 10:58

Opengl for visual prolog updated to 0.4.

Best regards

Gildas

Paul Cerkez
VIP Member
Posts: 388
Joined: 6 Mar 2000 0:01

Unread post by Paul Cerkez » 20 Apr 2006 13:21

great work Gildas, love it.
AI Rules!
P.

Gildas Menier
VIP Member
Posts: 78
Joined: 8 Jun 2004 23:01

Unread post by Gildas Menier » 4 May 2006 21:02

OpenGl for Visual Prolog 6.3 + Vp_scene. Version 0.7. Updated for VIP7 on the site.

0.7
added fog support + some light support + some minor bugs fixed
improved vp_scene : for simple scene if you do not want to learn OpenGL, this should make the use of 3D simplier.
added 2 new demos (cow and animated hanoi 3D) to show the package vp_scene and how display 3D 'on the fly" during computation.

The hanoi demo requires the multithread package, only available (I think) in CE.

http://www.arsaniit.com/vp_tools

download + some (fast) comments in '3D' (beware 3Mo download - because of the pictures)

Regards

Gildas
Attachments
hanoicow.jpg
hanoicow.jpg (13.29 KiB) Viewed 7878 times

Post Reply