Random "work in progress" shots

category: general [glöplog]
In the blinn-phong model you essentially compare how close the reflection event is to a mirror reflection; the clamped dot product gives a 0-1 score of how well the half-vector matches the normal. The half-vector is the normalized sum of the normalized view and light directions: it’s the direction where the normal should be for a perfect mirror direction. If the half-vector and normal match perfectly the dot product gives a one (full reflection) and if they’re perpendicular or point away from each other we get a zero (no reflection). Then the fall-off of this dot product is changed with a power: the larger the power, the quicker the fall-off goes to zero and thus the tighter the specular highlight will be. Conversely, a lower power will give a softer look. As an often neglected part you also need to normalize the specular albedo based on the glossiness: if the power is vey high, the spike of the distribution is narrow and the material will appear dark without it (I’ve used (glossiness+4)/(8*pi)).

Just to maybe give an intuition since knowledge is power; your own model looks good so just go with it if you wish :)
added on the 2018-08-20 14:37:58 by msqrt msqrt
BB Image
!gif ripoff of Beep Boop
added on the 2018-08-20 19:58:23 by dila dila
BB Image

working on something
damn thats sweet
i suppose we will see this thing for real at the next revision? including the glowy parts? =)
added on the 2018-09-05 20:58:44 by wysiwtf wysiwtf
hi wysiwtf

thank you.
let's see what we can do in virtual reality with this ;)
@cosmicollie, that looks great. Some Questions: Is this a physically based material, that PBR shiznat? What tools do you use?
added on the 2018-09-06 13:44:32 by EvilOne EvilOne
BB Image

Different color grading for each scene turned out to be a bit fiddlier than I thought and also revealed some serious bottlenecks in both the graph rendering and traversal - but hey, that's what development is about, right?
added on the 2018-09-06 14:03:30 by Gargaj Gargaj
Garg: one day before the party? :)
added on the 2018-09-06 14:12:25 by pohar pohar
No, about two weeks ago :)
added on the 2018-09-06 14:15:30 by Gargaj Gargaj
Hi EvilOne

thank you.

let me explain the workflow for this:

• mainly i´m working with Zbrush - you can handle very very high polycounts with it
because zb uses pixols internally - basically voxels - pixels with depth information

• that makes it very fast performance wise - only when you export a model it becomes actually
polygonal data

• in this example i use a function called LiveBoolean - it´s a non destructive boolean function
in Zbrush

• is start with more or less simple 3d primitives - edit them here and there and do a lot of
boolean operations - union / cutting / intersecting etc. this principle can be used in any 3d program
you can think of.

BB Image

• without LiveBoolean i end up with something like this:

BB Image

• with live boolean activated i get this:

BB Image

• when i´m happy i execute the lb operation / make it permanent and i end up with a very high
resolution model concerning polycount - i this example around 9 million polygons

• not very handy for realtime :)

• so i do a decimation process with a function called decimation master which gives me pretty
good results. the topology is not perfect - but this can be fixed optionally if needed with a retopology process.

• after that i have an object (or multiple) with a polycount of about 500k polys - which is not
cool for a 4k demo but for a normal demo it is ok.

• i export everything to 3dcoat (substance painter would be an option but my computer was too old
at that time so i chose 3dc) and do all the painting - yes it is pbr.

• 3dcoat also generates the uv layout. and i do all the painting / smart material etc. stuff there.

• albedo pass, ambient occlusion pass, emissive, roughness, metallness, etc are then automatically generated.

• these i export from 3dc to marmoset toolbag and there i do all the material stuff - and a lot of
post fx -> dof, color correction, sharpening, fancy glow etc.

BB Image
BB Image

• and from there i can export it eg. for webGL for Websites (the base html code is generated in a small file) or to sketchfab or artstation, to blender, to a demoengine, give it to a coder etc.

if you are interested what LiveBoolean is capable of - or Zbrush in general - please take a look at these short videos:


even if one doesn´t want to learn 3D Sculpting or Modeling - maybe some concepts are a great inspiration
as well for coders. and maybe some ideas will be good for a next demo production.

If you - on the other hand are interested in learning zbrush - theres a trial version on their site and if you have any
question - ask - i´ll try to help you there.

have a nice day and thank you for your interest.

Ollie / Cosmic^nce^hly
Thanks for this in-depth explanation. I always wondered how such high quality models are made. Do you spend more time on modelling or texturing?
added on the 2018-09-07 09:53:17 by EvilOne EvilOne
Not strictly a work in progress shot, but I wrote up a thing about my demo:
http://gargaj.tumblr.com/post/178117551485/along-for-the-ride-a-reasonably-compl ex-demo
added on the 2018-09-15 21:28:37 by Gargaj Gargaj
msqrt: Thanks!(bit too late..) but this helped me to understand main principle of phong shading!

Gargaj: So complicate... I wish i could make demos like this in near future..!
added on the 2018-09-16 07:16:51 by Minus256 Minus256
BB Image
I want to rotate that but it distorts itself..
I still cannot understand this..
added on the 2018-09-16 09:52:26 by Minus256 Minus256
Do you rotate the original mesh every frame, or do you keep rotating the rotated mesh from the previous frame?
added on the 2018-09-16 10:27:49 by Gargaj Gargaj
Do you rotate the original mesh every frame, or do you keep rotating the rotated mesh from the previous frame?

This is raymarching.. i just used rotate matrix
added on the 2018-09-16 10:31:14 by Minus256 Minus256
Hard to tell without seeing the image; are you rotating the point or the ray or..?
added on the 2018-09-16 11:07:36 by Gargaj Gargaj
Hm, well that doesn't help much without know how it's supposed to look like. Either your rotation matrix / code is wrong, or you're rotating something that you shouldn't be.
added on the 2018-09-16 11:26:57 by Gargaj Gargaj
Total fail
Here's Shadertoy page..
added on the 2018-09-16 11:43:32 by Minus256 Minus256
added on the 2018-09-16 16:01:46 by Gargaj Gargaj

oh- it was set to private..
I turned that into public
added on the 2018-09-16 16:29:55 by Minus256 Minus256
BB Image
added on the 2018-09-16 16:33:18 by DanLemon DanLemon
Total fail
Here's Shadertoy page..

actually it already looks pretty nice! slap a proper lighting and postprocess and it's done :)
added on the 2018-09-16 18:52:47 by wbc\\bz7 wbc\\bz7

oh- it was set to private..
I turned that into public

Yeah that shader looks like it's bleeding from many wounds :) Your ray direction calculation seems weird especially :)
added on the 2018-09-16 19:13:33 by Gargaj Gargaj