#Animating a Scene

16 messages · Page 1 of 1 (latest)

tawdry horizon
#

everything is possible but threejs does not have an event layer, pointer events, nothing like that exists. all you can do is shoot a ray through the scene and pick up the objects that were hit, which is the basis for something like pointer events, but this stuff gets madly complex

oak token
#

I guess, I'll do that at last

#

I sadly only have minor programming skills, so I guess I'll have to dig me into this

tawdry horizon
#

threejs journey is a good entrance if you can afford it

#

but whatever you do, with vanilla most of the code you'll write has nothing to do with three, it's mostly boilerplate that you will repeat over and over again, re-inventing the wheel. it's not fun having an idea and being blocked by silly monkey work, like dom event bubbling 😛

oak token
oak token
oak token
tawdry horizon
#

no, its just pubsub subscriber

#

it can fire arbitrary events, orbitcontrols for instance fires "start" "end" and so on, but it has nothing to do with dom pointer events

oak token
#

Ah! So it's more for like backend stuff?

#

I'll look up some tuts on react and threejs and if it's okay for you, I would let you know if I'm struggeling somewhere

tawdry horizon
#

it is just a subscription mechanism for arbitrary events of any kind. any class can use or implement it and shoot random events

oak token