thank you for opening and reading this topic first of all - Im a beginner into the mix of 3D, blender and Three.js and would like to use some of your insights.
I have programming background and also did some things in the 3D as a kid so Im not too worried but I know I still need to digest and learn a lot.
I found a scene, that I personally like a lot but still while looking at it I do have some open questions and would like you to help me answer them.
My questions (not only about this particular scene but overall):
Typical workflow when I would like to achieve similar results would be:
- Create scene
- Add textures
- Create animations
- Save model and import into three.js
- Three.js magic - done, correct?
Yet still a lot of open questions:
Do you add textures in Blender or separate program?
Are the textures then a part of the exported file or are they separated?
What file format is best suited for this?
I read that glTF is preferred 3D format for Three.js - but does that contain textures?
Lets say that I would like to change the color of the TRAM in the scene, but the car has “baked” textures - can I achieve thay in any way?
If textures are baked in but I still would like to be able to change while running the scene in three.js what would be the correct approach?
Changing the color of certain faces of the 3d object would help? But how would I know which face is the correct one to change color? Lets say yellow part of the TRAM.
Lets imagine I would like to have a mesh of a TRAM that is in tact and one that is DAMAGED - shape stays the same, just the texture changes, swapping textures is the best approach?
But what if I have a object, lets say that has multiple parts of textures that I would like to change? Imagine a simple MINECRAFT character. Something like this:
What would be the best approach to change the textures for 4 types of eyes, 4 types of mouth, 4 types of hair? I dont think that having 444 = 64 textures is the way what would be the best approach? Divide the face into “sub-objects?” “Partial texture”?
As I understand it, animations are parts of the exported file. Correct?
I can make them in blender or different 3rd party software. I found MIXAMO from Adobe. What is the work flow then? I export a static object form blender, import it into MIXAMO and mixamo “enhances” the file with animation parts? Correct?
I then Import the exported file into three.js and have access to the animations, correct?
Ok and now:
Lighting - I figured that most of the models, either when bought or when made, do not contain any lightning. Its just the MESHe and thats it. Lightnin has to be done in THREE.js. Correct?
So there is no way on how to export also lights (position, types, values, etc) from blender?
I see a textured surfaces - mesh which looks good, but I also see shadows and good lightning. Can I “purchase” and import that into Three.js too or that is no the case? Is it the case that Three just takes the objects but no lightning?
And now the trickiest question of all:
IF you have to recreate the lightning scene for example - ok, but how to create (and export and import) an object of which some parts should be GLOWing in Three.js.
I totally freeze and cant imagine the way on how to achieve this. Do I do the lightning in Three.js, but how come that parts EMIT LIGHT (glow)? Do I add GLOW in threeJS? On specific surfaces? Or do I export whe whole scene with glow and lights from blender and import it into three.js?
You see? There are some quite important questions open in my mind when it comes to the process “from blender - to three and web” and I somehow cant really find good/best approaches on how to achieve the desired results - or at least understand “how its done”.
If you, please - find some time and read this through, write me few words to my questions and help me please to advance a lot more efficiently
Thank you very very much