<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to news</title><link>https://sourceforge.net/p/globe3d/news/</link><description>Recent posts to news</description><atom:link href="https://sourceforge.net/p/globe3d/news/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Jul 2016 20:50:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/globe3d/news/feed.rss" rel="self" type="application/rss+xml"/><item><title>Now, a bit of fog...</title><link>https://sourceforge.net/p/globe3d/news/2016/07/now-a-bit-of-fog/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="" href="https://1.bp.blogspot.com/-mMM40YrMFh4/V369VPlO-0I/AAAAAAAACj8/jfneAQaVrCkEkP8woAsF3xYrD1b1kaLqQCLcB/s1600/prairie_fog.jpg" rel="nofollow"&gt;&lt;img alt="" rel="nofollow" src="https://1.bp.blogspot.com/-mMM40YrMFh4/V369VPlO-0I/AAAAAAAACj8/jfneAQaVrCkEkP8woAsF3xYrD1b1kaLqQCLcB/s400/prairie_fog.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is the code activating the fog in the background.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;if foggy then
  Enable (FOG);
  Fog (FOG_MODE, LINEAR);
  Fog (FOG_COLOR, fog_colour(0)'Unchecked_Access);
  Hint (FOG_HINT, FASTEST);
  Fog (FOG_START, 1.0);
  Fog (FOG_END, 0.4 * fairly_far);
end if;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;As usual with GL, it looks very obvious, but (as usual too) it is one of the few combinations that are actually working.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Thu, 07 Jul 2016 20:50:31 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net308badcaa8fbbd219c7f5a05a4394873cdf3e6e0</guid></item><item><title>Release 2016-07-05</title><link>https://sourceforge.net/p/globe3d/news/2016/07/release-2016-07-05/</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;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)&lt;/li&gt;
&lt;li&gt;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.&lt;/li&gt;
&lt;li&gt;Wavefront format (.obj / .mtl) importer for GLOBE_3D&lt;/li&gt;
&lt;li&gt;Doom 3 / Quake 4 map importer more complete&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Tue, 05 Jul 2016 14:02:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net857632c398a8ea487d0b224cf2ed1d9f804f61b9</guid></item><item><title>Non-convex objects with transparency</title><link>https://sourceforge.net/p/globe3d/news/2016/07/non-convex-objects-with-transparency/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It's stunning how the inventors of GL addressed from the beginning, in 1991, subtle issues popping up when displaying 3D object in your own program 25 years later.&lt;br/&gt;
For instance, take this model:&lt;br/&gt;
&lt;a class="" href="https://4.bp.blogspot.com/-cqe5QGzbDXY/V3mDxdC0WFI/AAAAAAAACiw/vr5jMuxXUekMwKNWvdpwXfZ-OKXOvHOYgCLcB/s1600/transp_bad.png" rel="nofollow"&gt;&lt;img alt="" rel="nofollow" src="https://4.bp.blogspot.com/-cqe5QGzbDXY/V3mDxdC0WFI/AAAAAAAACiw/vr5jMuxXUekMwKNWvdpwXfZ-OKXOvHOYgCLcB/s400/transp_bad.png"/&gt;&lt;/a&gt;&lt;br/&gt;
It is a cross shaped (considered from above) object; texture has lots of transparency.&lt;br/&gt;
In the red rectangle you see the issue: the face in front was displayed before the face behind.&lt;br/&gt;
There is no bullet-proof rule for sorting faces, and GL has a per-screen-pixel depth buffer that allows displaying faces in an arbitrary order. So we don't want to introduce imperfect face sorting just for dealing with this kind of object.&lt;br/&gt;
Fortunately, the GL geniuses have invented a solution for that issue too:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    Enable    (ALPHA_TEST);
    AlphaFunc (GREATER, 0.05);
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Et voilà...&lt;br/&gt;
&lt;a class="" href="https://2.bp.blogspot.com/-ZaiX-M-YiNM/V3mFlPF4eVI/AAAAAAAACi8/sJum-lb1X8Aa4XYPccdnAdfws-RDoSh8gCLcB/s1600/transp_good.png" rel="nofollow"&gt;&lt;img alt="" rel="nofollow" src="https://2.bp.blogspot.com/-ZaiX-M-YiNM/V3mFlPF4eVI/AAAAAAAACi8/sJum-lb1X8Aa4XYPccdnAdfws-RDoSh8gCLcB/s400/transp_good.png"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The model, "herbe01.obj" is in the ./tools/wavefront directory in the GLOBE_3D repository.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Sun, 03 Jul 2016 21:50:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3fa21d9b0e0f11527e90f6ddf2b6c2e87a54e974</guid></item><item><title>Wavefront (.obj) parser simplified</title><link>https://sourceforge.net/p/globe3d/news/2016/06/wavefront-obj-parser-simplified/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In revision #311, two important improvements to make the o2g translator more handy.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;o2g has now options for centering and scaling the object.&lt;/li&gt;
&lt;li&gt;o2g creates itself a .zip archive containing the 3D object file and the textures (plus a few goodies).&lt;br/&gt;
     This has two advantages:&lt;br/&gt;
   a. the opack.cmd script is no more needed and disappears; o2g can be used "as-is" from Linux or OSX as well.&lt;br/&gt;
   b. only the needed textures are packed.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Mon, 27 Jun 2016 10:37:39 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net100749d0a4381c3a2d2f58b17972f751cc73af95</guid></item><item><title>Most image formats now available for textures</title><link>https://sourceforge.net/p/globe3d/news/2016/06/most-image-formats-now-available-for-textures/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The texture loader in GL.IO was around 15 years old and supported only the Targa (.tga) format for textures, plus a few sub-formats of Windows bitmaps (.bmp).&lt;br/&gt;
In order to make things easy when dealing with various models, e.g. those imported from Blender, the old code for reading images has been wiped out and the loader is using now &lt;a class="" href="http://gen-img-dec.sourceforge.net/"&gt;GID&lt;/a&gt; for the job, supporting JPEG or PNG in addition. For instance the &lt;a class="" href="https://www.blender.org/" rel="nofollow"&gt;Blender&lt;/a&gt; model below is using the JPEG format for textures.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://4.bp.blogspot.com/-oiQmwSnZkiw/V2mfpYUWwaI/AAAAAAAACiQ/UUDaVl-ONIYk4Up8ciV5K4cJdgTwznGcwCLcB/s1600/fut_jet_2_shot.jpg" rel="nofollow"&gt;&lt;img alt="" rel="nofollow" src="https://4.bp.blogspot.com/-oiQmwSnZkiw/V2mfpYUWwaI/AAAAAAAACiQ/UUDaVl-ONIYk4Up8ciV5K4cJdgTwznGcwCLcB/s400/fut_jet_2_shot.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The following Blender model has a single PNG texture projected on a complicated surface called a Mandelbulb:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://2.bp.blogspot.com/-WjyCPNiRqIs/V2mrEZhwDpI/AAAAAAAACig/GaF-tKlRcYIJ5ZaSQJhxX6h17cRTUQOPQCLcB/s1600/mandel.jpg/" rel="nofollow"&gt;&lt;img alt="" rel="nofollow" src="https://2.bp.blogspot.com/-WjyCPNiRqIs/V2mrEZhwDpI/AAAAAAAACig/GaF-tKlRcYIJ5ZaSQJhxX6h17cRTUQOPQCLcB/s400/mandel.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Wed, 22 Jun 2016 09:02:14 -0000</pubDate><guid isPermaLink="false">https://sourceforge.nete9ad127cb46702fe16c8ce449bdf128168a2820d</guid></item><item><title>Wavefront format (.obj / .mtl) importer for GLOBE_3D</title><link>https://sourceforge.net/p/globe3d/news/2016/06/wavefront-format-obj--mtl-importer-for-globe3d/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Basically, it is possible now to import a model saved in Blender as a Wavefront (.obj) model, and turn it into a GLOBE_3D object.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://4.bp.blogspot.com/-6g4ANa_GZTw/V2i4wjiJKJI/AAAAAAAACiA/h4PbZ1XFMbUawWV_LMYIraGKGS7YHmcrQCLcB/s1600/fut_jet.jpg" rel="nofollow"&gt;&lt;img alt="" rel="nofollow" src="https://4.bp.blogspot.com/-6g4ANa_GZTw/V2i4wjiJKJI/AAAAAAAACiA/h4PbZ1XFMbUawWV_LMYIraGKGS7YHmcrQCLcB/s400/fut_jet.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The translator is in ./tools/wavefront&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Tue, 21 Jun 2016 03:46:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net85b72478b2b793f290c80bfcdddab179f82ef033</guid></item><item><title>Visual debugging with GLOBE_3D</title><link>https://sourceforge.net/p/globe3d/news/2016/06/visual-debugging-with-globe3d/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Texture names:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://1.bp.blogspot.com/-RF5wQM7dy3Y/V1h6DV6iofI/AAAAAAAACg8/JsklbKwYycs1MYwPuDiFODEw_zBTLOnyACLcB/s1600/tex_labels.jpg" rel="nofollow"&gt;&lt;br/&gt;
&lt;img alt="" rel="nofollow" src="https://1.bp.blogspot.com/-RF5wQM7dy3Y/V1h6DV6iofI/AAAAAAAACg8/JsklbKwYycs1MYwPuDiFODEw_zBTLOnyACLcB/s400/tex_labels.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Portal labels:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://3.bp.blogspot.com/-gB2u_aZrmVE/V1h6uGDaV6I/AAAAAAAAChE/AA3h_QmNfKMyjnx1BzXqEOoJigdFXuyRQCLcB/s1600/portal_labels.jpg" rel="nofollow"&gt;&lt;br/&gt;
&lt;img alt="" rel="nofollow" src="https://3.bp.blogspot.com/-gB2u_aZrmVE/V1h6uGDaV6I/AAAAAAAAChE/AA3h_QmNfKMyjnx1BzXqEOoJigdFXuyRQCLcB/s400/portal_labels.jpg"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is obtained by toggling the options in this package:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="kr"&gt;package&lt;/span&gt; &lt;span class="nx"&gt;GLOBE_3D&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Options&lt;/span&gt; &lt;span class="nx"&gt;is&lt;/span&gt;

  &lt;span class="o"&gt;--&lt;/span&gt; &lt;span class="nx"&gt;Visual&lt;/span&gt; &lt;span class="nx"&gt;checks&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;

  &lt;span class="nx"&gt;show_normals&lt;/span&gt;        &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nx"&gt;False&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nx"&gt;show_portals&lt;/span&gt;        &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nx"&gt;False&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nx"&gt;show_texture_labels&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nx"&gt;False&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nx"&gt;filter_portal_depth&lt;/span&gt; &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nx"&gt;False&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="o"&gt;--&lt;/span&gt; &lt;span class="nx"&gt;Formal&lt;/span&gt; &lt;span class="nx"&gt;checks&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;

  &lt;span class="nx"&gt;full_check_objects&lt;/span&gt;  &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nx"&gt;False&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nx"&gt;strict_geometry&lt;/span&gt;     &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nx"&gt;False&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="o"&gt;--&lt;/span&gt; &lt;span class="nx"&gt;Misc&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
  &lt;span class="nx"&gt;portal_tracking&lt;/span&gt;     &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nx"&gt;True&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nx"&gt;BSP_tracking&lt;/span&gt;        &lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nx"&gt;True&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;Is_debug_mode&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;Boolean&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="nx"&gt;arrow_inflator&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;constant&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="mf"&gt;10.0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nx"&gt;end&lt;/span&gt; &lt;span class="nx"&gt;GLOBE_3D&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;Options&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Tue, 21 Jun 2016 03:30:24 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb2287274511f79e3d8a86d76e9c3e10ef3db89b5</guid></item><item><title>Doom 3 / Quake 4 map parser more complete</title><link>https://sourceforge.net/p/globe3d/news/2016/06/doom-3--quake-4-map-parser-more-complete/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The D3G tool now is able to translate all models correctly into .g3d objects, in addition to the special models corresponding to areas. This needs the presence of the file &lt;span&gt;[level]&lt;/span&gt;.map beside the &lt;span&gt;[level]&lt;/span&gt;.proc file.&lt;/p&gt;
&lt;p&gt;The difference is visible in the main demo: now glass or various previously missing objects are visible.&lt;br/&gt;
The translation of the following model (a cathedral) was pretty incomplete without latest improvement in D3G:&lt;br/&gt;
&lt;img alt="" src="https://sourceforge.net/p/globe3d/screenshot/catherdal_reims_2_mini.jpg/thumb"/&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Fri, 17 Jun 2016 08:21:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8c0f2a2928c388676e0f150aee123cd89541fc9e</guid></item><item><title>Release 2016-06-12 - Added multitexturing</title><link>https://sourceforge.net/p/globe3d/news/2016/06/release-2016-06-12---added-multitexturing/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Added multitexturing (diffuse + specular).&lt;br/&gt;
First video captures published:&lt;br/&gt;
&lt;a href="https://www.youtube.com/watch?v=Bf7kyxVVIXs" rel="nofollow"&gt;https://www.youtube.com/watch?v=Bf7kyxVVIXs&lt;/a&gt;&lt;br/&gt;
&lt;a href="https://www.youtube.com/watch?v=_lEWKx2lZ88" rel="nofollow"&gt;https://www.youtube.com/watch?v=_lEWKx2lZ88&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Screenshots before (diffuse only):&lt;br/&gt;
&lt;img alt="" rel="nofollow" src="https://1.bp.blogspot.com/-ttdywfOuxlE/V1n0MAO5OyI/AAAAAAAAChY/ssqIkShN2RkQ0W6WHh3je28gPWgHlRHKQCLcB/s400/g3d_old.jpg"/&gt;&lt;br/&gt;
after (diffuse + specular):&lt;br/&gt;
&lt;img alt="" rel="nofollow" src="https://2.bp.blogspot.com/-ucdy7q65WCA/V1n0UCxwNMI/AAAAAAAAChg/eviQG1lSycQbsJfHX3igy9nD-mFXn55igCLcB/s400/g3d_new.jpg"/&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Sun, 12 Jun 2016 12:13:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net019f1d326263170aec77b6d27699cec53314f4ad</guid></item><item><title>First SF release for download</title><link>https://sourceforge.net/p/globe3d/news/2008/04/first-sf-release-for-download/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On a 16th April 2008, a first release was set on SourceForge, packaged in a Zip file, with full sources, GL bindings, and a pre-compiled demo (Windows, Linux).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gautier de Montmollin</dc:creator><pubDate>Tue, 29 Apr 2008 20:31:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0ae1cef9a9411356c211b154820140279a72694e</guid></item></channel></rss>