Re: [osg-users] OSG to OptiX integration from 2012

2019-08-11 Thread Chris Hanson
Interesting! Thanks!

I'm trying to picture how it would all fit together.

On Sat, Aug 10, 2019 at 3:14 PM Uwe Woessner  wrote:

> Hi Chris,
>
> if you are looking for raytracing osg scenes in general and not OptiX
> specifically, you could also have a look at
> https://github.com/szellmann/visionaray
> There is a visionaray plugin for OpenCOVER which is our OpenSceneGraph
> based renderer. You find it here: https://github.com/hlrs-vis/covise
>
> Regards,
>  Uwe
> Am 03.08.2019 um 12:09 schrieb Raymond de Vries:
>
> Hi Chris,
>
> I am looking through old mail and saw your questions. I have seen the code
> and as far as I can remember it was not used for rendering. It was not open
> source.
>
> Send me a PM for more details if you like.
>
> Cheers
> Raymond
>
>
> On 7/12/2019 9:09 AM, Chris Hanson wrote:
>
>
> While looking into using Nvidia RTX ray tracing of an OSG scene, I came
> across this document from 2012:
>
> http://on-demand.gputechconf.com/gtc/2012/presentations/S0319-Advanced-Driver-Assistance-System-Testing-Using-OptiX.pdf
>
>
> It discusses using a plugin to convert an OSG scene to an OptiX scene,
> which is then rendered in OptiX.
>
> Has anyone ever seen or used this code? Was it open source? It may be
> dated, but it would be a starting point for new work.
>
> With AMD getting into the ray tracing game, it would be nice to have a way
> to portably ray trace scenes on either NVidia or AMD (or Intel) GPUs, but I
> don't see anything stepping into that space yet. I saw the beginning of a
> Vulkan ray tracing library:
> https://www.phoronix.com/scan.php?page=news_item&px=vRt-Vulkan-Ray-Tracing
>
>
>
>
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
> http://www.alphapixel.com/
> Training • Consulting • Contracting
> 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4
> • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
> Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
> osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
> iPhone/iPad/iOS • Android
> @alphapixel  facebook.com/alphapixel (775)
> 623-PIXL [7495]
>
>
> 
>  Virus-free.
> www.avg.com
> 
> <#m_-9197646288685099483_m_-3032979047212774810_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ___
> osg-users mailing 
> listosg-users@lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> ___
> osg-users mailing 
> listosg-users@lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> --
>
>\\\|/// *HLRS, High Performance Computing Center Stuttgart*
>  _I_   ( o o )*Visualization/VR* _I_
> (_@_)--oo0O--(_)--O0oo--(_@_)
>  | | Dr.-Ing. Uwe Woessner  http://www.hlrs.de/people/woessner/  | |
>  | |   .ooo0 mobile: +49-173-7028729 | |
>  |_|   (   )  Oooo. office: +49-711-6856-5790|_|
> (_@_)---\ (---(   )-(_@_)
>   I  \_)   ) /I
>   (_/
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel  facebook.com/alphapixel (775)
623-PIXL [7495]
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Fixed pipeline lighting to shaders

2019-08-11 Thread Chris Djali
Hi,

ShaderGen from 3D Labs is an old tool that can generate equivalent GLSL 1.2 
shaders for a fairly large subset of FFP state. I've used it a fair amount to 
sanity-check things. If you just want a basic shader as a start point to drop 
into an FFP application, it's pretty good, but there are definitely things it 
doesn't cover.

Cheers,
Chris

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





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


Re: [osg-users] Shininess without Material

2019-08-11 Thread Chris Djali
Hi,

Fixed-function materials can track either the material colour or the vertex 
colour depending on if glColorMaterial is used, so you can probably get the 
behaviour you want by setting a material on the stateset as before, but 
changing its mode so that (for example) the diffuse and ambient colours track 
the vertex colour.

Cheers,
Chris

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





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