Software Rendering

Have jReality programming problems or questions? Post them here.
Post Reply
goetz
Posts: 12
Joined: Sun 7. Jun 2009, 09:48

Software Rendering

Post by goetz » Sat 20. Jun 2009, 11:59

In your tutorial "ViewerFromScratch", it seems like only Software Rendering is used.
Is there any way to test, which kind of rendering is activated? And how can I make Hardware Rendering work?
When I compile the source, it says "initing gl", thats all.

Thanks

Goetz

User avatar
gunn
Posts: 323
Joined: Thu 14. Dec 2006, 09:56
Location: TU Berlin
Contact:

Re: Software Rendering

Post by gunn » Sat 20. Jun 2009, 14:45

Actually this example uses the hardware (JOGL) backend. In this case, to tell which backend is being used, look at the source code here and see the import statement

Code: Select all

import de.jreality.jogl.Viewer;
In general, when using the JRViewer application, check the menu named "View", there are radio buttons for each available backend and the current backend is selected.
jReality core developer

goetz
Posts: 12
Joined: Sun 7. Jun 2009, 09:48

Re: Software Rendering

Post by goetz » Sat 20. Jun 2009, 16:23

Thanks for your answer.

What I rather meant was, that I wondered, why the rendering-speed of the scene in this tutorial is so much slower than the same scene imported into the JRViewer. I thought, the reason might be, that this tutorial uses software-rendering. But, because the JOGL-Viewer of course uses a hardware-backend, this might have been a bug or a configuration-problem :o but I also may be wrong...

User avatar
gunn
Posts: 323
Joined: Thu 14. Dec 2006, 09:56
Location: TU Berlin
Contact:

Re: Software Rendering

Post by gunn » Sun 21. Jun 2009, 10:23

Hmmm.... I don't notice any speed difference on my computer.
jReality core developer

Post Reply