Screenshot of the Month, July 2016 [Winner announced]

Competitions for Irrlicht or 3D in general.
Irrlicht Screenshot of the Month: Winner for January, vote for February, submit for March

Screenshot of the Month, July 2016 [Winner announced]

Postby Cube_ » Tue Jul 05, 2016 4:21 pm

Normally I'd put a poll here but it seems there was only one entry, so congratulations to Squarefox for his winning entry "Nightork Adventures - Beyond the moons of Shadalee"
Last edited by Cube_ on Wed Aug 17, 2016 4:19 am, edited 2 times in total.
"this is not the bottleneck you are looking for"
User avatar
Cube_
 
Posts: 1011
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Screenshot of the Month, July 2016 [Submissions Open]

Postby Squarefox » Thu Jul 21, 2016 11:25 pm

Nightork Adventures - Beyond the moons of Shadalee:
Image
User avatar
Squarefox
Competition winner
 
Posts: 105
Joined: Tue Aug 19, 2008 6:46 pm
Location: Delta quadrant, Borg nexus 0001

Re: Screenshot of the Month, July 2016 [Submissions Open]

Postby chronologicaldot » Mon Aug 08, 2016 8:02 am

lol, SquareFox wins ala only entry. Slow month? X)
User avatar
chronologicaldot
Competition winner
 
Posts: 545
Joined: Mon Sep 10, 2012 8:51 am

Re: Screenshot of the Month, July 2016 [Submissions Open]

Postby Vectrotek » Mon Aug 08, 2016 9:47 pm

Hey, those cool voxels deserve it!
I'd love to see some of the code.
It looks almost like what BAW is doing but with the normals smoothed?
User avatar
Vectrotek
Competition winner
 
Posts: 1056
Joined: Sat May 02, 2015 5:05 pm
Location: South Africa

Re: Screenshot of the Month, July 2016 [Submissions Open]

Postby Squarefox » Tue Aug 09, 2016 6:08 pm

Hi,

these voxel were transformed into a mesh. Their vertex coordinates were warped and smoothed to get an unregular look.
The mesh uses vertex normals. There are several ways to weight them.
The weighting is e.g. possible by area, by angle and uniform. Nightork uses per area weighting.
Additionally the look is smoothed by a special lighting:
cpp Code: Select all
 
gl_FragColor.xyz = (1.0-NdotL)*mHalfColor
 

with L the direction from the vertex to the camera and N the normal.
This blends the color from 0 to 180 degrees, instead of the 90 degrees of the phong lighting.
Also you get some sort of shadow from the camera to the cave and some indirect lighting effect, because of the minus in the formula.

You can get more of the sourcecode here:
http://dungen.squarefox.net
where you can download the DunGen library for Irrlicht.
Nightork uses a customized version of it (without the corridors, but with monster placement).
The most of the conversion code Voxel -> Mesh is in MeshCave.cpp.
The lighting is in the shaders, Shader.h.

Kind regards,
Squarefox
User avatar
Squarefox
Competition winner
 
Posts: 105
Joined: Tue Aug 19, 2008 6:46 pm
Location: Delta quadrant, Borg nexus 0001

Re: Screenshot of the Month, July 2016 [Submissions Open]

Postby Vectrotek » Tue Aug 09, 2016 7:06 pm

Cool.. Thanks!
User avatar
Vectrotek
Competition winner
 
Posts: 1056
Joined: Sat May 02, 2015 5:05 pm
Location: South Africa

Re: Screenshot of the Month, July 2016 [Submissions Open]

Postby CuteAlien » Tue Aug 09, 2016 8:05 pm

Hm, aaammmsterdddam in Holidays?
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8361
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: Screenshot of the Month, July 2016 [Submissions Open]

Postby Cube_ » Wed Aug 17, 2016 4:09 am

Sorry about that, I haven't had access to a stable internet connection due to some financial matters - I'll get the august one up now, a tad belated but it is what it is, I'll also put up the poll (well, it won't be much of a poll - one option, winner by default really) for this one and close the one prior to that.
"this is not the bottleneck you are looking for"
User avatar
Cube_
 
Posts: 1011
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Screenshot of the Month, July 2016 [Winner announced]

Postby Squarefox » Thu Aug 18, 2016 3:52 pm

Hi,

thanks very much! My first competition win, even though I made the only entry :wink:.
I do it like Vectrotek (see June 2016) and have a whisky now :mrgreen: .

Kind regards,
Squarefox
User avatar
Squarefox
Competition winner
 
Posts: 105
Joined: Tue Aug 19, 2008 6:46 pm
Location: Delta quadrant, Borg nexus 0001

Re: Screenshot of the Month, July 2016 [Winner announced]

Postby Cube_ » Thu Aug 18, 2016 5:21 pm

hey, just entering alone is more than most people do *cough*

(yes, this is referring to me, I've been meaning to for ages now but I don't have enough to showcase and I keep postponing fixing that)
"this is not the bottleneck you are looking for"
User avatar
Cube_
 
Posts: 1011
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d


Return to Competition Time!

Who is online

Users browsing this forum: No registered users and 1 guest

cron