Questions tagged [shading]

Shading refers to depicting depth perception in 3D models or illustrations by varying levels of darkness.

Shading refers to depicting depth perception in 3D models or illustrations by varying levels of darkness. (source: Wikipedia).

119 questions
2
votes
0 answers

Shade a dependency in maven which is used by other dependency as well

I am stuck with one shading stuff, Need help if there is known way out. I have a project module which has bunch of dependencies and I want to shade and relocate one of the dependency. I did that, but the problem is the other dependency also uses the…
Quiyan H
  • 21
  • 1
2
votes
1 answer

What exactly are the limits of Open Shading Language (OSL) in terms of new materials/BSDFs?

I'm doing research on BRDF description and implementation techniques, and OSL is one of the main languages to do so. I'm curious about the way one could implement a new BRDF using OSL, or if it's even possible to do so without messing around with…
fleig
  • 65
  • 3
2
votes
0 answers

Polygon not shading to the x-axis

I am trying to plot two distributions on a graph, and I am using the polygon function to shade x <- seq(-0.1,0.1,length=1000) plot(x = x, y = dnorm(x, 2, 1), type = "l", col = "white", axes = FALSE, mgp =…
2
votes
1 answer

Opengl smooth shading generated object

I generated a 3d shape using a perlin noise. I am trying to smooth shade it, to do so I calculated the face normal for each of my triangles and then I calculated the normal of each triangle vertex by averaging the normals of the faces they belong…
Guillaume Wilmot
  • 143
  • 1
  • 10
2
votes
0 answers

MTL material loaded with MTLLoader doesn't seem to work

I'm working on a project using three.js. I have a simple model (the standard teapot) with a simple material I exported from 3DS Max with the obj exporter. I can load the model just fine with OBJLoader, it shows up without any issue, but when I try…
Paul
  • 473
  • 6
  • 19
2
votes
1 answer

shapeless shading in spark not working - method still not found

Currently I face some problems with shapeless in spark 2.1 where still an outdated version of shapeless is being used. One of my dependencies(PureConfig current version of 0.8.0) pulls in a newer version of shapeless. One should be able to…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
2
votes
1 answer

Use different shading in the same figure

Is it possible to use different shading types in the same figure? For example this code: figure; hold on surf(1:10,1:10,repmat(1,10,10),rand(10)) shading flat; hold on surf(1:10,1:10,repmat(3,10,10),rand(10)) shading flat; hold…
shamalaia
  • 2,282
  • 3
  • 23
  • 35
2
votes
2 answers

MATLAB Shading region between SEVERAL curves

There are many questions already on this site for something similar: MATLAB, Filling in the area between two sets of data, lines in one figure MATLAB fill area between lines However, all of the existing questions relate to two curves only. How do…
luks
  • 119
  • 1
  • 2
  • 7
2
votes
0 answers

libIGL strange shading on mesh faces

I'm using libIGL to generate a tet-mesh, and would like to visualize this mesh with colors. Each vertex has a different value (result of using the Graph Laplacian to minimize the quadratic energy), and these values have been converted to colors…
nclement
  • 330
  • 2
  • 7
1
vote
0 answers

How to give cel shading material in SceneKit?

I would like to know if it is possible to apply a cel shading effect in SceneKit? When I apply a toon material effect in a 3D app it is never transmitted to SceneKit... so is there a way to do it? Thanks
1
vote
1 answer

How to completely get rid of borders in geom_sf

How can I completely get rid of borders using geom_sf? (The grids were created with st_make_grid.) I have tried color=NA and size=0, but neither do what I want. ggplot() + geom_sf(data = plot_data, aes(fill = as.vector(dist)), color=NA, size=0)…
bill999
  • 2,147
  • 8
  • 51
  • 103
1
vote
1 answer

Shading stock/date plot based on indicator

My problem is that I have some stock prices(numbers) that are plotted against dates(strings). Now I have an indicator variable. I would like to shade the area on the graph for those dates where the indicator is 1 and not shade when it is 0. I'm…
Marc Allan
  • 13
  • 3
1
vote
1 answer

texture Issues when converting gltf to usdz

Whenever I convert a rigged model on blender from GLTF/glb --> USDZ (via reality converter) I face issues of unwanted ridged shading added to the mesh along some edges. This problem does not occur however when the model is unrigged. The difference…
1
vote
0 answers

Change Cell based on File Rename

First question on here. I am learning VBA and trying to use it for practical work. I have loads of zip files, and in each zip there is a specific file that I need to extract and rename. I use Excel to list those files and rename them automatically…
1
vote
1 answer

Textures on material import into Unity3D as empty materials

i'm currently doing a project as a hobby using Blender3D and Unity3D. I build an object in Blender that had 2 materials and textures with a Neon effect (Specifically with Emission Shader) but as soon as i import that object in Unity, i lose…