nv path rendering example

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

nv path rendering example

siddharth.cmdz
hi all,

Im new to jogl and to this community. I see that there are entry points for nv path rendering for 2d contours and text. Is there any example/demo code to exercise these entry points?

thanks
Reply | Threaded
Open this post in threaded view
|

Re: nv path rendering example

gouessej
Administrator
Hi

I think that there is no JOGL example but you should look at examples in plain C and port them:
https://www.opengl.org/registry/specs/NV/path_rendering.txt
http://developer.download.nvidia.com/assets/gamedev/files/Getting_Started_with_NV_path_rendering.pdf
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: nv path rendering example

Sven Gothel
Administrator
In reply to this post by siddharth.cmdz
On 09/10/2014 12:55 AM, siddharth.cmdz [via jogamp] wrote:
> hi all,
>
> Im new to jogl and to this community. I see that there are entry points for nv
> path rendering for 2d contours and text. Is there any example/demo code to
> exercise these entry points?

Not from JOGL, colleagues and myself prefer to use our platform agnostic GPU
graph curve rendering.

~Sven



signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: nv path rendering example

siddharth.cmdz
interesting...sven what platform agnostic curve rendering toolkit do you use? openvg? are there any benefits/advantages/disadvantages of using those against nv path rendering? We support only nvidia cards so nvidia extensions are fine.

-Siddharth
Reply | Threaded
Open this post in threaded view
|

Re: nv path rendering example

Sven Gothel
Administrator
On 09/10/2014 06:55 PM, siddharth.cmdz [via jogamp] wrote:
> interesting...sven what platform agnostic curve rendering toolkit do you use?

Graph, see the jogamp.org front page, one of our many BOF slides/videos
and ofc the online demo @
  https://jogamp.org/deployment/jogamp-current/jogl-test-applets.html

- Text and UI rendering via Graph
- 2nd column, 1st + 2nd row - as well as 1st column, 3rd row

See our TODO list:

<https://jogamp.org/wiki/index.php/SW_Tracking_Report_Objectives_for_the_release_2.3.0#Graph>

~Sven



signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: nv path rendering example

siddharth.cmdz
thanks I'll look into them sven, and thanks gouessej for your suggestion.
Reply | Threaded
Open this post in threaded view
|

Re: nv path rendering example

gouessej
Administrator
You're welcome. I prefer Sven's suggestion as there are 2 patents on NV_path_rendering as far as I know. My main concern is that I have nothing to suggest for the fixed pipeline, the Graph API requires shaders.
Julien Gouesse | Personal blog | Website