2D, 3D, game, games, online game, game development, game engine, programming, OpenGL, Open AI, math, graphics, design, graphic, graphics, game development, game engine, programming, web development, web art, web graphic, arts, tutorial, tutorials,
marți, 29 august 2023
News : Rise of Kong.
Rise of Kong arrives on PlayStation®5, PlayStation®4, Xbox Series X|S, Xbox One, Nintendo Switch, and PC via Steam later this year.
News : Sea of Stars.
Sea of Stars arrives next Tuesday, August 29th on Steam (PC), Nintendo Switch, PS4, PS5, Xbox One & Xbox Series X/S.
Blender 3D : Glass material with Open Shading Language.
Open Shading Language (OSL) is a small but rich language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation.
OSL was originally developed by Sony Pictures Imageworks for use in its in- house renderer used for feature film animation and visual effects, released as open source so it could be used by other visual effects and animation studios and rendering software vendors. Now it's the de facto standard shading language for VFX and animated features, used across the industry in many commercial and studio- proprietary renderers. Because of this, the work on OSL received an Academy Award for Technical Achievement in 2017 ..., see the GitHub project.
Today I'll show you how to use this option with Blender 3D to create a glass-like material for an object and render it with Blender 3D.
Open the Blender 3D application and set the render to Cycles, CPU and check Open Shading Language, see the next image:
Add an object, add a new material remove the Principled BSDF node
Create a file named Glass_001.osl select this file in the material area for the object.
You can see in the image above how I set the material with a Script node.
Add this source code in the file and render the scene:
#include "stdosl.h"
#define IOR_THRESHOLD 1.000001
float FresnelDielectric(vector i, normal n, float eta)
{
float c = fabs(dot(i, n));
float g = eta * eta - 1 + c * c;
float result = 1.0;
if (g > 0) {
g = sqrt(g);
float a = (g - c) / (g + c);
float b = (c * (g + c) - 1) / (c * (g + c) + 1);
result = 0.5 * a * a * (1 + b * b);
}
return result;
}
surface Glass(
color diffuse_col = 0.8,
float ior = 1.45,
output closure color bsdf = 0)
{
float real_ior = max(ior, IOR_THRESHOLD);
float eta = backfacing()? 1.0 / real_ior : real_ior;
float fr = FresnelDielectric(I, N, eta);
bsdf = diffuse_col * (fr * reflection(N) + (1.0 - fr) * refraction(N, eta));
}
luni, 28 august 2023
News : Leiapix online tools.
You can try these tools online, see an example with my avatar:
Posted by
Cătălin George Feștilă
Labels:
2023,
2023 news,
artificial intelligence,
news,
online tool
News : Gogle comes with Project IDX.
Google comes with idx.dev.
Project IDX starts with a web-based workspace that'll feel familiar for coding but fresh. And we're just at the beginning of this journey. We'd love your input as we work to make application development better.
Project IDX makes it easier to start building an app that works across multiple platforms using a variety of templates for popular frameworks, such as Angular, Next.js, React, Svelte, and Flutter, with Python and Go support coming soon. You can also import your existing applications from GitHub, with support for most tech stacks.
Create music with artificial intelligence.
This website creates music using artificial intelligence. It doesn't really fall into the graphics category, but it's good to know.
Create royalty-free music that elevates your story.
Beatoven.ai makes it easy for content creators to generate background music with the help of AI.
sâmbătă, 26 august 2023
News : Lost Native Games comes with Wild Country.
This mischievous game named Wild Country is a relaxed competitive strategy game will soon be available on both PC and Nintendo Switch
See more on the official website.
vineri, 25 august 2023
News : heygen online application for avatars.
You can test this application online on this official webpage.
News : A new video tutorial from Marvelous.
Posted by
Cătălin George Feștilă
Labels:
2023,
2023 news,
Marvelous,
news,
tutorial,
tutorials,
video tutorial,
youtube
Blender 3D : Animazing - animation tools for Blender.
... good tool for animations in Blender 3D !
Posted by
Cătălin George Feștilă
Labels:
2023,
3D,
animation,
Blender 3D,
tutorial,
tutorials,
video tutorial,
youtube
Abonați-vă la:
Postări (Atom)