- var
- scene1: TBaseRender;
- //Init
- scene1 := TGlRender.Create(nil);
- scene1.AddModel();
- scene1.Models[0].LoadFromFile('hog2.txt');
- scene1.UpdateTextures;
- scene1.Init;
- //Render
- Scene1.AdvanceAnimation;
- Scene1.Render;
- //Close
- scene1.Free;
DGL https://delphigl.com/forum/ |
|
glModel (.3ds / Wavefront .obj / Milkshape ascii .txt) https://delphigl.com/forum/viewtopic.php?f=13&t=2421 |
Seite 1 von 2 |
Autor: | noeska [ So Jan 25, 2004 12:01 ] |
Betreff des Beitrags: | glModel (.3ds / Wavefront .obj / Milkshape ascii .txt) |
glModel (former name gl3ds) started out as a unit for loading .3ds files and rendering it using opengl. It has been under development since 2002. From an 3ds loader it evolved to a multi format 3d object loader and saver. Still new features are being added. glModel loads -3D Studio files (.3ds) supporting meshes and materials -milkshape ascii files (.txt) supporting meshes, materials, bones and animations. -wavefront files (.obj) supporting meshes and materials -directx files (.x) supporting meshes and materials (broken) glModel saves -milkshape ascii files (.txt) supporting meshes and materials -wavefront files (.obj) supporting meshes and materials glModel has 2 render paths: -OpenGL 1.0 -OpenGL 1.5 with vbo's glModel is released under the mozilla public license. The latest version of glModel can be found on http://www.noeska.com/dogl/glmodel.aspx and / or look at the latest post in this thread ... |
Autor: | noeska [ Mo Jan 26, 2004 19:06 ] | ||
Betreff des Beitrags: | |||
-Some more bugfixes. It now loads .3ds files with lights and camera's inside them. -Material is now ordered from 0 to NumMaterials-1. -Improved reordering of meshes for transparency. -Help file added. Download it below.
|
Autor: | noeska [ Sa Feb 14, 2004 14:55 ] | ||
Betreff des Beitrags: | |||
- create new materials without loading from 3ds file - create new meshes without loading from 3ds file This allows to create a 3ds file dynamicaly. Next is optimizing and a save procedure. Luckily it was not downloaded as i needed to fix a bug that appeared only after closing the application and more then one face was added.
|
Autor: | noeska [ So Feb 22, 2004 16:00 ] | ||
Betreff des Beitrags: | |||
New: -More cleaning up. -Allows upper and lowercase file extensions -property Kind is renamed to FileType
|
Autor: | noeska [ Mo Apr 12, 2004 18:09 ] | ||
Betreff des Beitrags: | |||
-Milkshape ascii files are working again. -Bones are now seperated from the TAll3dsMesh and are now placed inside TSkeleton. A TAll3dsMesh can use multiple skeletons. -So it is now possible to load one milkshape ascii mesh with multiple animations.
|
Autor: | noeska [ Mi Apr 14, 2004 18:11 ] |
Betreff des Beitrags: | |
saving of milkshape ascii files is now possible (meshes and materials). |
Autor: | noeska [ So Jun 13, 2004 18:45 ] |
Betreff des Beitrags: | |
gl3ds now has its own site: http://www.noeska.com/dogl/gl3ds.aspx |
Autor: | noeska [ Mo Jun 14, 2004 19:25 ] |
Betreff des Beitrags: | |
gl3ds v2.3 has been released at: http://www.noeska.com/dogl/gl3ds.aspx New: Two sided materials Changed Render order from clockwise to counterclockwise (like opengl) New .bin fileformat. |
Autor: | noeska [ Mo Aug 02, 2004 14:06 ] |
Betreff des Beitrags: | |
gl3ds v2.5 has been released at: http://www.noeska.com/dogl/gl3ds.aspx New: Bumpmapping support Now uses glbitmap.pas |
Autor: | noeska [ Di Aug 31, 2004 22:20 ] |
Betreff des Beitrags: | |
gl3ds has now an online cvs available at http://webpm.mynside.nl/index.php login with anonymous / anonymous |
Autor: | noeska [ Sa Sep 04, 2004 23:42 ] |
Betreff des Beitrags: | |
a new version of gl3ds is available on the cvs (later this week as an official release on the site). The new features are: opacity maps support rewrite of normals calculation (bug fixed in glmath) SoS's animation will be back in the next release. |
Autor: | noeska [ Di Mär 29, 2005 19:17 ] |
Betreff des Beitrags: | |
a new release of gl3ds is available on my site. Most important is that meshes with not materials work. Also it includes changes i announced it the previous post. (no sight of animated 3ds meshes yet) |
Autor: | noeska [ Sa Nov 12, 2005 13:55 ] |
Betreff des Beitrags: | |
A long time since the previous release, but here it is: http://www.noeska.com/dogl/gl3ds.aspx and download the november release. This release contains bugfixes so it supports the latest DGLOpenGL and glBitmap units again. Also a small bugfix for non material milkshape txt meshes. Lately i have not been able to spend much time programming in my spare time, i hope to be able te spend more time on it from now on. |
Autor: | noeska [ So Mär 30, 2008 16:02 ] |
Betreff des Beitrags: | |
Finally a new release of gl3ds. It is now at v3.0alpha. New features are: - Multiple fileformat support (works like TImage) - Multiple rendertarget support. But do no go ahead and use it your next project yet. As it is a total rewrite of gl3ds some old bugs may be back and some now may be there also. Do test it. And report the bugs found. Basic usage: Code:
|
Autor: | noeska [ So Jan 04, 2009 20:29 ] |
Betreff des Beitrags: | |
Finally a new release of gl3ds. It is now at v3.1alpha. New features are: - Support for reading the wavefront .obj fileformat - Some small bugfixes In the pipeline is support for reading the dirext .x fileformat |
Seite 1 von 2 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |