You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[1.10.9. Run application (Firefox only)](#step-run-ff)
16
+
*[1.10.10. Run application (All browsers)](#step-run)
37
17
38
18
<aname="overview"/>
39
19
@@ -50,7 +30,7 @@ under Linux for Web. The application displays provided model with simple GLSL sh
50
30
* OpenSceneGraph model (see [1.1. Create a cube](../1.1.CreateCube))
51
31
* CMake and git installations (see [1.2. Install OpenSceneGraph under Linux](../1.2.InstallUnderLinux))
52
32
* OpenSceneGraph sources (see [1.2. Install OpenSceneGraph under Linux](../1.2.InstallUnderLinux))
53
-
* sample OpenSceneGraph application sources (see [1.5. Build and run sample OpenSceneGraph application under Linux](../1.5.SampleUnderLinux))
33
+
* sample OpenSceneGraph application sources (see [1.5. Build and run sample OpenSceneGraph application under Linux](../1.5.SampleUnderLinux))**alongside OpenSceneGraph sources**
54
34
55
35
<aname="video"/>
56
36
@@ -123,185 +103,106 @@ Watch the video to see all details.
a box model and `RenderVC`. `RenderVC` is a view controller that renders
260
-
the model with osgNativeLib.
261
-
262
-
<aname="step-add"/>
263
-
264
-
1.9.13. Add copied files to the project
265
-
---------------------------------------
266
-
267
-

268
-
269
-
For Xcode to see the files, they should be added to the project.
270
-
271
-
<aname="step-main"/>
176
+

272
177
273
-
1.9.14. Select RenderVC as the main interface
274
-
---------------------------------------------
178
+
To run sample application in Firefox web browser,
179
+
navigate to the build directory and open `sample-ems.html` file.
275
180
276
-

181
+
You should see red cube displayed.
277
182
278
-
Go to `General` project page and select `RenderVC.storyboard` as
279
-
the main interface.
183
+
**Note**: you can simply open local file, because Firefox supports [XHR requests for local files](http://kripken.github.io/emscripten-site/docs/getting_started/Tutorial.html).
280
184
281
-
<aname="step-headers"/>
185
+
<aname="step-run"/>
282
186
283
-
1.9.15. Reference osgNativeLib headers
187
+
1.10.10. Run application (All browsers)
284
188
--------------------------------------
285
189
286
-

287
-
288
-
Since we have not added osgNativeLib headers to the project, we should
289
-
reference them to be able to call osgNativeLib functions.
290
-
291
-
Go to project's `Build Settings`, find `Header Search Paths` section,
Copy file name to clipboardExpand all lines: 1.9.SampleUnderIOS/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ under iOS. The application displays provided model with simple GLSL shaders.
36
36
* OpenSceneGraph model (see [1.1. Create a cube](../1.1.CreateCube))
37
37
* Xcode and CMake installations (see [1.4. Install OpenSceneGraph under macOS](../1.4.InstallUnderMacOS))
38
38
* OpenSceneGraph sources (see [1.4. Install OpenSceneGraph under macOS](../1.4.InstallUnderMacOS))
39
-
* sample OpenSceneGraph application sources (see [1.7. Build and run sample OpenSceneGraph application under macOS](../1.7.SampleUnderMacOS))
39
+
* sample OpenSceneGraph application sources (see [1.7. Build and run sample OpenSceneGraph application under macOS](../1.7.SampleUnderMacOS))**alongside OpenSceneGraph sources**
0 commit comments