question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SVGRenderer does not call onBeforeRender/onAfterRender

See original GitHub issue
Description of the problem

Object3D.onAfterRender and Object3d.onBeforeRender is correctly called upon by WebGLRenderer but not by SVGRenderer.

Three.js version
  • Dev
  • r110
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, …)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Mugen87commented, Feb 22, 2020

I’m inclined to go with Won’t fix on this one.

I vote for doing this since I can’t see a way to properly implement this feature request.

1reaction
mrdoobcommented, Feb 21, 2020

Unlike the other renderers, SVGRenderer does not render the scene object by object. Instead, it uses Projector to produce an array of renderable elements (THREE.RenderableSprite, THREE.RenderableLine and THREE.RenderableFace).

True! Forgot about that… I’m inclined to go with Won't fix on this one…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Import Highcharts module SvgRenderer failed - Stack Overflow
Try this (Highcharts as any).SVGRenderer Not clean but you it's a workaround. Otherwise you can import {Renderer} from 'highcharts' ...
Read more >
Class: SVGRenderer - Highcharts API
Create a wrapper for an SVG element. Serves as a factory for Highcharts.SVGElement, but this function is itself mostly called from primitive factories...
Read more >
Property 'SVGRenderer' does not exist on type 'Static' #211
Hi, I'm trying to make a custom symbol using SVGRenderer as below getGraph(pattern, data, xAxis, title, chartType, lineWidth, lineWidthPlus, ...
Read more >
Import Highcharts module SvgRenderer failed - Anycodings.com
Try this (Highcharts as anycodings_angular any).SVGRenderer Not clean but you it's anycodings_angular a workaround. Otherwise you can
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found