Robert,<br><br>I can't use Multipass technique because my viewer doesn't support pre-cameras. <br><br>It is my intention to use Multi-pass when I can resolve the viewer issues, but in the meantime, I'd appreciate some guidance on my original question.<br><br>Alex<br><div class="gmail_quote"><div dir="ltr">On Tue, May 24, 2016 at 6:12 AM Robert Osfield <<a href="mailto:robert.osfield@gmail.com">robert.osfield@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alex,<br>
<br>
The osgVolume::MultipassTechnique supports mixing geometry with the<br>
volume and constraining to a convex hull geometry. This is what you<br>
should use instead of FixedFunctionTechnique, the only reason to use<br>
this now is that you've have completely hopeless hardware+drivers that<br>
are incapable of doing proper volume rendering.<br>
<br>
Robert.<br>
<br>
On 23 May 2016 at 22:49, Alex Taylor <<a href="mailto:alextaylor@gmail.com" target="_blank">alextaylor@gmail.com</a>> wrote:<br>
> Hey all,<br>
><br>
> From previous posts, I understand clearly that FixedFunctionTechnique is the<br>
> worst of the osgVolume techniques in terms of both speed and quality of<br>
> results.<br>
><br>
> However, due to some specific requirements of the application I'm trying to<br>
> build (need for clipping to a bounding box, need to insert other geometry<br>
> into scene) and limitations in the osgViewer in my environment (no support<br>
> for pre-cameras), FixedFunctionTechnique may be something I have to<br>
> consider.<br>
><br>
> I was wondering, I understand that createNormalMapTexture is to allow for<br>
> lighting with FixedFunctionTechnique. What does one do with the resulting<br>
> array of normal vectors once you call createNormalMapTexture? Is there an<br>
> interface somewhere to pass the normals? How would one use<br>
> createNormalMapTexture to implement lighting when using<br>
> FixedFunctionTechnique?<br>
><br>
> - Alex<br>
><br>
> -<br>
><br>
> _______________________________________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
><br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>