Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
7 crawler(s) on-line.
 162 guest(s) on-line.
 1 member(s) on-line.


 Hypex

You are an anonymous user.
Register Now!
 Hypex:  19 secs ago
 DiscreetFX:  49 mins ago
 klx300r:  57 mins ago
 Matt3k:  2 hrs 32 mins ago
 agami:  4 hrs 3 mins ago
 amigasociety:  4 hrs 25 mins ago
 matthey:  5 hrs 10 mins ago
 RobertB:  5 hrs 27 mins ago
 Rob:  5 hrs 52 mins ago
 number6:  6 hrs 57 mins ago

Software News   Software News : MiniGL V1.5. MiniGL gets display lists.
   posted by Hans on 14-Nov-2007 1:33:08 (13742 reads)
I'm pleased to announce that I have updated MiniGL to add display lists, and made a few other improvements too. MiniGL is a 3D API which is compatible to OpenGL(tm). It implements a subset of that API and was designed for speed, therefore it directly interfaces with Warp3D. This also means that there is currently no software mode.

The file is currently in the os4depot upload queue: http://os4depot.net/download.php?file=queue/minigl.lha.

I'd appreciate it if everyone would test this version, particularly developers. Any bug-reports, feature requests, or other comments, just send them to me (tokens of appreciation also accepted, but not necesary ).

Update: a new version (V1.5.1) is available on os4depot.



Changes in this version
-----------------------
- MiniGL now supports display lists
- GL_NORMALIZE support added
- Added a watchdog timer to the smart locking mode (MGL_LOCK_SMART). Audio
should now playback smoothly when running OpenGL applications.
NOTES:
- Only works if "Interrupt=Yes" is set in the Radeon monitor tooltypes
- This has only been tested on a Radeon 9000 card
- This cannot guarantee that audio stuttering won't occur.
- Fixed a bug that would cause only the first quad in a quad-strip to render
(resulting in missing surfaces)
- Fixed flat shading of tri-strips and quad-strips

Credits:
--------

Authors:
Hans-Jörg Frieden
Thomas Frieden

Contributions:
Hans de Ruiter (version 1.5)
Christian "Surgeon" Michael
Massimiliano Tretene
Joe Sera
Frank Wille
Steffen Häuser
Kris Collingwood
    

STORYID: 4060
Related Links
· More about Software News
· News by Hans


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 | 3 | 4 )

PosterThread
NutsAboutAmiga 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 18:34:18
#21 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12818
From: Norway

@lionstorm

Quote:

is there a benefit for existing W3D hyperion games ?


No I don’t think so; the new features are needed for new ports of newer games, programs and demos.

Anyway MiniGL is a upper layer to W3D, and there for does not effect W3D stuff, how ever if you where taking about MiniGL Hyperion games, then that might be different, I don’t know if the improvements will be automatically used or if the game will need to be rewritten to take use of the new feature, well I don’t really know what does.


_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Hans 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 18:41:03
#22 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5067
From: New Zealand

@lionstorm
Quote:
is there a benefit for existing W3D hyperion games ?


No. Warp3D programs don't use MiniGL. Also, old MiniGL programs (i.e., and 68k ones) don't use the minigl.library, but have MiniGL statically linked; these won't use the new version either (plus they won't use display-lists anyway). This update really is for new programs.

Hans


_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
https://keasigmadelta.com/ - More of my work.

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 18:46:03
#23 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12818
From: Norway

@All

http://www.lighthouse3d.com/opengl/displaylists

Sound like it does simplify the application writing.

Last edited by NutsAboutAmiga on 14-Nov-2007 at 06:46 PM.


_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
K-L 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 19:17:52
#24 ]
Super Member
Joined: 3-Mar-2006
Posts: 1411
From: Oullins, France

@All

For all the demos to work, you have to copy the "data" drawer into the "Demo" drawer.

Anyway, when I do a "Version MiniGL.library FULL", I get "minigl.library 1.5 (19/12/2006)" but when I use GLInfo, it says :
GL_RENDERER: MiniGL/Warp3D
GL_VENDOR: The MiniGL Team
GL_VERSION: 1.3

Normal?


_________________
PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14
AmigaONE X1000, 2GB, Sapphire Radeon HD 7700
FPGA Replay + DB 68060 at 85Mhz

 Status: Offline
Profile     Report this post  
Hans 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 19:50:52
#25 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5067
From: New Zealand

@K-L

Thanks for the note about the data directory. I put it in the wrong location.

Yes, the minigl.library is version 1.5, and GL_VERSION is 1.3. These are two different version numbers. Version 1.5 of MiniGL supports (a subset of) version 1.3 of the OpenGL API.

Hans


_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
https://keasigmadelta.com/ - More of my work.

 Status: Offline
Profile     Report this post  
Chip 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 20:14:03
#26 ]
Cult Member
Joined: 4-Mar-2005
Posts: 574
From: Budapest, Hungary

With this update quake3 become unusable slow. :( As far as I see, it's because the lib is full with debug messages which are spamming my serial port.

 Status: Offline
Profile     Report this post  
Hans 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 20:33:33
#27 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5067
From: New Zealand

@Chip

Unfortunately I don't have Quake III, and IIRC, I can't run the demo version on OS4 either. I'll have a look for dprintf statements in the source-code. Could you capture some of the debug output and send it to me?

Hans


_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
https://keasigmadelta.com/ - More of my work.

 Status: Offline
Profile     Report this post  
Chip 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 21:14:00
#28 ]
Cult Member
Joined: 4-Mar-2005
Posts: 574
From: Budapest, Hungary

"special fill"
"cgl_GLDrawBuffer was called but is not implemented yet"
These are the most common ones. "speciall fill" is floooding like h3ll. :D

 Status: Offline
Profile     Report this post  
Hans 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 21:27:16
#29 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5067
From: New Zealand

@Chip

Oops. I forgot to disable debug output.
I'll try to have a new version with debug output disabled uploaded this evening. I have some changes provided by Steen Lund (a.k.a. shadow) that I want to add as well.

Hans


_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
https://keasigmadelta.com/ - More of my work.

 Status: Offline
Profile     Report this post  
Chip 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 21:29:43
#30 ]
Cult Member
Joined: 4-Mar-2005
Posts: 574
From: Budapest, Hungary

@Hans

Just go ahead! Keep up the good work! Thanks ! :)

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 22:25:07
#31 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

this is what we searching, a good subset of GL functions for easy porting of 3D software, good work !!! And Thanks a lot


_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
SimplePPC 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 14-Nov-2007 23:03:21
#32 ]
Regular Member
Joined: 9-Mar-2003
Posts: 109
From: Unknown

HI Hans, can you check the miniGL screenblankers and this demo please ?

Here both dont work, while they did with the previous versions, can be the programs themselves also though...

http://www.os4depot.net/index.php?function=showfile&file=demo/scene/nls-stars.lha

 Status: Offline
Profile     Report this post  
Hans 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 15-Nov-2007 2:35:38
#33 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5067
From: New Zealand

@SimplePPC

I had already tested it with the nls-stars demo and it works fine. The OpenGL blankers also work fine on my machine.

Can you please be more specific as to what's happening. Does it open a window? Does the GrimReaper come up? Do the supplied demos work? Also, what system are you running this on? What graphics-card do you have?

I did find one bug that would cause ScreenBlankerPrefs to lockup ofter previewing an OpenGL based blanker.

I've uploaded a new version which fixes the bugs found so far and adds some changes Steen Lund provided. Please download the new version.

It would be helpful if a moderator could update the news article with the actual file location, and the fact that a bugfix is available.

Hans


_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
https://keasigmadelta.com/ - More of my work.

 Status: Offline
Profile     Report this post  
Rogue 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 15-Nov-2007 10:40:37
#34 ]
OS4 Core Developer
Joined: 14-Jul-2003
Posts: 3999
From: Unknown

Quote:
NOTE: I can only implement features that are possible via Warp3D, so features such as direct rendering to textures, is (AFAIK), not possible; you should render to a bitmap, and then use glTexSubImage() to copy it to a texture.


I once had added a render-to-texture feature to Warp3D, but it was only implemented in the Radeon driver not in the Voodoo and was scrapped because of timing issues. If you look in the Demos drawer, you will still see the "glow" sample that made use of the feature by rendering a "Tron 2.0"-like glowing Warp3D logo. The effect was quite nice, but like I said we didn't have time to implement it in all drivers so we scrapped it.


_________________
Seriously, if you want to contact me do not bother sending me a PM here. Write me a mail

 Status: Offline
Profile     Report this post  
Rogue 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 15-Nov-2007 10:41:58
#35 ]
OS4 Core Developer
Joined: 14-Jul-2003
Posts: 3999
From: Unknown

Quote:
Hopefully MiniGL becomes at stage where people can start porting stuff now.


That sentence is getting old really.

Note that Heretic II, Quake 2, Quake 3, and Freespace 2 have all been built on top of MiniGL already, just because some features (i.e. display lists) where missing doesn't mean it was unusable.

(edit) Forgot to mention Shogo

Last edited by Rogue on 15-Nov-2007 at 10:45 AM.


_________________
Seriously, if you want to contact me do not bother sending me a PM here. Write me a mail

 Status: Offline
Profile     Report this post  
Rogue 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 15-Nov-2007 10:43:21
#36 ]
OS4 Core Developer
Joined: 14-Jul-2003
Posts: 3999
From: Unknown

Quote:
is there a benefit for existing W3D hyperion games ?


Considering that most of our games come from the times where minigl was statically linked, no.

Quote:
I was not able to use HW rendering with Q2 using a radeon 7500, only SW rendering was working.


A bit more specific? If you are referring to the AmigaOS 4 version of Quake 2, that only comes with software rendering, and trying to use the hardware renderer of the WarpUp version will probably fail miserably.


_________________
Seriously, if you want to contact me do not bother sending me a PM here. Write me a mail

 Status: Offline
Profile     Report this post  
AmigaPapst 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 15-Nov-2007 11:37:54
#37 ]
Cult Member
Joined: 2-Nov-2003
Posts: 635
From: Amigavatikan

With new minigl Quake 3 freeze very often in the menu and it is slower. Furthermore I have only 25 fps with my Radeon 9000 (timdemo 1, demo four). With old minigl I have 28 fps.

@Rogue
Can we expect AmigaOS 4 ports of your games after the release of os4 classic?

Last edited by AmigaPapst on 15-Nov-2007 at 11:46 AM.
Last edited by AmigaPapst on 15-Nov-2007 at 11:39 AM.


_________________
AmigaOne X1000 1,8 Ghz/2 GB Ram + Radeon 6670 2 GB + AmigaOS4.1
A4000T CyberstormPPC 604e-200Mhz/060/128MB+CybervisionPPC 8MB + AmigaOS4
and anymore other Amigas...

 Status: Offline
Profile     Report this post  
Chip 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 15-Nov-2007 13:10:59
#38 ]
Cult Member
Joined: 4-Mar-2005
Posts: 574
From: Budapest, Hungary

@AmigaPapst: Please check the serial debug if any unwanted debug message floods your output. That can slow down the process pretty much.

 Status: Offline
Profile     Report this post  
Hans 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 15-Nov-2007 13:55:56
#39 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5067
From: New Zealand

@AmigaPapst

Which version of MiniGL did you download? I uploaded a new version (1.5.1) yesterday evening. Please download the new one and try again.

@Chip

Could you try Quake III with the new version and tell me if it's fixed the problem?

Hans


_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
https://keasigmadelta.com/ - More of my work.

 Status: Offline
Profile     Report this post  
Hans 
Re: MiniGL V1.5. MiniGL gets display lists.
Posted on 15-Nov-2007 14:05:01
#40 ]
Elite Member
Joined: 27-Dec-2003
Posts: 5067
From: New Zealand

@Rogue
I saw that render-to-texture was included at some point. However, I understand why it was scrapped. Right now, I'd rather that you work on the new graphics system and a full MESA port than patch up Warp3D. The sooner that gets done, the better.

Also, you listed Freespace 2 above. Is there an OS4 port of this? If so, where can I find it. I'd be interested in trying it out.

Hans


_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project.
https://keasigmadelta.com/ - More of my work.

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 | 3 | 4 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle