Need help with UI - Will provide compensation for your expertise

, ,

Hello everyone!
I am running into a roadblock on my three.js journey.

I wanted to create a stand-alone model viewer. I have learned a lot, but it appears that I still lack a great deal of knowledge that might be an easy task for all of you. :slight_smile:
Therefore, I am looking for guidance for completing my project or can provide a functional code; and I would love to discuss compensation for whomever can help me achieve this.

I am interested in displaying a complex model (GLB) on iPad. Much like the Autodesk Online Viewer.
I would like to have the ability to highlight that part and display the part name (in a separate CSS window) when that specific part of the model is selected. (Touch interactions and/or submenu would be a plus!)
Due to the high number of parts in the model, the part name would need to be automated from the model. It’s been suggested that Ant Design or Material UI could be implemented for this.

Further details:
The model I have is fairly detailed with I high number of individual parts.
I currently have code exactly how I want to see the model, but I just don’t have the knowledge to highlight the model parts and complete the UI for the model tree.

If anyone would like to help, I would be forever grateful!
I don’t have allot but I would certainly discuss compensation if someone would like tackle the functional code.

Here’s my code below, and I can provide a link to the model if it helps:

Thank you all for your time


		let container, scene, clock, camera, renderer, model;
		function init(){
		/* Container */
			container = document.querySelector('.model-frame');
		/* Scene */
			scene = new THREE.Scene();
                            /*scene.background = new THREE.Color( 0xadb8bf );*/
		/* Clock */
			clock = new THREE.Clock();
			const loadingManager = new THREE.LoadingManager( () => {
			const loadingScreen = document.getElementById('loading-screen');
		/* Camera */
			const fov = 35
			const aspect = container.clientWidth/container.clientHeight;
			const macro = 0.1;
			const tele = 1000;
			camera = new THREE.PerspectiveCamera(fov,aspect,macro,tele);
			camera.rotation.y = .55;
		/* Lights */
			am = new THREE.DirectionalLight(0xb9e4ee,2);				
			pm = new THREE.DirectionalLight(0x444444,3);
			am.castShadow = true;
			pm.castShadow = true;
			const kelvin = 0xc4c4c4;
			const watt = 2;
			primeLight = new THREE.PointLight(kelvin,watt);
			rightRim = new THREE.PointLight(kelvin,watt);
			leftRim = new THREE.PointLight(kelvin,watt);
			backRim = new THREE.PointLight(kelvin,watt);
			scene.add(primeLight, rightRim, leftRim, backRim);
		/* Maintenance */
			/* Grid */
			const grid = new THREE.GridHelper( 20, 20, 0xffffff, 0x555555 );
			/* Light Placement */
			var geometry = new THREE.BoxGeometry( 5,5,5 );
			var material = new THREE.MeshPhongMaterial( { color: 0xbadbde, wireframe: false });
			var cube = new THREE.Mesh( geometry, material );
			var cube2 = new THREE.Mesh( geometry, material );
			var cube3 = new THREE.Mesh( geometry, material );
			var cube4 = new THREE.Mesh( geometry, material );
			/*scene.add( grid, cube, cube2, cube3, cube4 );*/
		/* Renderer */
			renderer = new THREE.WebGLRenderer({antialias:true,alpha:true});
			renderer.toneMapping = THREE.ReinhardToneMapping;
			renderer.toneMappingExposure = 1.75;
			renderer.shadowMap.enabled = true;
		/* Controls */
			controls = new THREE.OrbitControls(camera,renderer.domElement);
			controls.minDistance = 10;
			controls.maxDistance = 40;
		/* GLTF */
			let loader = new THREE.GLTFLoader( loadingManager );
				model = gltf.scene.children[0];
				model.traverse(n => {
					if(n.isMesh) {
						n.castShadow = true;
						n.receiveShadow = true;
					if( = 16;
		/* Logic */
		function animate(){
		function onWindowResize() {
			camera.aspect = container.clientWidth / container.clientHeight;
			renderer.setSize(container.clientWidth, container.clientHeight);
		window.addEventListener("resize", onWindowResize);
		function onTransitionEnd( event ) {;

Tbh, neither highlighting the model, nor building a UI requires much knowledge - for the first you would just need raycasting (there’s approximately exactly 1 billion topics about that around here, also quite a few official examples); for the second you just need to spend a lot of time on CSS (regardless how much experience you have, it’s always annoying and never works the way you’d want it to.)

Imo this kinda belongs in #jobs category, since there’s no question, help request, or problem - you just want someone to do all the work for you (and nothing’s wrong with that, feel free to DM me, but it’s still a job, not a help request.)

Thanks mjurczyk
My apologies, I have updated the category an will DM with more detail

This topic was automatically closed after 30 days. New replies are no longer allowed.