Hello,
I'm searching for a way to draw wireframe objects with a halo. Which technique would you recommend?
Thanks in advance for any answer.
azerty
How to draw wireframe objects with a halo
-
- Competition winner
- Posts: 688
- Joined: Mon Sep 10, 2012 8:51 am
Re: How to draw wireframe objects with a halo
What do you mean? Do you have an example image? Is the entire object a wireframe mesh but not the halo or is the halo also a wireframe mesh?
As I recall, I believe you can tell irrlicht to draw wireframe. I'd start by checking the SMaterial flags.
As I recall, I believe you can tell irrlicht to draw wireframe. I'd start by checking the SMaterial flags.
Re: How to draw wireframe objects with a halo
Hi,
@chronologicaldot
Here is an example image: https://docs.google.com/file/d/0Bys1p-N ... sp=sharing
SMaterial.Thickness is for 2D, how to draw bigger lines in wireframe mode?
Thanks in advance,
azerty
@chronologicaldot
Here is an example image: https://docs.google.com/file/d/0Bys1p-N ... sp=sharing
SMaterial.Thickness is for 2D, how to draw bigger lines in wireframe mode?
Thanks in advance,
azerty
Re: How to draw wireframe objects with a halo
I see no halo in that pic?
Re: How to draw wireframe objects with a halo
Hi,
@hendu
The image is an example of a scene I want to glow.
I've been advised to use a render texture and a shader. Are there other ways to do it?
Thanks for any reply,
azerty
@hendu
The image is an example of a scene I want to glow.
I've been advised to use a render texture and a shader. Are there other ways to do it?
Thanks for any reply,
azerty
Re: How to draw wireframe objects with a halo
That is the most usual way, yes. You can also add billboard scene nodes with a halo texture, but those are better for example for light sources like street lamps etc. In your case, post processing(rendering to a render texture and then altering that texture. Or you can also render to two textures - one the color, the other a "glow map" that marks the areas to receive glow for increased quality) seems to be a good approach.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps
Step back! I have a void pointer, and I'm not afraid to use it!
Height2Normal v. 2.1 - convert height maps to normal maps
Step back! I have a void pointer, and I'm not afraid to use it!
Re: How to draw wireframe objects with a halo [SOLVED]
Hi,
I've implemented the technic described in the following URL: http://devmaster.net/posts/3100/shader- ... glow-bloom
Here is the result:
I've implemented the technic described in the following URL: http://devmaster.net/posts/3100/shader- ... glow-bloom
Here is the result: