Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

129
Visualizações
Three.js, setting devicePixelRatio for rendering CSS3DRenderer

I would like to render a <div> (in my case it's one of the ECharts) with Three.js CSS3DRenderer and combine it with WebGL content, but with fixed width and height, the rendering quality is not good when zooming in as it was rendered with fixed width and height. Therefore, I wonder is there a way to increase the rendering resolution when rendering the <div> with CSS3DRenderer (NOT the devicePixelRatio of <div>)? Thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I wonder is there a way to increase the rendering resolution when rendering the with CSS3DRenderer

No, that is not possible. The renderer just transforms HTML elements. In this context, you as a developer have no influence on the element's resolution. CSS3DRenderer.setSize() only allows to define the size of the renderer's container element.

If you need charts that stay sharp even when zooming in, you might want to rely on ECharts's SVG rendering.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda