Skip to main content

Questions tagged [lighting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
51 views

ContourPlot3D uniform color regardless of view point

Working with ContourPlot3D I need my 2-surface to have the same color regardless of the viewpoint. However, when I rotate the figure, the darkness of the color changes. These two images belong to the ...
tupoliedro's user avatar
6 votes
3 answers
447 views

How to create a specific lighting in 3D graphics for a disk?

I am trying to get a 3D disk with gradient lighting that is darker at the center and gradually goes white at the edges. I managed to get the correct lighting but could not make it a circular shape ...
MMA13's user avatar
  • 4,644
4 votes
2 answers
201 views

Graphic3D, white face, black edge in any view?

Graphics3D[ Cuboid /@ Complement[Tuples[{1, 2, 3}, 3], {{1, 2, 3}, {3, 1, 3}}], ViewPoint -> {45.42, -83.46, 31.83}, Boxed -> False] Above code generates ...
imida k's user avatar
  • 4,315
5 votes
2 answers
194 views

Lighting a ListPlot3D with a Texture

I want to apply Lighting to some ListPlot3Ds with Texture applied, but it's not taking as it ...
Chris K's user avatar
  • 20.3k
1 vote
2 answers
88 views

How to create a Manipulate Object with an extra field that depends on what is selected in earlier fields?

I am interested in exploring the new MaterialShading function. I have created a Manipulate object with two fields for making a Graphics3d object of ExampleData's built-in cases. The first parameter ...
Peter Burbery's user avatar
2 votes
0 answers
99 views

Why do Spheres with negative radius appear dark?

If I run the following, Graphics3D@{Blue, Sphere[{0, 0, 0}, 1], Sphere[{3, 0, 0}, -1]} I find that the positive radius sphere is properly lit as one would expect, ...
Kai's user avatar
  • 2,099
3 votes
0 answers
74 views

Visible point light

Is there a way to create a visible light sphere for point light? The default behavior is the following: And the desired is the following: I'm working in mathics-threejs-backend, the 3d graphics ...
Tiago Cavalcante's user avatar
0 votes
0 answers
50 views

Graphics3D default properties? [duplicate]

I realized that it is impossible to reproduce default sphere only by declaring its color. ...
imida k's user avatar
  • 4,315
3 votes
1 answer
167 views

Extracting Lighting specs used in a Graphics3D object

I'm getting a plot which is mostly fine with Lighting->Automatic, but a bit too dark. How do I go about getting the Lighting specification used in the plot so I ...
Yaroslav Bulatov's user avatar
3 votes
0 answers
72 views

How to implement backscattering in Graphics3D?

First of all, I'll explain what I mean. Here's a picture, where on the left is the result of ...
user6130990's user avatar
0 votes
0 answers
63 views

Plot3D lighting issue [duplicate]

Plot3D is giving me very weird lighting. If I run the following line of code from the Plot3D documentation. ...
flyingmind's user avatar
2 votes
2 answers
213 views

Why is Graphics3D lighting different when rotating? [duplicate]

Mathematica v12.1 on macOS Catalina 10.15.5. I'm getting weird Lighting behavior in Graphics3D in the sense that the rendered ...
bmclaurin's user avatar
  • 351
3 votes
1 answer
245 views

3D graphics render as though no illumination

As you can see from the image below, when I plot 3D surfaces, regions, etc, they render as though there was no light source (left is Mathematica's help documentation, right is how it renders for me): ...
Richard Burke-Ward's user avatar
3 votes
0 answers
65 views

Occlusion of faces and edges with ViewMatrix

The code below should produce a red cube behind a green cube, in turn behind a blue cube. I intend the matrices tmat and pmat to ...
Simon's user avatar
  • 1,435
6 votes
1 answer
298 views

Combining 3D graphics with different lighting conditions

I would like to create a 3D graphic of the bust of Beethoven with specified lighting position, as well as a small (colored) set of axes. I would like the axes to not be affected by the position of ...
David G. Stork's user avatar
2 votes
1 answer
186 views

Weird lighting for spherical plot

Consider the following code : ...
StarBucK's user avatar
  • 2,174
2 votes
3 answers
309 views

True neutral lighting in ParametricPlot3D

I would like to generate a sphere with uniform surface brightness: ...
David G. Stork's user avatar
10 votes
2 answers
346 views

Simulate the appearance of a plane illuminated by a nearby point source

I'd like to simulate the appearance of a diffusely reflecting plane surface illuminated by a nearby point source. ...
David G. Stork's user avatar
13 votes
1 answer
315 views

Option Lighting in the Show function does not work

Bug introduced in 11.2 or earlier and persisting through 13.0 There are something wrong when I try to evaluate the example from Lighting Docs, here is the code: <...
Ren Witcher's user avatar