Logo

Daniel Haehn's Personal Meeting Room - Shared screen with speaker view
Tony Chau
10:00
Good afternoon.
James Michaud
10:07
Hello!
Michael OToole
14:04
Thank you!
Michael OToole
16:38
cs460
James Michaud
17:10
I figured out why the shading appears off. The THREE.DirectionalLight entity had an intensity of 5, which washed everything out.
James Michaud
22:34
I used 1.
Jakub Rodzik
22:52
there's a castShadow attribute that's set to false by default
James Michaud
23:13
Could move the light position to 10, 100, 100.
James Michaud
23:18
I did not turn on cast shadows
Jakub Rodzik
23:19
I forget, I looked into it last class
Jakub Rodzik
23:43
https://threejs.org/docs/#api/en/lights/AmbientLight
James Michaud
23:46
Give ambient light: 0x404040, 1
Jakub Rodzik
23:46
for ambient light
Jakub Rodzik
24:21
ah yeah, I looked at the wrong page then
Anees Rehman (he/him)
26:38
12
Neha Goyal
26:49
2 per phase
Xu Huang Lin
29:01
8
Neha Goyal
29:57
yes
Xiaoqian Zhang
29:58
yes
Xiaoqian Zhang
36:50
no
James Michaud
36:52
Heard of it, but don’t know details.
Michael Soohoo
36:55
no
Jesh
46:06
Are v( x,y,z) represented as a function of “v” or simply verticies ?
Jesh
48:41
Thank You
James Michaud
53:08
THREE.TorusKnotBufferGeometry
Michael OToole
53:08
sphere
James Michaud
55:40
Basic doesn’t have shading
Jakub Rodzik
56:24
https://threejs.org/docs/#api/en/lights/DirectionalLight
Jakub Rodzik
56:28
this is the one I meant to send last time
Jakub Rodzik
56:31
it has castShadow
Jakub Rodzik
59:19
I see
James Michaud
59:25
Here’s my lighting / camera setup that seems to work:
James Michaud
59:25
AmbientLight(0x404040, 1);Light = new THREE.DirectionalLight(0xffffff, 1);light.position.set(10, 100, 50);
James Michaud
01:00:32
Material should be Standard
James Michaud
01:00:33
Instead of Basic
Tony Chau
01:01:08
James code worked for me.
James Michaud
01:01:12
shift
Jesh
01:01:22
var directionalLight = new THREE.DirectionalLight( 0xffffff, 0.5 );scene.add( directionalLight );
James Michaud
01:01:37
Hold shift :)
Tony Chau
01:03:32
your color has capital FFFFFF
Tony Chau
01:03:34
NOT A COLOR
Tony Chau
01:03:35
;D
James Michaud
01:04:30
What happens if you add 0x404040 to the AmbientLight?
Xiaoqian Zhang
01:05:27
thanks James
Endong Cao
01:05:45
Ok, thank you very much
Xiaoqian Zhang
01:06:11
thank you Professor
James Michaud
01:06:12
Thank you!
Matthew Soohoo
01:06:14
Thank you Professor
Tony Chau
01:06:15
THanks