Robert Osfield
7fb37016fd
Merge branch 'master' into text_improvements
2017-10-05 12:14:03 +01:00
Robert Osfield
d2fa7c4317
Simplified and improved the glyph margin computation and usage
2017-09-29 20:21:13 +01:00
Robert Osfield
468d6d8eea
Added command line support for specifying "default" for osgText::DefaultFont
2017-09-29 10:20:59 +01:00
Robert Osfield
726bb13e9a
Improved the setup of the --counter test
2017-09-29 09:54:43 +01:00
Robert Osfield
8c575c0cea
UPdated from OpenSceneGraph-Data with handling of non textured text decoration
2017-09-26 15:32:41 +01:00
Robert Osfield
b6bb0caf8d
Removed debug output
2017-09-21 16:04:10 +01:00
Robert Osfield
4b6722ab44
Added assignStateSet() to Text::setBackgroundColor()
2017-09-21 16:01:27 +01:00
Robert Osfield
12904105f8
Added support for toggling on use of the new SignedDistanceFunction function now built into osgText, just use --sdf to enable.
2017-09-21 15:52:07 +01:00
Robert Osfield
a1f519cbec
Removed debug info
2017-09-21 15:41:21 +01:00
Robert Osfield
fb0a995d7b
cleaned up exmple
2017-09-20 14:30:23 +01:00
Robert Osfield
5ade852172
Added constant sizeing vs changing label size relatve to font resolution, controlled by --constant-size and --scale-size command line options.
2017-09-15 15:14:19 +01:00
Robert Osfield
1e11b89d04
Added --shadow-* command line variants to provide full control over the position of the text shadow
2017-09-13 11:08:51 +01:00
Robert Osfield
0d5a42f635
Added setting of the Text::BackdropImplementation type to USE_SHADERS when setting up shaders
2017-09-12 19:13:01 +01:00
Robert Osfield
f98c23d460
Added extra command line paramter and osgText::Font settings to add better control of osgText::GlyphTexture generation to support signed distance field and outline image data.
2017-09-08 17:03:15 +01:00
Robert Osfield
77d4705182
Added KeyHandler for toggling "SIGNED_DISTANCE_FIELD" and "OUTLINE" #pragma(tic) shader defines to control the different shader paths.
...
Keys to press are 'd' for toggle SIGNED_DISTANCE_FIELD and 'o' for OUTLINE.
2017-09-06 16:53:54 +01:00
Robert Osfield
20ee12e986
To control the GlyphTexture Min/MagFilter values Added --min <value> and --mag <value> filter with LINEAR, NEAREST and LINEAR_MIPMAP_LINER options for values
2017-09-06 10:40:05 +01:00
Konstantin S. Matveyev
ca42523cd0
example_osgtext3d: more options for testing
2017-09-04 11:44:30 +03:00
Julien Valentin
dee9dc2164
a functional cleanup
2017-09-01 01:43:00 +02:00
Julien Valentin
068a032dac
revert s/VertexIndexWeight/IndexWeight/
2017-08-31 13:30:24 +02:00
Julien Valentin
0926bb783d
fix example
2017-08-31 13:29:42 +02:00
Robert Osfield
07a8d082e4
Added --shader filename command line parsing and associated set up of osg::Program to allow shaders to be passed into example to customize rendering
2017-08-30 17:43:29 +01:00
Robert Osfield
81f93e34b8
Added --interval value commnad line option for setting the Font::setGlyphInterval() to experimentation of clamping of glyph images to user specified intervals in the glyph texture
2017-08-30 16:22:25 +01:00
Julien Valentin
8fad310ce1
readd VertexInfluence whenever it's bad named and kinda useless
2017-08-30 15:30:03 +02:00
Robert Osfield
7323bb776b
Added --margin texel_width and --margin-ration ratio to control the spacing between glyphs in the font.
2017-08-30 10:50:26 +01:00
Robert Osfield
20ecd5c60d
Added --test command line option that sets up all the sizes and font settings required for a useufl unit test.
2017-08-30 10:16:18 +01:00
Julien Valentin
fe99b568a0
refactor: remove totally VertexInfluence (renamed BoneInfluenceList) everywhere
2017-08-30 11:12:17 +02:00
Robert Osfield
5566a025b5
Added TextSettings struct to manage values used to set up the text. with the addition of following command line parameters:
...
--outline // enable outlne
--shadow // enable shadow
--offset ratio // set the backdrop offset
--text-color r g b a // set the text body color
--bd-color r g b a // set the shadow/outline color
--bg-color r g b a // window background color
-o filename // write create subgraph to disk using specified filename
2017-08-29 17:19:26 +01:00
Julien Valentin
21bcd61c92
add MorphTransformHW for RigGeometry sources that are MorphGeometry
2017-08-29 14:49:19 +02:00
Robert Osfield
37487b0c0b
Added --ortho command line option to toggle use of orthographic camera or default perspective one
2017-08-29 13:48:06 +01:00
Robert Osfield
c36e47188b
Added argument parsing to viewer constructor
2017-08-29 12:21:14 +01:00
Julien Valentin
4a626cea20
remove VertexInfluenceSet
2017-08-29 00:07:07 +02:00
Julien Valentin
8707086914
fix the example
2017-08-28 17:13:23 +02:00
Robert Osfield
5d55ffe6ee
Merge branch 'osganimation' of https://github.com/mp3butcher/OpenSceneGraph into osganimation
2017-08-28 10:28:18 +01:00
Julien Valentin
ca224c81dd
replace VertexInfluence to BoneInfluenceList
...
and VertexIndexWeight to IndexWeight
fix in example
2017-08-27 05:21:37 +02:00
Michael Kapelko
871d8c54ec
Fix Emscripten build errors
2017-08-26 19:25:00 +03:00
Julien Valentin
2d1aaedb9c
fix osggpucull to fit both new BIB and MDI
2017-08-24 14:20:10 +02:00
Julien Valentin
107b7be95b
Merge remote-tracking branch 'upstream/master' into MDI7
2017-08-24 11:26:23 +02:00
Julien Valentin
3de1ce062c
comply with osg::BufferIndexBinding new design (a miss)
2017-08-24 10:29:19 +02:00
Julien Valentin
d49f0d67af
change the design of BufferIndexBinding to work with BufferData instead of BufferObject
...
allow convenient BufferData abstraction + serialization of BufferIndexBinding
2017-08-24 03:28:55 +02:00
OpenSceneGraph git repository
bfbaecaf49
Merge pull request #300 from eligovision/master
...
Text3D character/glyph size fix
2017-08-16 11:30:14 +01:00
konstantin.matveyev
237ab29ff8
Merge remote-tracking branch 'upstream/master'
2017-08-15 22:15:31 +03:00
konstantin.matveyev
b0ef9b0c42
Text3D character/glyph size fixed
2017-08-15 22:11:15 +03:00
luzpaz
2cd31f65e4
misc. typo fixes
...
mostly non-user-facing but some doxy.
2017-08-15 12:23:49 -04:00
Robert Osfield
7b2dbc603c
Fixed warning
2017-08-15 16:35:23 +01:00
Julien Valentin
9e9d3cd249
fix a bug : indices pre incremented should be post
2017-07-31 03:15:03 +02:00
Julien Valentin
3537460b0e
Add arguments, command line usage and use DrawElementsUInt for classic case
2017-07-31 03:10:19 +02:00
Julien Valentin
aac146c7bc
correct a bug and make it more conservative
2017-07-31 02:43:50 +02:00
Julien Valentin
d810d4a4c0
add a very simple example for mdi with basevertex
2017-07-30 10:28:56 +02:00
mp3butcher
a45c4c8f39
set DIBO of the drawcommandarray directly in their interface constructor
...
it makes osggpu use case lighter + drawcommandarray can't exist without a BO
2017-07-27 12:27:55 +02:00
mp3butcher
104b2dfc72
Promote PrimitiveSetIndirect's VBO to a target explicited DIBO (in order to benefit from BOSet queue management)
2017-07-27 12:13:05 +02:00
mp3butcher
f27c379b1e
some renaming and harmonisations with osg metamodel convention
2017-07-26 23:36:55 +02:00
mp3butcher
5be14bc2ba
first commit for Indirect Draw integration in osg
...
users will have to implement interfaces for their custom drawcommandarrays
add a lot of new primitive set + few defines
integration is made in osggpucull
2017-07-26 21:20:28 +02:00
Michael Kapelko
f992ec1440
Add osgemscripten example
2017-06-22 09:44:06 +07:00
blobfish
69e1df6b65
examples: osgkeyboardmouse: add primitive index to LineSegmentIntersector output
2017-06-04 17:29:57 -04:00
Robert Osfield
502acc19c9
Build fix
2017-05-25 09:54:11 +01:00
Robert Osfield
8c54a49319
Replaced deprecated API usage
2017-05-24 19:39:36 +01:00
Robert Osfield
6d46a35900
Aded --dim-mask mask and --dm mask command line option for setting the PolytopeIntersector::setDimensionsMask().
2017-05-24 18:36:31 +01:00
Robert Osfield
9738d19343
Build fix.
2017-05-11 16:27:20 +01:00
Robert Osfield
a74b4b94a9
Fixes/clean up of KdTree/LineSegmentIntersector/PolytopeIntersector
2017-05-11 15:29:31 +01:00
Robert Osfield
6e1866ac18
Added --points and --lines command line options that do a very simplistic conversion of geometry primitives to points or lines respectively, used to aid testing of intersectors
2017-05-11 15:29:31 +01:00
Robert Osfield
03f73d3aad
Added --double and --float command line options to enable toggling between double and float precision in intersectors
2017-05-11 15:29:31 +01:00
Robert Osfield
40ca018e66
Introduced use of TempaltePrimitiveFunctor and TempaltePrimitiveIndexFunctor as a test of these template classes
2017-05-11 15:29:31 +01:00
Robert Osfield
c9545970ac
Removed redudent bool parameter from TriangleFunctor::operator(Vec3, Vec3, Vec3, bool) so it's now simply TriangleFunctor::operator(Vec3, Vec3, Vec3) as the bool was always false in recently OSG versions.
2017-05-11 15:25:10 +01:00
Robert Osfield
a7d98f80dc
Added ability to pass in command line arguments to the osgkeyboardmouse viewer constructor
2017-05-11 15:25:10 +01:00
Robert Osfield
e09dfb93f1
Added group intersection test that covers the window with 10000 tests, activated by pressing 'a'. I have added this to provide a reproducable intersection test for benchmarking.
2017-05-11 15:25:10 +01:00
Robert Osfield
0a651fef7c
Added support for outputting the model, filename defaults to model.osgt, to override this use -o filename on command line, and to write the file press 'o' key.
2017-05-11 15:25:10 +01:00
Robert Osfield
b77301350b
Added --kdtree command line option and associated invocation of KdTreeBuilder to enable benchmarking.
...
Added timing stats code.
2017-05-11 15:25:10 +01:00
Robert Osfield
728a7f2225
Merge branch 'MultiViewAutoTransform'
2017-05-11 14:35:50 +01:00
OpenSceneGraph git repository
78d232edaf
Merge pull request #254 from tomhog/topic-gles3-ios
...
Topic gles3 ios
2017-05-10 11:13:11 +01:00
Chris White
1f05290982
Added clarifying comments in examples/osggeometry
...
Per reviewer feedback
2017-05-09 15:51:24 -04:00
Chris White
6df273a865
Turned off lighting in examples/osggeometry
...
This way you can see the image and the points even if you view them
close to edge-on.
2017-05-09 15:51:24 -04:00
Robert Osfield
8b2f61ec2a
Addeed support for GLES shaders
2017-05-08 12:27:07 +01:00
Thomas Hogarth
2ce5238cf7
Added more plugins to iOS example, Textures now working on GLES3 (missed so if defineds)
2017-05-04 18:17:30 +01:00
Thomas Hogarth
fe0b53d7f5
Added more plugins and texture shader to iOS example, fixed a couple of missed if defines for GLES3
2017-05-04 00:24:46 +01:00
Robert Osfield
c5b22f341a
Added ability to create windows for each view using -w command line hint.
2017-04-26 09:48:08 +01:00
Robert Osfield
3869714005
Added multiple view support to osgautotransform for testing multi-views
2017-04-25 20:26:26 +01:00
jamie robertson
f16167c3e8
osgbindlesstext example fix : needed to add "viewer.realize()" before the line "viewer.getCamera()->getGraphicsContext()" in order to get a valid graphics context, before viewer.run() is called.
2017-04-07 07:15:30 +01:00
Robert Osfield
43891d6cc1
Removed unneccessary EXT usage
2017-04-07 07:11:57 +01:00
Jamie Robertson
0e69fe6bc6
VS build fix
2017-04-07 07:09:24 +01:00
Konstantin Matveyev
0f04d2f032
Added dynamic update of Text3D test
2017-04-06 10:51:47 +01:00
Robert Osfield
b76e031b30
Experiment with transmitting large UDP massages
2017-03-30 18:21:02 +01:00
Robert Osfield
ad0434c415
Added --ifr-name name command line option to enable the broacaster to customize the ifreq.ifr_name
2017-03-30 17:02:37 +01:00
Robert Osfield
a6baf00956
Reordered command line parsing and replace throw with cout.
2017-03-30 13:21:05 +01:00
Robert Osfield
e2d4ebbe55
Build fixes
2017-03-30 12:55:58 +01:00
Robert Osfield
a292d99308
Build fix
2017-03-30 12:45:25 +01:00
Robert Osfield
80a13f1ac7
Added --address and --port command line parameters to osgoscdevice example
2017-03-30 12:20:45 +01:00
Robert Osfield
eb59590d77
Added handling of large shapes
2017-03-28 18:29:26 +01:00
Robert Osfield
9a786fd8be
build fix
2017-03-28 18:03:16 +01:00
Robert Osfield
1691639d17
Fixed build
2017-03-28 17:45:54 +01:00
Robert Osfield
0b844bc72b
Added StateSetManipulator to assist with QA.
2017-03-28 16:15:57 +01:00
Robert Osfield
e8349b69ca
Fixed warnings
2017-03-28 10:17:44 +01:00
Robert Osfield
1beddd3d29
Fixed file endings
2017-03-23 19:36:01 +00:00
Robert Osfield
d491cac58d
Fixed build
2017-03-23 19:26:21 +00:00
Robert Osfield
81233ba974
Cleaned up osgshaderpipeline removing functionality now automatically provided in the core OSG
2017-03-23 17:59:39 +00:00
Robert Osfield
c0b04cc37b
Introduced new osg::UniformBase class to enable an extensible uniform class hierachy
...
Added osg::UniformTemplate, osg::UniformArrayTemplate and a set of IntUniform, IntArrayUniform etc. to make it easier to interact with basic types more efficiently.
2017-03-23 17:58:34 +00:00
Robert Osfield
5bfefdae6a
Added mapping of texture modes to #define's to inject into shaders where required
2017-03-23 17:42:33 +00:00
Robert Osfield
44c11a856b
Added toggling of the osg::State ::setUseModelViewAndProjectionUniforms() and setUseVertexAttributeAliasing() via the --mv and --va command line options respectively
2017-03-23 17:42:33 +00:00
Robert Osfield
8ee319bbd5
Added set up of root StateSet in the osg::State to enable shaders to be applied for all rendering on a graphics context.
2017-03-23 17:42:33 +00:00
Robert Osfield
d1222fc2ef
Added fallback textures to handle cases where no texture is provided
2017-03-23 17:42:33 +00:00
Robert Osfield
0bcfa8d980
Added shader defines for setting up vertex and fragment shaders with texture support
2017-03-23 17:42:33 +00:00
Robert Osfield
5f875682bf
Added setup of uniform arrays for passing in texture modes
2017-03-23 17:42:33 +00:00
Thomas Hogarth
630af80635
Adusted Font shaders to use gl3 path on gles3, iphone example using inbuilt shaders
2017-03-20 19:35:01 +00:00
Thomas Hogarth
b493657c47
Shaders now using vertex colors
2017-03-20 18:39:56 +00:00
Thomas Hogarth
74abb99b0e
small compile fix for ios viewer example gles1
2017-03-20 18:39:56 +00:00
Thomas Hogarth
7ba2e728cd
GLES3 now working on iOS, tried to maintain support for have bother gles2 and gles3, allowed avfoundation to be added on iOS, improved iOS example cmake generation
2017-03-20 18:39:56 +00:00
Thomas Hogarth
3a6e28da9c
More gles3 tweaks
2017-03-20 18:39:56 +00:00
Robert Osfield
266b57c821
Removed no longer required GL3 shaders as osgText itself now provides shaders
2017-03-18 18:09:12 +00:00
Robert Osfield
2ef8f00e91
Fixed GL3 core profile and shandard shaders to work with new osgText
2017-03-18 11:48:55 +00:00
Robert Osfield
943beb220d
Improved handling of osgText::Text with and wihout shaders
2017-03-18 11:48:55 +00:00
Robert Osfield
5f407b3cc4
Added experimental --shaders path into osgtext example to test out using shaders for text rendering.
2017-03-14 10:43:52 +00:00
OpenSceneGraph git repository
75e4d85681
Merge pull request #211 from D-A-Heitbrink/master
...
Added support for unsigned 64 bit ints + some code for bindless textures
2017-03-11 11:58:20 +00:00
OpenSceneGraph git repository
50649fb2a2
Merge pull request #202 from nicokruithof/master
...
Fixed typo
2017-03-10 17:47:02 +00:00
Robert Osfield
9b32395772
Added --counter test
2017-03-07 13:35:03 +00:00
Robert Osfield
fee826412c
Added --plain test to simply basic text testing
2017-03-07 09:13:29 +00:00
d-a-heitbrink
cfaf72bc56
removed some of the hard coded options in the main funct.
2017-03-01 18:12:46 -06:00
d-a-heitbrink
7b3fc0925c
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-03-01 16:12:49 -06:00
D-A-Heitbrink
69b8d01de6
Add files via upload
2017-03-01 15:33:19 -06:00
Robert Osfield
1290f1584a
Removed old Text::GlyphQuads array code paths
2017-02-28 17:02:02 +00:00
Robert Osfield
138af70bd8
Merged the Text::GlyphQuads cooordinate arrays
2017-02-28 16:34:33 +00:00
Robert Osfield
0ec204f6e4
Added StateSetManipulator to osglogo.
2017-02-27 10:47:14 +00:00
Robert Osfield
04d23659b3
Added the option for changing the type of the GlyphQuads::Coords
2017-02-22 12:07:43 +00:00
Nico Kruithof
ec2cb81c65
Fixed typo
...
osg_ModeViewMatrix -> osg_ModelViewMatrix
2017-02-21 21:55:05 +01:00
Robert Osfield
378809f3a8
Added osgvolume command line option "--bg r g b a" to enable customization of the window background colour
2017-02-13 16:53:37 +00:00
d-a-heitbrink
98e0b7e41c
missing CMakeLists
2017-01-13 09:57:32 -06:00
d-a-heitbrink
3d2f4ea404
Added support for Bindless texture extension,
...
64 bit uniforms, 64 bit buffers
Added new bindless texture example
2017-01-13 09:56:42 -06:00
Robert Osfield
e6052ef4b4
Added Dragger::applyAppropriateFrontFace(StateSet*) to make it easy to handle inverted matrices by toggling the FrontFace to sure the correct face is visible.
2016-11-11 17:18:13 +00:00
Robert Osfield
b5c071eed9
Moved shader file loading to a help function
2016-10-20 09:59:26 +01:00
Robert Osfield
c32e6c01ed
Fixed shader filename
2016-10-20 09:46:47 +01:00
Robert Osfield
fda7c838a1
Added osgshaderpipeline example that will server as a testbed for automatically mapping fixed function pipeline to shaders
2016-10-19 20:26:26 +01:00
Robert Osfield
987513d309
Added --simple command line option and accompanying code to create a very simple text object for basic testing of osgText
2016-10-11 11:29:29 +01:00
Robert Osfield
cfadbbda2b
Removed no longer relevant comment
2016-10-11 11:29:29 +01:00
Robert Osfield
93b2a24b0e
Added command line parser to osgparticle examples viewer setup to make it easier to position window
2016-10-11 11:29:29 +01:00
Robert Osfield
663024a215
Removed redundent use of Geode to decorate the ParticleSystem
2016-10-11 11:29:29 +01:00
Robert Osfield
9800e1c201
Fixed line endings
2016-10-11 11:29:29 +01:00
Robert Osfield
56ed225f17
Removed Particle::Shape support for QUAD_TRIANGLESTRIP, HEXAGON, USER as these are unlikely to be used as their implementation prevents refactoring to use vertex array code paths
2016-10-11 11:29:29 +01:00
Robert Osfield
35e19b4f30
Added back in the osgimpostor example, cleaning up so that it no longer has any deprecated paths and adds stats and file output for debug purposes
2016-10-11 11:29:29 +01:00
Robert Osfield
7c432fbe11
Refactored osgSim::SphereSegment so that it no longer uses GLBeginEndAdapter
2016-10-11 11:29:29 +01:00
Robert Osfield
a1ab1a0ecc
Added AdjustSphereSegmentCallback to provide '<' and '>' key controls over the azim and elev range of the sphere segment
2016-10-11 11:29:29 +01:00
Robert Osfield
a87a6f0851
Added StatsHandler to check performance
2016-10-11 11:29:29 +01:00
Robert Osfield
3d0f6d5d78
Removed unused header
2016-10-11 11:29:29 +01:00
Robert Osfield
1df27e4edb
Replaced old Shape to Geometry conversion code as new convinience methods in include/osg/Shape provide these features
2016-10-11 11:29:29 +01:00
Robert Osfield
14d1483b06
Experimental support for OpenGL Vertex Array Object
2016-10-11 11:29:29 +01:00
Robert Osfield
96b180ddad
Added a osgCmakeExample to illustrate a minimal CMakeList.txt to show how to build an OSG application using Cmake
2016-10-06 15:07:42 +01:00
Robert Osfield
56a7208891
Removed Qt dependency examples, osgQt NodeKit and qfont plugin as these are now provided by the separate osgQt project
2016-09-26 09:31:22 +01:00
Ravi Mathur
e9d6737ec4
Updates to the CMake build system for Mac OSX
2016-08-10 14:30:28 +01:00
Mathieu MARACHE
c77a7ecae9
Added usage of osgUtil::Optimizer to tessellate input geometry
2016-08-05 07:51:33 +02:00
Robert Osfield
2550c95c32
Added GL_NORMALIZE usage to handle the case of the FlattenStaticTransform visitor not being applied to the scaled subgraphs causing lighting problems
2016-08-02 17:52:45 +01:00
Robert Osfield
f9172a000e
Fixed bug in setting the ratio value
2016-07-18 20:06:26 +01:00
Laurens Voerman
af28adc01d
Added osgshadermultiviewport example to test and demonstrate the new osg::ViewportIndexed class
2016-06-29 11:39:44 +01:00
Robert Osfield
e30b570b1f
Revert "Fixed incorrect cast" as commit contained more changes than intended.
...
This reverts commit 2897ab13cb
.
2016-06-29 11:34:20 +01:00