Re: [osg-users] Paint splashes / How do I decal?

2017-03-08 Thread Sebastian Messerschmidt

Hi,



Ok wow but what does it mean?

Screen space sounds evil. I can't really get any hard results on Google for it.
Basically the first hit gives an implementation guideline and links to 
the other techniques I've mentioned:


http://martindevans.me/game-development/2015/02/27/Drawing-Stuff-On-Other-Stuff-With-Deferred-Screenspace-Decals/

where the latter works if you have at least a depth buffer in your FBO..


Cheers
Sebastian


Thank you!

Cheers,
Johny

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70447#70447





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Paint splashes / How do I decal?

2017-03-08 Thread Johny Canes
Hi,

Ok wow but what does it mean?

Screen space sounds evil. I can't really get any hard results on Google for it.

Thank you!

Cheers,
Johny

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70447#70447





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Paint splashes / How do I decal?

2017-03-07 Thread Sebastian Messerschmidt



Hi Johny

And why not a geometry approach?
You can totally use 3d models, but that might induce z-fighting, sorting 
problems etc. Another option is of course using a world-space spanning 
texture per object-instance and managing drawing to this texture at the 
right spots. This isn't very memory friendly however.


It seemed to me, that you have a multipass-shader implementation anyways 
so using screen space decals might be the best option. (And I've got 
good experiences using it)


Cheers
Sebastian



SMesserschmidt wrote:

Hi Johny,



Here's Johny!

I'd like to know how to pick a 3d point in my model onto which a decal will 
nearly wrap itself around to. Am I using the right word here, or does Open 
Scene Graph not have this feature? Before I'm rigging my app with a custom 
decal, I'd like to know what's available, or what tools I can already work with.


There is no specific API, but you can use projective texturing or
screenspace decals (using FBO and shaders).

Cheers
Sebastian



Thank is great.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70417#70417





___
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



___
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

 --
Post generated by Mail2Forum



--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70419#70419





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Paint splashes / How do I decal?

2017-03-07 Thread Johny Canes
And why not a geometry approach? 


SMesserschmidt wrote:
> Hi Johny,
> 
> 
> > Here's Johny!
> > 
> > I'd like to know how to pick a 3d point in my model onto which a decal will 
> > nearly wrap itself around to. Am I using the right word here, or does Open 
> > Scene Graph not have this feature? Before I'm rigging my app with a custom 
> > decal, I'd like to know what's available, or what tools I can already work 
> > with.
> > 
> There is no specific API, but you can use projective texturing or 
> screenspace decals (using FBO and shaders).
> 
> Cheers
> Sebastian
> 
> > 
> > Thank is great.
> > 
> > --
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=70417#70417
> > 
> > 
> > 
> > 
> > 
> > ___
> > osg-users mailing list
> > 
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > 
> > 
> ___
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  --
> Post generated by Mail2Forum


--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70419#70419





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Paint splashes / How do I decal?

2017-03-07 Thread Sebastian Messerschmidt

Hi Johny,


Here's Johny!

I'd like to know how to pick a 3d point in my model onto which a decal will 
nearly wrap itself around to. Am I using the right word here, or does Open 
Scene Graph not have this feature? Before I'm rigging my app with a custom 
decal, I'd like to know what's available, or what tools I can already work with.
There is no specific API, but you can use projective texturing or 
screenspace decals (using FBO and shaders).


Cheers
Sebastian


Thank is great.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70417#70417





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Paint splashes / How do I decal?

2017-03-07 Thread Johny Canes
Here's Johny!

I'd like to know how to pick a 3d point in my model onto which a decal will 
nearly wrap itself around to. Am I using the right word here, or does Open 
Scene Graph not have this feature? Before I'm rigging my app with a custom 
decal, I'd like to know what's available, or what tools I can already work with.

Thank is great.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70417#70417





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org