Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

89
Views
How do i dynamically present different 3D models into next js app on same template?

I am trying to make a next js app to display multiple 3D GLTF blender models, I have all models in a folder named models in public directory. I want to make a efficient method like using md files which I can add to a folder and it specifies path to the model and some info about model and inject all of that data in this page down below

export default function Model() {

  const [ top,setTop ] = useState(0)

  function ShowSecond(){
    if(top==0){
      setTop(1)
    }else{setTop(0)}
  }

  return (
    <div className="Model_Display">

      <div className="Model_Display_Canvas">
        <Canvas className=''>
          <ambientLight intensity={0.5} />
          <directionalLight position={[-2, 5, 2]} />
          <OrbitControls/>
          <Box/>
        </Canvas>
      </div>
      <div className="Model_Display_Canvas_1 " style={{opacity:top}}>
        <p></p>
      </div>

      <div className="Model_Display_Menu">
      <Image
        onClick={ShowSecond}
        src={'/img/navbar/menu.png'}
        width={40}
        height={40}
      />
    </div>
    </div>
  )
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!