2015/05/18

FOSPHORE part Two: inside the RGB Cube

Here is the second part of the FOSPHORE OSL Project!

FOSPHORE_RGB turn any object in an RGB Cube made of spheres, thousands or even millions of spheres if you want!

FOSPHORE_RGB just need a 6 polygones cube to let you explore the RGB Cube!

It’s an OSL Shader.

No sphere is really created, and no memory is used.

The current version is not yet releasable. There are still some adjustments to do to let you play with it without unexpected results.

But the first results are amazing!!!









2015/05/16

FOSPHORE First look !




FOSPHORE is an OSL Project made for education.

FORSPHORE is for:
Full Of SPHere On REndering

The goal is to make some shaders using ‘in shader sphere rendering’.

Those Open Shading Language shaders convert any object to a bunch of spheres! With them, you can have a 6 polygones cube looking like one million spheres at rendering time, with no RAM overload.

This is purely shading: no particule, no molecular nor granular plugins. Just apply the shader to your object to turn it to thousands of spheres.

The main interest of those shader is education! They are not yet Production Ready Shaders!
The speed of those shaders is not so smaller than converting object to real sphere particules.
The granular tests made with Softimage ICE are even faster! (But it is Softimage ICE… Rest In Peace Softy)

In this post, you can see the first results of FOSPHORE_FILL.

This first shader fills an object with spheres of chosen size and space.
You can randomly change size, place, color… It’s also possible to animate the noise and the spheres.
There is no limits to the number of spheres, and you could have thousands and thousands spheres in your object!

Unfortunately, the shader is not yet to be released. There are still some bugs, and some optimization is needed. I also have to make it to work correctly with VRay.

Enjoy!




2015/02/10

GOA 1.2, updated version.

Here is the new version of GAO, the multipurpose OSL Ambient Occlusion.

There is just one new fonction : Self Occlusion Only

When self occlusion is on ( value = 1 ), the ambient occlusion is just for this object, and ignore all others.

This is very useful when using GAO for texture purpose or for dirting an object.

Download and enjoy the new GAO 1.2 !

Warning: this version doesn't work with VRay.

2015/02/07

2014/09/16

'OSL Shader Writing with compatibility in mind' workshop in Amsterdam!


Don't miss my workshop at the Blender Conference 2014, from 24 to 36 October, in Amsterdam!

'OSL Shader Writing with compatibility in mind'

I'll make a course / workshop about OSL compatibility between renderers and how to get the most of OSL on a multi-renderers production.

I'll talk about :
- OSL Implementation differences,
- Texture Shaders
- Materials Shaders
- 100% OSL shading
- Solution to be compatible between renderers

Examples of OSL shading from Cycles to Appleseed and VRay will be shown.

More information about the presentation Here.

....

2014/09/15

QUIPCAM and PYLA at the Blender Conference 2013

hi !

The Blender Conference 2014 is in a month!

So it's time to remember the Blender Conf 2013, with videos of my presentations of QUIPCAM and MYLA.

The Blender conf is really nice, with a lot of very interesting prestenations.
Blender is near everywhere, so there is presentation about near all CG subject, from game to VFX, via real time vizualisation, shading, OSL (of course!), and a lot more!

Here is the first presentation about QUICKCAM. Beginning is missing due to a technical problem:


The second is about MYLA, and it is very short (start à 33mn 44s):


See you in Amsterdam !

2014/09/01

Les Photos déclarent leur indépendances

Youpi en Vadrouille mélange univers 3D et photos depuis le début.

Hélas, il est devenu trop difficile de gérer les deux ! L'abondance de l'un occultant l'autre, et vice versa.

Aussi, Les vadrouilles de Youpi se soncentreront sur la 3D, le shading et l'OSL.

Et pour découvrir mes photographies, je vous invite sur mon Tumblr : Realworldography !
Que des photos, que du monde réel !

Si vous aimez mon travail photographique, abonnez-vous !


'Youpi en vadrouille' is a mix of 3D and photos from the first post.

Indeed, it started to be very difficult to have the two in one blog. Many of one hiding the other, and making navigation difficult.

So, now, Youpi will be more 3D, shading and OSL !

For the photos, you have to welcome my new Tumblr: Realworldography !
Just photos, just from real world !

if you like it, subscribe please !

2014/07/31

New Versions of GAO and GAO2 Ambient Occlusion !

Someone of you asked me why GAO is not working on Blender 2.71.

Unfortunately, the bug is not from GAO, so I can’t fix it! The OSL ‘Trace’ Function is bugging on some version of Blender 2.71.x.

Indeed, GAO and GAO2 are working perfectly on the Official Blender 2.71. You can download Blender 2.71 here.

So, I decided to clean up and make GAO ever Better!

What’s new in GAO 1.1 !
1. Closure Ouput now use Input colors! It’s now possible to have colored or even textured Ambient Occlusion

2. New Oversampling function. It adjusts the quality of your AO independently from scene sampling. It’s also possible to have better AO on some object and basic one on others.

3. New Gamma display! GAO is definitively the smoothest Ambient Occlusion! The gamma allows making it smoother or looking more like a true lighting effect.


All new GAO2.1 !
A completely rewritten of the most popular GAO2 by BAO2 from BlenderArtist Forum !

It includes all new things from GAO1.1 with the typical functions of GAO2 added:
1. AO angle in degrees.
2. 3 modes: 1 = Standard AO, 2 = Inverted Normal AO (wear), 3 = both.
3. Inverted Effect that swap the In and the Hit inputs.

The Indirect Illumination option is not yet implemented, sorry.

Download GAO1.1 Ambient Occlusion

Download GAO2.1 Advanced Ambient Occlusion


AND, very very big news : GAO2 for VRay 3.0 !

You have to use it with the VRayOSLMtl !

There is just one material output (no map color only output).

There is just one function different from GAO2 generic OSL :
UseTexture checkbox : when OFF, GAO2 use the color input. When ON, it use the map inputs.

Download GAO2.1 for VRAY 3 ready to use .oso file

Download GAO2.1 for VRAY 3 .OSL source code


Enjoy!

2014/07/30

OSL Teaching Winter 2014 Results

I'm teaching shading and Shader Writing for years.

During the last Winter Session, in 3D Master at ESTEI, we studied Open Shading Language.

Here is the results, from the first shader to a full workshop :

Shader Writing Courses 2014 Students Work Reel from François Gastaldo on Vimeo.

2014/03/15

Evolution of GAO Ambient Occlusion Shader

I would like to present you a very nice évolution of my GAO Ambient Occlusion Shader by BAO2.

He did a more complex version, with inverted AO (edge detection) and some other enhancements.

here is the link to dicover the GAO2 AO OSL SHADER !


ADDEDUM : GAO and GAO2 are updated ! Click here to see the new versions GAO1.1 and GAO2.1 !

GAO Ambient Occlusion Tutorial !

It's cool to see works done with my shaders, and this tutorial, by Gleb Alexandrov is a very nice one !!!

Gleb Alexandrov is a 3D artist doing impressive works using Blender, like this one.

He offers us a nice tutorial to show how to use AO for 'dirting' objects :



"Today we'll explore yet another way of making procedural dirt (ambient occlusion) in Blender, using OSL shader by Francois Gastaldo.

Note that I'm using modified version of this shader, posted by BAO2 on Blenderartists.
http://blenderartists.org/forum/showt...

Original version: http://vadrouillegraphique.blogspot.n...

Rocket Artillery model by SONGKRO on Blendswap.
"

THANKS for this work Gleb !


ADDEDUM : GAO and GAO2 are updated ! Click here to see the new versions GAO1.1 and GAO2.1 !

2014/03/01

Fast Multi Channel Ambient Occlusion



First, Welcome VRay to OSL World !

To celebrate Chaosgroup VRay entering the OSL world, with it's 3.0 version, here is a Three Ambient Occlusion for the price of One !

This shader is an Ambient Occlusion, but it does what a lot of you already do by hand: put 3 different AO, each on a different color channel.

Then, you just have to sepparate RGB channels with you favorite compositing software. The main advantage of this shader is that it optimaze rendering time by do not triple shading.

There is two versions of the shader :
TriGAOVr.osl : it's 100% Vray 3.0 compliant version !

and

TriGAO.osl : this version is for renderer implementing the 'getmessage' OSL functionnality, like Cycles or SpectraStudio.
It is about 30% faster, as it tracing just one ray for the three AO. It has a smoother AO gradient, needing less AntiAlias.


Small Documentation :
AO Angle : Occlusion search angle in RADIAN, 1.0 = 180° AO search.

Maxdistance : Limit of distance of occluding object.
The smallest it is, the smallest scene detail are highlithed by AO.
If there is Green and Blue AO, Maxdistance is for RED only.

GreenAODistance : Limit of distance of occluding object for GREEN channel.

BlueAODistance : Limit of distance of occluding object for BLUE channel.

OverSampling : multiply the number AO ray rendered.
doing 5 render samples with 10 OverSampling AO rays is faster than doing 50 render sampling with no Oversampmling.

The TriGAO.osl version has no checkbox for Green and Blue AO. Disable them with 0.0 value.

The TriGAOVr.osl has a BoostExposure control to compensate Render Exposure Control.

DOWNLOAD :
For Vray, or any renderer, you can download TriGAOVr.osl here.
Or TriGAOVr.oso, ready to use, version here.

For Cycles and other renderers using 'getmessage', download the TriGAO.osl version here.